Kaynağa Gözat

Docs should add .. to path so that the current version of celery is always used. Closes #1782

Ask Solem 11 yıl önce
ebeveyn
işleme
51e333539f
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      docs/conf.py

+ 1 - 1
docs/conf.py

@@ -8,7 +8,7 @@ this = os.path.dirname(os.path.abspath(__file__))
 # If your extensions are in another directory, add it here. If the directory
 # is relative to the documentation root, use os.path.abspath to make it
 # absolute, like shown here.
-sys.path.append(os.path.join(os.pardir, 'tests'))
+sys.path.insert(0, os.path.join(this, os.pardir))
 sys.path.append(os.path.join(this, '_ext'))
 import celery