# 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.insert(0, os.path.abspath('.'))
+sys.path.insert(0, os.path.abspath('tools'))
+
+from transcript import TranscriptLexer
+
+# Setup function.
+def setup(app):
+ app.add_lexer('transcript', TranscriptLexer())
# -- General configuration ------------------------------------------------
# built documents.
#
# The short X.Y version.
-version = '4.0'
+version = '3'
# The full version, including alpha/beta/rc tags.
-release = '4.0'
+release = version
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#show_authors = False
# The name of the Pygments (syntax highlighting) style to use.
-pygments_style = 'sphinx'
+pygments_style = 'default'
# The default Pygments highlight language.
highlight_language = 'none'