At this commit driver skeleton is able to dump spirv and nir
[mesa.git] / docs / conf.py
index 2c7f9c385e4398433b19d041e973d89bc70ea621..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']
@@ -114,12 +118,12 @@ html_static_path = []
 
 html_extra_path = [
   '_extra/',
+  'release-maintainers-keys.asc',
   'features.txt',
   'libGL.txt',
   'README.UVD',
   'README.VCE',
   'README.WIN32',
-  'VERSIONS'
 ]
 
 
@@ -178,3 +182,7 @@ texinfo_documents = [
      author, 'TheMesa3DGraphicsLibrary', 'One line description of project.',
      'Miscellaneous'),
 ]
+
+# -- Options for Graphviz -------------------------------------------------
+
+graphviz_output_format = 'svg'