Commit 804f17be authored by Gabriel Gellner's avatar Gabriel Gellner

Made the cython the default syntax highlighter so that the new pages have some perty color.

parent 2b5b3776
...@@ -20,16 +20,16 @@ sys.path.append('sphinxext') ...@@ -20,16 +20,16 @@ sys.path.append('sphinxext')
# in the sphinxext directory defined above) # in the sphinxext directory defined above)
import ipython_console_highlighting import ipython_console_highlighting
# support cython highlighting
import cython_highlighting
# General configuration # 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 # Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones. # 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. # Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates'] templates_path = ['_templates']
...@@ -75,7 +75,6 @@ today_fmt = '%B %d, %Y' ...@@ -75,7 +75,6 @@ today_fmt = '%B %d, %Y'
# The name of the Pygments (syntax highlighting) style to use. # The name of the Pygments (syntax highlighting) style to use.
pygments_style = 'sphinx' pygments_style = 'sphinx'
# Options for HTML output # Options for HTML output
# ----------------------- # -----------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment