aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2020-07-29 11:16:38 +0200
committerMarc André Tanner <mat@brain-dump.org>2020-08-01 14:59:40 +0200
commit827e1179641aa7ff49a09b8f908e34fb748c6b7b (patch)
tree7198b0e8ea5b0be8f8a441e4eb1b04a40bc38314
parente7b4380d785ef641583171caabf4eef9cdff07c2 (diff)
downloadvis-827e1179641aa7ff49a09b8f908e34fb748c6b7b.tar.gz
vis-827e1179641aa7ff49a09b8f908e34fb748c6b7b.tar.xz
doc: enable C syntax highlighting by default
-rw-r--r--doc/conf.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py
index 7efd8b6..f9853f5 100644
--- a/doc/conf.py
+++ b/doc/conf.py
@@ -86,6 +86,9 @@ exclude_patterns = []
# The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx'
+primary_domain = 'c'
+highlight_language = 'c'
+
# If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = False