Show More
@@ -30,10 +30,6 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 |
|
|||
34 | # (lives IPython's sphinxext subpackage) |
|
|||
35 | from IPython.sphinxext import ipython_console_highlighting |
|
|||
36 |
|
||||
37 | # We load the ipython release info into a dict by explicit execution |
|
33 | # We load the ipython release info into a dict by explicit execution | |
38 | iprelease = {} |
|
34 | iprelease = {} | |
39 | execfile('../../IPython/core/release.py',iprelease) |
|
35 | execfile('../../IPython/core/release.py',iprelease) | |
@@ -62,6 +58,7 b' if ON_RTD:' | |||||
62 | extensions.remove('matplotlib.sphinxext.mathmpl') |
|
58 | extensions.remove('matplotlib.sphinxext.mathmpl') | |
63 | extensions.remove('matplotlib.sphinxext.plot_directive') |
|
59 | extensions.remove('matplotlib.sphinxext.plot_directive') | |
64 | extensions.remove('IPython.sphinxext.ipython_directive') |
|
60 | extensions.remove('IPython.sphinxext.ipython_directive') | |
|
61 | extensions.remove('IPython.sphinxext.ipython_console_highlighting') | |||
65 |
|
62 | |||
66 | # Add any paths that contain templates here, relative to this directory. |
|
63 | # Add any paths that contain templates here, relative to this directory. | |
67 | templates_path = ['_templates'] |
|
64 | templates_path = ['_templates'] |
General Comments 0
You need to be logged in to leave comments.
Login now