From 827e1179641aa7ff49a09b8f908e34fb748c6b7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 29 Jul 2020 11:16:38 +0200 Subject: doc: enable C syntax highlighting by default --- doc/conf.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/conf.py') 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 -- cgit v1.2.3