diff options
author | Melody Horn <melody@boringcactus.com> | 2020-10-28 22:17:02 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-10-28 22:17:02 -0600 |
commit | e558d912a7e3583d700aa42261ef1fa17e5d0d55 (patch) | |
tree | 158a6572c24f09df957491e98e8c159fcc163ecc /conf.py | |
parent | cd6f0a93c69c622bfa8ca5f888da52e734903455 (diff) | |
download | spec-e558d912a7e3583d700aa42261ef1fa17e5d0d55.tar.gz spec-e558d912a7e3583d700aa42261ef1fa17e5d0d55.zip |
syntax highlight Crowbar code
Diffstat (limited to 'conf.py')
-rw-r--r-- | conf.py | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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 ------------------------------------------------- |