Skip to content

Commit

Permalink
move ipython sphinx extensions into IPython.sphinxext
Browse files Browse the repository at this point in the history
  • Loading branch information
minrk committed Jul 6, 2013
1 parent b60405b commit 76fe30c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
File renamed without changes.
12 changes: 6 additions & 6 deletions docs/source/conf.py
Expand Up @@ -30,9 +30,9 @@
# absolute, like shown here.
sys.path.insert(0, os.path.abspath('../sphinxext'))

# Import support for ipython console session syntax highlighting (lives
# in the sphinxext directory defined above)
import ipython_console_highlighting
# Import support for ipython console session syntax highlighting
# (lives IPython's sphinxext subpackage)
from IPython.sphinxext import ipython_console_highlighting

# We load the ipython release info into a dict by explicit execution
iprelease = {}
Expand All @@ -50,8 +50,8 @@
'sphinx.ext.autodoc',
'sphinx.ext.doctest',
'sphinx.ext.inheritance_diagram',
'ipython_console_highlighting',
'ipython_directive',
'IPython.sphinxext.ipython_console_highlighting',
'IPython.sphinxext.ipython_directive',
'numpydoc', # to preprocess docstrings
'github', # for easy GitHub links
]
Expand All @@ -61,7 +61,7 @@
extensions.remove('matplotlib.sphinxext.only_directives')
extensions.remove('matplotlib.sphinxext.mathmpl')
extensions.remove('matplotlib.sphinxext.plot_directive')
extensions.remove('ipython_directive')
extensions.remove('IPython.sphinxext.ipython_directive')

# Add any paths that contain templates here, relative to this directory.
templates_path = ['_templates']
Expand Down

0 comments on commit 76fe30c

Please sign in to comment.