From 5845bcc10565baaa8397243c48d771bc45a5ab91 Mon Sep 17 00:00:00 2001 From: Chris McDonough Date: Mon, 29 Nov 2010 19:47:47 -0500 Subject: use bw pygments if book=1 --- docs/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/conf.py b/docs/conf.py index ab0234cb5..a4b1ffbba 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -109,6 +109,8 @@ add_module_names = False # The name of the Pygments (syntax highlighting) style to use. #pygments_style = book and 'bw' or 'tango' +if book: + pygments_style = 'bw' # The default language to highlight source code in. #highlight_language = 'guess' -- cgit v1.2.3