[Checkins]
SVN: Sandbox/ulif/grok-reference-with-rest3/doc/build/grokdocs.py
Fix paths for reference and tutoroal builds.
Uli Fouquet
uli at gnufix.de
Mon Feb 25 20:33:28 EST 2008
Log message for revision 84251:
Fix paths for reference and tutoroal builds.
Changed:
U Sandbox/ulif/grok-reference-with-rest3/doc/build/grokdocs.py
-=-
Modified: Sandbox/ulif/grok-reference-with-rest3/doc/build/grokdocs.py
===================================================================
--- Sandbox/ulif/grok-reference-with-rest3/doc/build/grokdocs.py 2008-02-26 00:51:54 UTC (rev 84250)
+++ Sandbox/ulif/grok-reference-with-rest3/doc/build/grokdocs.py 2008-02-26 01:32:42 UTC (rev 84251)
@@ -23,12 +23,19 @@
import sphinx
from sphinx.util.console import nocolor
+HERE = os.path.dirname(__file__)
+
SRCDIR_ALL = os.path.dirname(os.path.dirname(__file__))
SRCDIR_REF = os.path.join(SRCDIR_ALL, 'reference')
-HTMLDIR_ALL = os.path.join(os.path.dirname(__file__), 'html')
-HTMLDIR_REF = os.path.join(os.path.dirname(__file__), 'html-reference')
+HTMLDIR_ALL = os.path.join(HERE, 'html')
+HTMLDIR_REF = os.path.join(HERE, 'html', 'reference')
+LATEX_ALL = os.path.join(HERE, 'latex')
+LATEX_REF = os.path.join(HERE, 'latex', 'reference')
+LATEX_TUT = os.path.join(HERE, 'latex', 'tutorial')
+
+
def simple_directive(
name, arguments, options, content, lineno,
content_offset, block_text, state, state_machine):
More information about the Checkins
mailing list