* Define __file__ during conf.py execution.

* Make staticpath relative to conf.py dir.
This commit is contained in:
Georg Brandl
2008-03-16 20:52:34 +00:00
parent 2f37a14939
commit ae7273b9ae
3 changed files with 6 additions and 5 deletions

View File

@@ -11,10 +11,10 @@
# All configuration values have a default value; values that are commented out
# serve to show the default value.
import sys
import sys, os
# If your extensions are in another directory, add it here.
sys.path.append('.')
sys.path.append(os.path.dirname(__file__))
# General configuration
# ---------------------