Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
804f17be
Commit
804f17be
authored
Jun 05, 2010
by
Gabriel Gellner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made the cython the default syntax highlighter so that the new pages have some perty color.
parent
2b5b3776
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
conf.py
conf.py
+5
-6
No files found.
conf.py
View file @
804f17be
...
@@ -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
# -----------------------
# -----------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment