From: Gabriel Gellner Date: Sat, 5 Jun 2010 15:41:30 +0000 (-0400) Subject: Made the cython the default syntax highlighter so that the new pages have some perty... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=804f17be344ac5d24f8a09f11f70f04b6ff40944;p=cython.git Made the cython the default syntax highlighter so that the new pages have some perty color. --- 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 # -----------------------