From f5f46c9f3e3a117d4cca8610857390264d4d5b44 Mon Sep 17 00:00:00 2001 From: guido Date: Tue, 13 Feb 2007 15:26:46 +0100 Subject: [PATCH] [svn r38700] Fixed paths, docs are now no longer placed in a sub dir. --HG-- branch : trunk --- py/bin/_docgen.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/py/bin/_docgen.py b/py/bin/_docgen.py index c32df3136..df8bbf4a7 100755 --- a/py/bin/_docgen.py +++ b/py/bin/_docgen.py @@ -21,16 +21,15 @@ def run_tests(path, envvars='', args=''): def build_apigen_docs(targetpath, testargs=''): run_tests(pypath, - 'APIGEN_TARGET="%s/apigen" APIGEN_DOCRELPATH="../doc/"' % ( + 'APIGEN_TARGET="%s/apigen" APIGEN_DOCRELPATH="../"' % ( targetpath,), testargs + ' --apigen="%s/apigen/apigen.py"' % (pypath,)) def build_docs(targetpath, testargs): docpath = pypath.join('doc') run_tests(docpath, '', - testargs + ' --forcegen --apigenrelpath="../apigen/"') - topath = targetpath.ensure('doc', dir=True) - docpath.copy(topath) + testargs + ' --forcegen --apigenrelpath="apigen/"') + docpath.copy(targetpath) def build_nav(targetpath, docs=True, api=True): pass