i965g: Fix assertions that were always true.
[mesa.git] / src / gallium / docs / source / conf.py
index 7ff4896a91a6a4df2777c80d18544f3a37dad163..59c19ed98ddebdce55932204598bb1c15253536d 100644 (file)
@@ -16,13 +16,13 @@ import sys, os
 # 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('.'))
+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.pngmath', 'tgsi']
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ['_templates']
@@ -83,6 +83,9 @@ exclude_trees = []
 # The name of the Pygments (syntax highlighting) style to use.
 pygments_style = 'sphinx'
 
+# The language for highlighting source code.
+highlight_language = 'c'
+
 # A list of ignored prefixes for module index sorting.
 #modindex_common_prefix = []