ci: Bump vulkan CTS version to 1.2.3.2, and keep the GL CTS around.
[mesa.git] / docs / conf.py
index fe14ba731f02fb9bcff6d095b0bee949e8f2bd1d..0037037e4aeb5b72d052420c954933bbea97a721 100644 (file)
@@ -20,9 +20,13 @@ import sphinx_rtd_theme
 # 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 ------------------------------------------------
@@ -34,7 +38,7 @@ import sphinx_rtd_theme
 # 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']
@@ -178,3 +182,7 @@ texinfo_documents = [
      author, 'TheMesa3DGraphicsLibrary', 'One line description of project.',
      'Miscellaneous'),
 ]
+
+# -- Options for Graphviz -------------------------------------------------
+
+graphviz_output_format = 'svg'