Show More
@@ -4,7 +4,7 b'' | |||
|
4 | 4 | The IPython API |
|
5 | 5 | ################### |
|
6 | 6 | |
|
7 |
.. |
|
|
7 | .. only:: html | |
|
8 | 8 | |
|
9 | 9 | :Release: |version| |
|
10 | 10 | :Date: |today| |
@@ -17,12 +17,10 b'' | |||
|
17 | 17 | |
|
18 | 18 | import sys, os |
|
19 | 19 | |
|
20 | # http://read-the-docs.readthedocs.io/en/latest/faq.html | |
|
20 | 21 | ON_RTD = os.environ.get('READTHEDOCS', None) == 'True' |
|
21 | 22 | |
|
22 | 23 | if ON_RTD: |
|
23 | # Mock the presence of matplotlib, which we don't have on RTD | |
|
24 | # see | |
|
25 | # http://read-the-docs.readthedocs.io/en/latest/faq.html | |
|
26 | 24 | tags.add('rtd') |
|
27 | 25 | |
|
28 | 26 | # RTD doesn't use the Makefile, so re-run autogen_{things}.py here. |
@@ -54,9 +52,6 b" exec(compile(open('../../IPython/core/release.py').read(), '../../IPython/core/r" | |||
|
54 | 52 | # Add any Sphinx extension module names here, as strings. They can be extensions |
|
55 | 53 | # coming with Sphinx (named 'sphinx.ext.*') or your custom ones. |
|
56 | 54 | extensions = [ |
|
57 | 'matplotlib.sphinxext.mathmpl', | |
|
58 | 'matplotlib.sphinxext.only_directives', | |
|
59 | 'matplotlib.sphinxext.plot_directive', | |
|
60 | 55 | 'sphinx.ext.autodoc', |
|
61 | 56 | 'sphinx.ext.autosummary', |
|
62 | 57 | 'sphinx.ext.doctest', |
@@ -71,9 +66,6 b' extensions = [' | |||
|
71 | 66 | |
|
72 | 67 | if ON_RTD: |
|
73 | 68 | # Remove extensions not currently supported on RTD |
|
74 | extensions.remove('matplotlib.sphinxext.only_directives') | |
|
75 | extensions.remove('matplotlib.sphinxext.mathmpl') | |
|
76 | extensions.remove('matplotlib.sphinxext.plot_directive') | |
|
77 | 69 | extensions.remove('IPython.sphinxext.ipython_directive') |
|
78 | 70 | extensions.remove('IPython.sphinxext.ipython_console_highlighting') |
|
79 | 71 |
@@ -4,7 +4,7 b'' | |||
|
4 | 4 | IPython Documentation |
|
5 | 5 | ===================== |
|
6 | 6 | |
|
7 |
.. |
|
|
7 | .. only:: html | |
|
8 | 8 | |
|
9 | 9 | :Release: |release| |
|
10 | 10 | :Date: |today| |
@@ -104,7 +104,7 b' repository <http://github.com/ipython/ipython>`_.' | |||
|
104 | 104 | Formerly ``IPython.parallel``. |
|
105 | 105 | |
|
106 | 106 | |
|
107 |
.. |
|
|
107 | .. only:: html | |
|
108 | 108 | * :ref:`genindex` |
|
109 | 109 | * :ref:`modindex` |
|
110 | 110 | * :ref:`search` |
General Comments 0
You need to be logged in to leave comments.
Login now