File tree Expand file tree Collapse file tree 3 files changed +9
-12
lines changed
Filter options
Expand file tree Collapse file tree 3 files changed +9
-12
lines changed
Original file line number Diff line number Diff line change 1
1
# Requirements for building docs
2
- # You will first need a matching matplotlib installed
2
+ # You will first need a matching matplotlib installation
3
3
# e.g (from the matplotlib root directory)
4
4
# pip install -e .
5
5
#
@@ -13,3 +13,4 @@ ipywidgets
13
13
numpydoc>=0.8
14
14
pillow>=3.4
15
15
sphinx-gallery>=0.2
16
+ sphinx-copybutton
Original file line number Diff line number Diff line change 25
25
# General configuration
26
26
# ---------------------
27
27
28
- # Add any Sphinx extension module names here, as strings. They can be extensions
29
- # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
28
+ # Add any Sphinx extension module names here, as strings. They can be
29
+ # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
30
30
extensions = [
31
31
'sphinx.ext.autodoc' ,
32
32
'sphinx.ext.autosummary' ,
45
45
'sphinxext.math_symbol_table' ,
46
46
'sphinxext.mock_gui_toolkits' ,
47
47
'sphinxext.skip_deprecated' ,
48
+ 'sphinx_copybutton' ,
48
49
]
49
50
50
51
exclude_patterns = ['api/api_changes/*' , 'users/whats_new/*' ]
Original file line number Diff line number Diff line change @@ -47,15 +47,10 @@ Installing dependencies
47
47
The documentation for Matplotlib is generated from reStructuredText (ReST _)
48
48
using the Sphinx _ documentation generation tool. There are several extra
49
49
requirements that are needed to build the documentation. They are listed in
50
- :file: `doc-requirements.txt ` and listed below:
51
-
52
- * Sphinx>=1.3, !=1.5.0, !=1.6.4, !=1.7.3
53
- * colorspacious
54
- * IPython
55
- * numpydoc>=0.8
56
- * Pillow>=3.4
57
- * sphinx-gallery>=0.2
58
- * graphviz
50
+ :file: `doc-requirements.txt `, which is shown below:
51
+
52
+ .. include :: ../../doc-requirements.txt
53
+ :literal:
59
54
60
55
.. note ::
61
56
You can’t perform that action at this time.
0 commit comments