8000 Merge pull request #13060 from dstansby/doc-reqs-dir · matplotlib/matplotlib@ad2c77c · GitHub
[go: up one dir, main page]

Skip to content

Commit ad2c77c

Browse files
authored
Merge pull request #13060 from dstansby/doc-reqs-dir
Move doc-requirements from root folder
2 parents ed97211 + 28de73f commit ad2c77c

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ deps-run: &deps-install
6666
name: Install Python dependencies
6767
command: |
6868
python -mpip install --user numpy${NUMPY_VERSION} codecov coverage
69-
python -mpip install --user -r doc-requirements.txt
69+
python -mpip install --user -r requirements/doc/doc-requirements.txt
7070
7171
mpl-run: &mpl-install
7272
name: Install Matplotlib

doc/devel/documenting_mpl.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ using the Sphinx_ documentation generation tool. There are several extra
4949
requirements that are needed to build the documentation. They are listed in
5050
:file:`doc-requirements.txt`, which is shown below:
5151

52-
.. include:: ../../doc-requirements.txt
52+
.. include:: ../../requirements/doc/doc-requirements.txt
5353
:literal:
5454

5555
.. note::

doc/devel/release_guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ To build the documentation you must have the tagged version installed, but
209209
build the docs from the ``ver-doc`` branch. An easy way to arrange this is::
210210

211211
pip install matplotlib
212-
pip install -r doc-requirements.txt
212+
pip install -r requirements/doc/doc-requirements.txt
213213
git checkout v2.0.0-doc
214214
git clean -xfd
215215
cd doc

doc-requirements.txt renamed to requirements/doc/doc-requirements.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# Requirements for building docs
2-
# You will first need a matching matplotlib installation
3-
# e.g (from the matplotlib root directory)
2+
#
3+
# You will first need a matching Matplotlib installation
4+
# e.g (from the Matplotlib root directory)
45
# pip install -e .
56
#
67
# Install the documentation requirements with:
7-
# pip install -r doc-requirements.txt
8+
# pip install -r requirements/doc/doc-requirements.txt
89
#
910
sphinx>=1.3,!=1.5.0,!=1.6.4,!=1.7.3,!=1.8.0
1011
colorspacious

0 commit comments

Comments
 (0)
0