# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
#
-# import os
-# import sys
-# sys.path.insert(0, os.path.abspath('.'))
+import os
+import sys
+
+# If extensions (or modules to document with autodoc) are in another directory,
+# add these directories to sys.path here. If the directory is relative to the
+# documentation root, use os.path.abspath to make it absolute, like shown here.
+sys.path.append(os.path.abspath('_exts'))
# -- General configuration ------------------------------------------------
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
-extensions = []
+extensions = ['sphinx.ext.graphviz', 'formatting', 'redirects']
# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False
+# Disable highlighting unless a language is specified, otherwise we'll get
+# python keywords highlit in literal blocks.
+highlight_language = "none"
+
# -- Options for HTML output ----------------------------------------------
#
html_theme = 'sphinx_rtd_theme'
+html_favicon = "favicon.ico"
+
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# documentation.
#
-# html_theme_options = {}
+html_theme_options = {
+ 'display_version': False,
+}
+
+html_copy_source = False
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = []
+html_extra_path = [
+ '_extra/',
+ 'release-maintainers-keys.asc',
+ 'features.txt',
+ 'libGL.txt',
+ 'README.UVD',
+ 'README.VCE',
+ 'README.WIN32',
+]
+
# -- Options for HTMLHelp output ------------------------------------------
author, 'TheMesa3DGraphicsLibrary', 'One line description of project.',
'Miscellaneous'),
]
+
+# -- Options for Graphviz -------------------------------------------------
+
+graphviz_output_format = 'svg'