Skip to content

Commit 25af8e5

Browse files
committed
Move docs requirements to docs/
This makes the file easier to locate, by placing it next to the stuff that it will affect.
1 parent 5e86264 commit 25af8e5

File tree

5 files changed

+4
-3
lines changed

5 files changed

+4
-3
lines changed

.readthedocs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ sphinx:
77
python:
88
version: 3.8
99
install:
10-
- requirements: tools/requirements/docs.txt
10+
- requirements: docs/requirements.txt

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ recursive-include src/pip/_vendor *LICENSE*
1010
recursive-include src/pip/_vendor *COPYING*
1111

1212
include docs/docutils.conf
13+
include docs/requirements.txt
1314

1415
exclude .coveragerc
1516
exclude .mailmap
File renamed without changes.

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"protected-pip": "tools/tox_pip.py",
2525
}
2626
REQUIREMENTS = {
27-
"docs": "tools/requirements/docs.txt",
27+
"docs": "docs/requirements.txt",
2828
"tests": "tools/requirements/tests.txt",
2929
"common-wheels": "tools/requirements/tests-common_wheels.txt",
3030
}

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ setenv =
4848

4949
[testenv:docs]
5050
# Don't skip install here since pip_sphinxext uses pip's internals.
51-
deps = -r{toxinidir}/tools/requirements/docs.txt
51+
deps = -r{toxinidir}/docs/requirements.txt
5252
basepython = python3
5353
commands =
5454
sphinx-build -W -j auto -d {envtmpdir}/doctrees/html -b html docs/html docs/build/html

0 commit comments

Comments
 (0)