##// END OF EJS Templates
move ipython sphinx extensions into IPython.sphinxext
MinRK -
Show More
1 NO CONTENT: file renamed from docs/sphinxext/ipython_console_highlighting.py to IPython/sphinxext/ipython_console_highlighting.py
NO CONTENT: file renamed from docs/sphinxext/ipython_console_highlighting.py to IPython/sphinxext/ipython_console_highlighting.py
1 NO CONTENT: file renamed from docs/sphinxext/ipython_directive.py to IPython/sphinxext/ipython_directive.py
NO CONTENT: file renamed from docs/sphinxext/ipython_directive.py to IPython/sphinxext/ipython_directive.py
@@ -30,9 +30,9 b' if ON_RTD:'
30 # absolute, like shown here.
30 # absolute, like shown here.
31 sys.path.insert(0, os.path.abspath('../sphinxext'))
31 sys.path.insert(0, os.path.abspath('../sphinxext'))
32
32
33 # Import support for ipython console session syntax highlighting (lives
33 # Import support for ipython console session syntax highlighting
34 # in the sphinxext directory defined above)
34 # (lives IPython's sphinxext subpackage)
35 import ipython_console_highlighting
35 from IPython.sphinxext import ipython_console_highlighting
36
36
37 # We load the ipython release info into a dict by explicit execution
37 # We load the ipython release info into a dict by explicit execution
38 iprelease = {}
38 iprelease = {}
@@ -50,8 +50,8 b' extensions = ['
50 'sphinx.ext.autodoc',
50 'sphinx.ext.autodoc',
51 'sphinx.ext.doctest',
51 'sphinx.ext.doctest',
52 'sphinx.ext.inheritance_diagram',
52 'sphinx.ext.inheritance_diagram',
53 'ipython_console_highlighting',
53 'IPython.sphinxext.ipython_console_highlighting',
54 'ipython_directive',
54 'IPython.sphinxext.ipython_directive',
55 'numpydoc', # to preprocess docstrings
55 'numpydoc', # to preprocess docstrings
56 'github', # for easy GitHub links
56 'github', # for easy GitHub links
57 ]
57 ]
@@ -61,7 +61,7 b' if ON_RTD:'
61 extensions.remove('matplotlib.sphinxext.only_directives')
61 extensions.remove('matplotlib.sphinxext.only_directives')
62 extensions.remove('matplotlib.sphinxext.mathmpl')
62 extensions.remove('matplotlib.sphinxext.mathmpl')
63 extensions.remove('matplotlib.sphinxext.plot_directive')
63 extensions.remove('matplotlib.sphinxext.plot_directive')
64 extensions.remove('ipython_directive')
64 extensions.remove('IPython.sphinxext.ipython_directive')
65
65
66 # Add any paths that contain templates here, relative to this directory.
66 # Add any paths that contain templates here, relative to this directory.
67 templates_path = ['_templates']
67 templates_path = ['_templates']
General Comments 0
You need to be logged in to leave comments. Login now