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