1111# All configuration values have a default; values that are commented out
1212# serve to show the default.
1313
14- import sys, os
14+ import os
15+ import sys
1516
1617# If extensions (or modules to document with autodoc) are in another directory,
1718# add these directories to sys.path here. If the directory is relative to the
1819# documentation root, use os.path.abspath to make it absolute, like shown here.
19- sys.path = [os.path.abspath('@CMAKE_INSTALL_PREFIX@/@PYTHON_SITELIB@')]+ sys.path
20- sys.path = [os.path.abspath('@CMAKE_BINARY_DIR@/src')]+ sys.path
21- sys.path = [os.path.abspath('@CMAKE_SOURCE_DIR@/src')]+ sys.path
20+ sys.path = [os.path.abspath('@CMAKE_INSTALL_PREFIX@/@PYTHON_SITELIB@')] + sys.path
21+ sys.path = [os.path.abspath('@CMAKE_BINARY_DIR@/src')] + sys.path
22+ sys.path = [os.path.abspath('@CMAKE_SOURCE_DIR@/src')] + sys.path
2223
2324# -- General configuration -----------------------------------------------------
2425
2526# Add any Sphinx extension module names here, as strings. They can be extensions
2627# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
27- extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo', 'sphinx.ext.pngmath' ]
28+ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.intersphinx', 'sphinx.ext.todo']
2829
2930# Add any paths that contain templates here, relative to this directory.
3031templates_path = ['_templates']
@@ -88,7 +89,6 @@ pygments_style = 'sphinx'
8889# A list of ignored prefixes for module index sorting.
8990#modindex_common_prefix = []
9091
91-
9292# -- Options for HTML output ---------------------------------------------------
9393
9494# The theme to use for HTML and HTML Help pages. Major themes that come with
@@ -162,7 +162,6 @@ html_static_path = ['_static']
162162# Output file base name for HTML help builder.
163163htmlhelp_basename = '@PROJECT_NAME@doc'
164164
165-
166165# -- Options for LaTeX output --------------------------------------------------
167166
168167# The paper size ('letter' or 'a4').
@@ -174,8 +173,7 @@ htmlhelp_basename = '@PROJECT_NAME@doc'
174173# Grouping the document tree into LaTeX files. List of tuples
175174# (source start file, target name, title, author, documentclass [howto/manual]).
176175latex_documents = [
177- ('index', '@
[email protected] ', u'@PROJECT_NAME@ Documentation',
178- u'Florent Lamiraux', 'manual'),
176+ ('index', '@
[email protected] ', u'@PROJECT_NAME@ Documentation', u'Florent Lamiraux', 'manual'),
179177]
180178
181179# The name of an image file (relative to this directory) to place at the top of
@@ -195,6 +193,5 @@ latex_documents = [
195193# If false, no module index is generated.
196194#latex_use_modindex = True
197195
198-
199196# Example configuration for intersphinx: refer to the Python standard library.
200197intersphinx_mapping = {'http://docs.python.org/': None}
0 commit comments