aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/doc/conf.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/doc/conf.py.in')
-rw-r--r--sources/pyside2/doc/conf.py.in9
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/pyside2/doc/conf.py.in b/sources/pyside2/doc/conf.py.in
index 10c0af5f3..e5fc80fb7 100644
--- a/sources/pyside2/doc/conf.py.in
+++ b/sources/pyside2/doc/conf.py.in
@@ -23,7 +23,10 @@ sys.path.append('@pyside_BINARY_DIR@')
# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx.ext.todo', 'sphinx.ext.graphviz', 'inheritance_diagram', 'pysideinclude']
+#extensions = ['sphinx.ext.todo', 'sphinx.ext.graphviz', 'inheritance_diagram', 'pysideinclude']
+extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest', 'sphinx.ext.ifconfig',
+'sphinx.ext.coverage', 'sphinx.ext.intersphinx', 'sphinx.ext.todo',
+'sphinx.ext.graphviz', 'inheritance_diagram', 'pysideinclude']
rst_epilog = """
.. |project| replace:: Qt for Python
@@ -161,3 +164,7 @@ html_show_sourcelink = False
# Output file base name for HTML help builder.
#htmlhelp_basename = 'PySideDoc'
+
+# Link to the shiboken2 sphinx project to enable linking
+# between the two projects.
+intersphinx_mapping = {'shiboken2': ('@CMAKE_BINARY_DIR@/../shiboken2/doc/html','@CMAKE_BINARY_DIR@/../shiboken2/doc/html/objects.inv')}