Make build.py callable from anywhere

This commit is contained in:
Cédric Krier
2008-06-19 08:49:20 +02:00
parent 29ff2a47d4
commit 7405dcf2f3
+1 -1
View File
@@ -5,7 +5,7 @@ from os import path
from sphinx.util.console import nocolor
from sphinx.application import Sphinx
srcdir = confdir = path.abspath('.')
srcdir = confdir = path.abspath(path.normpath(path.dirname(__file__)))
outdir = os.path.join(srcdir, 'html')
static_dir = os.path.join(srcdir, 'static')
doctreedir = path.join(outdir, '.doctrees')