
David Abrahams <dave@boost-consulting.com> writes:
Anthony Williams <anthony_w.geo@yahoo.com> writes:
David Abrahams <dave@boost-consulting.com> writes:
Anthony Williams <anthony_w.geo@yahoo.com> writes:
Where's the source code for these web pages, and how do I run docutils on it? Is it nicely in CVS with a bjam script?
Yes. libs/parameter/doc. Use
bjam --v2 html
With a clean checkout from cvs, this reports that rst.css is missing.
Can you post the exact error message with some context please?
See below for the full bjam output.
Copying it from the html subdir
To where?
The libs/parameter/doc directory from which I was running bjam. Anthony warning: Python location is not configured warning: the Boost.Python library won't be built Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (and if you don't know what ICU is then you probably don't need it). warning: no toolsets are configured. warning: you won't be able to build C++ programs. warning: please consult the documentation. ...found 18 targets... ...updating 4 targets... docutils.html ..\..\..\bin.v2\libs\parameter\doc\debug\index.html Traceback (most recent call last): File "c:/usr/docutils/tools/rst2html.py", line 25, in ? publish_cmdline(writer_name='html', description=description) File "c:\usr\docutils\docutils\core.py", line 347, in publish_cmdline config_section=config_section, enable_exit_status=enable_exit_status) File "c:\usr\docutils\docutils\core.py", line 224, in publish output = self.writer.write(self.document, self.destination) File "c:\usr\docutils\docutils\writers\__init__.py", line 72, in write self.translate() File "c:\usr\docutils\docutils\writers\html4css1.py", line 128, in translate self.visitor = visitor = self.translator_class(self.document) File "c:\usr\docutils\docutils\writers\html4css1.py", line 229, in __init__ stylesheet_text = open(stylesheet).read() IOError: [Errno 2] No such file or directory: 'rst.css' set PYTHONPATH=c:/usr/docutils;c:/usr/docutils/extras;%PYTHONPATH% python c:/usr/docutils/tools/rst2html.py -gdt --traceback --trim-footnote-reference-space --footnote-references=superscript --stylesheet=rst.css index.rst ..\..\..\bin.v2\libs\parameter\doc\debug\index.html ...failed docutils.html ..\..\..\bin.v2\libs\parameter\doc\debug\index.html... ...removing ..\..\..\bin.v2\libs\parameter\doc\debug\index.html ...skipped <phtml>index.html for lack of <p..\..\..\bin.v2\libs\parameter\doc\debug>index.html... docutils.html ..\..\..\bin.v2\libs\parameter\doc\debug\reference.html Traceback (most recent call last): File "c:/usr/docutils/tools/rst2html.py", line 25, in ? publish_cmdline(writer_name='html', description=description) File "c:\usr\docutils\docutils\core.py", line 347, in publish_cmdline config_section=config_section, enable_exit_status=enable_exit_status) File "c:\usr\docutils\docutils\core.py", line 224, in publish output = self.writer.write(self.document, self.destination) File "c:\usr\docutils\docutils\writers\__init__.py", line 72, in write self.translate() File "c:\usr\docutils\docutils\writers\html4css1.py", line 128, in translate self.visitor = visitor = self.translator_class(self.document) File "c:\usr\docutils\docutils\writers\html4css1.py", line 229, in __init__ stylesheet_text = open(stylesheet).read() IOError: [Errno 2] No such file or directory: 'rst.css' set PYTHONPATH=c:/usr/docutils;c:/usr/docutils/extras;%PYTHONPATH% python c:/usr/docutils/tools/rst2html.py -gdt --traceback --trim-footnote-reference-space --footnote-references=superscript --stylesheet=rst.css reference.rst ..\..\..\bin.v2\libs\parameter\doc\debug\reference.html ...failed docutils.html ..\..\..\bin.v2\libs\parameter\doc\debug\reference.html... ...removing ..\..\..\bin.v2\libs\parameter\doc\debug\reference.html ...skipped <phtml>reference.html for lack of <p..\..\..\bin.v2\libs\parameter\doc\debug>reference.html... ...failed updating 2 targets... ...skipped 2 targets...