##// END OF EJS Templates
Remove RTD handling of matplotlib for docs build
Thomas Kluyver -
Show More
@@ -17,12 +17,10 b''
17
17
18 import sys, os
18 import sys, os
19
19
20 # http://read-the-docs.readthedocs.io/en/latest/faq.html
20 ON_RTD = os.environ.get('READTHEDOCS', None) == 'True'
21 ON_RTD = os.environ.get('READTHEDOCS', None) == 'True'
21
22
22 if ON_RTD:
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 tags.add('rtd')
24 tags.add('rtd')
27
25
28 # RTD doesn't use the Makefile, so re-run autogen_{things}.py here.
26 # RTD doesn't use the Makefile, so re-run autogen_{things}.py here.
@@ -68,9 +66,6 b' extensions = ['
68
66
69 if ON_RTD:
67 if ON_RTD:
70 # Remove extensions not currently supported on RTD
68 # Remove extensions not currently supported on RTD
71 extensions.remove('matplotlib.sphinxext.only_directives')
72 extensions.remove('matplotlib.sphinxext.mathmpl')
73 extensions.remove('matplotlib.sphinxext.plot_directive')
74 extensions.remove('IPython.sphinxext.ipython_directive')
69 extensions.remove('IPython.sphinxext.ipython_directive')
75 extensions.remove('IPython.sphinxext.ipython_console_highlighting')
70 extensions.remove('IPython.sphinxext.ipython_console_highlighting')
76
71
General Comments 0
You need to be logged in to leave comments. Login now