aboutsummaryrefslogtreecommitdiff
path: root/conf.py
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2020-10-28 22:17:02 -0600
committerMelody Horn <melody@boringcactus.com>2020-10-28 22:17:02 -0600
commite558d912a7e3583d700aa42261ef1fa17e5d0d55 (patch)
tree158a6572c24f09df957491e98e8c159fcc163ecc /conf.py
parentcd6f0a93c69c622bfa8ca5f888da52e734903455 (diff)
downloadspec-e558d912a7e3583d700aa42261ef1fa17e5d0d55.tar.gz
spec-e558d912a7e3583d700aa42261ef1fa17e5d0d55.zip
syntax highlight Crowbar code
Diffstat (limited to 'conf.py')
-rw-r--r--conf.py9
1 files changed, 6 insertions, 3 deletions
diff --git a/conf.py b/conf.py
index aef57e6..58f2f66 100644
--- a/conf.py
+++ b/conf.py
@@ -10,9 +10,9 @@
# 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
+sys.path.insert(0, os.path.abspath('_ext'))
# -- Project information -----------------------------------------------------
@@ -29,6 +29,7 @@ author = 'boringcactus (Melody Horn)'
# ones.
extensions = [
'recommonmark',
+ 'crowbar_lexer',
]
# Add any paths that contain templates here, relative to this directory.
@@ -39,6 +40,8 @@ templates_path = ['_templates']
# This pattern also affects html_static_path and html_extra_path.
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
+highlight_language = 'crowbar'
+
# -- Options for HTML output -------------------------------------------------