Преглед изворни кода

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

Ask Solem пре 11 година
родитељ
комит
51e333539f
1 измењених фајлова са 1 додато и 1 уклоњено
  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
 # 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
 # is relative to the documentation root, use os.path.abspath to make it
 # absolute, like shown here.
 # 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'))
 sys.path.append(os.path.join(this, '_ext'))
 import celery
 import celery