[pygccxml-commit] SF.net SVN: pygccxml:[1632] sphinx
Brought to you by:
mbaas,
roman_yakovenko
From: <rom...@us...> - 2009-01-28 18:25:50
|
Revision: 1632 http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1632&view=rev Author: roman_yakovenko Date: 2009-01-28 18:25:43 +0000 (Wed, 28 Jan 2009) Log Message: ----------- sphinx Modified Paths: -------------- index.rest sphinx/conf.py Modified: index.rest =================================================================== --- index.rest 2009-01-28 14:42:41 UTC (rev 1631) +++ index.rest 2009-01-28 18:25:43 UTC (rev 1632) @@ -4,6 +4,11 @@ .. contents:: Table of contents +.. toctree:: + :maxdepth: 2 + + pydsc/pydsc + ---------------- pygccxml package ---------------- @@ -68,7 +73,14 @@ .. _`Boost.Python`: http://www.boost.org/libs/python/doc/index.html +Indices and tables +================== +* :ref:`genindex` +* :ref:`modindex` +* :ref:`search` + + .. _`pyboost` : ./pyplusplus/examples/boost/boost.html .. _`boost.graph` : http://www.boost.org/libs/graph/doc/table_of_contents.html .. _`boost.date_time` : http://boost.org/doc/html/date_time.html Modified: sphinx/conf.py =================================================================== --- sphinx/conf.py 2009-01-28 14:42:41 UTC (rev 1631) +++ sphinx/conf.py 2009-01-28 18:25:43 UTC (rev 1632) @@ -23,15 +23,18 @@ project_root = os.path.abspath('..') doc_project_root = os.path.abspath('.') - -for entry in ( 'pydsc', 'pygccxml', 'pyplusplus' ): - target = os.path.join( doc_project_root, entry ) - source = os.path.join( project_root, entry + '_dev', 'docs' ) +packages = ( 'pydsc', 'pygccxml', 'pyplusplus' ) +for pkg in packages: + target = os.path.join( doc_project_root, pkg ) + sys.path.append( os.path.join( project_root, pkg + '_dev' ) ) + source = os.path.join( project_root, pkg + '_dev', 'docs' ) if os.path.exists( target ): shutil.rmtree( target ) shutil.copytree( source, target, ignore=shutil.ignore_patterns( r'.svn', '*.pyc', 'apidocs', 'www_configuration.py' ) ) shutil.copy( os.path.join( project_root, 'index.rest' ), doc_project_root ) +os.environ['PYDSC'] = 'sphinx' + # General configuration # --------------------- This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |