From 804f17be344ac5d24f8a09f11f70f04b6ff40944 Mon Sep 17 00:00:00 2001 From: Gabriel Gellner Date: Sat, 5 Jun 2010 11:41:30 -0400 Subject: [PATCH] Made the cython the default syntax highlighter so that the new pages have some perty color. --- conf.py | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/conf.py b/conf.py index 06a79ba0..e750ef37 100644 --- a/conf.py +++ b/conf.py @@ -20,16 +20,16 @@ sys.path.append('sphinxext') # in the sphinxext directory defined above) import ipython_console_highlighting -# support cython highlighting -import cython_highlighting - - # General configuration # --------------------- +# Use cython as the default syntax highlighting language, as python is a subset +# this does the right thing +highlight_language = 'cython' + # Add any Sphinx extension module names here, as strings. They can be extensions # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. -extensions = ['ipython_console_highlighting', 'cython_highlighting', 'sphinx.ext.pngmath', 'sphinx.ext.todo'] +extensions = ['ipython_console_highlighting', 'sphinx.ext.pngmath', 'sphinx.ext.todo'] # Add any paths that contain templates here, relative to this directory. templates_path = ['_templates'] @@ -75,7 +75,6 @@ today_fmt = '%B %d, %Y' # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' - # Options for HTML output # ----------------------- -- 2.26.2