From e7167b906d5d1f48c009f72eea437b56992e5468 Mon Sep 17 00:00:00 2001 From: Andy Meneely Date: Sun, 7 Feb 2016 21:19:49 -0500 Subject: [PATCH] docs: inline syntax highlighting --- docs/conf.py | 4 ++++ docs/requirements.txt | 1 + 2 files changed, 5 insertions(+) create mode 100644 docs/requirements.txt diff --git a/docs/conf.py b/docs/conf.py index 4bdfdda..1691ed8 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -284,3 +284,7 @@ texinfo_documents = [ # If true, do not generate a @detailmenu in the "Top" node's menu. #texinfo_no_detailmenu = False + +# sphinx-contrib configurations +inline_highlight_respect_highlight = True +inline_highlight_literals = True diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..efd165b --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1 @@ +sphinxcontrib-inlinesyntaxhighlight==0.2