Skip to content

Commit

Permalink
Revert "Move docs/requirements.* to requirements/docs.*"
Browse files Browse the repository at this point in the history
This reverts commit adf2a99.
  • Loading branch information
atugushev authored and webknjaz committed Aug 21, 2023
1 parent a488035 commit f5ea263
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ build:

python:
install:
- requirements: requirements/docs.txt
- requirements: docs/requirements.txt
- method: pip
path: .
system_packages: false
File renamed without changes.
12 changes: 6 additions & 6 deletions requirements/docs.txt → docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is autogenerated by pip-compile with Python 3.11
# by the following command:
#
# pip-compile --allow-unsafe --strip-extras requirements/docs.in
# pip-compile --allow-unsafe --strip-extras docs/requirements.in
#
alabaster==0.7.13
# via sphinx
Expand All @@ -19,7 +19,7 @@ docutils==0.20.1
# myst-parser
# sphinx
furo==2023.8.17
# via -r requirements/docs.in
# via -r docs/requirements.in
idna==3.4
# via requests
imagesize==1.4.1
Expand All @@ -39,7 +39,7 @@ mdit-py-plugins==0.4.0
mdurl==0.1.2
# via markdown-it-py
myst-parser==2.0.0
# via -r requirements/docs.in
# via -r docs/requirements.in
packaging==23.1
# via
# setuptools-scm
Expand All @@ -53,14 +53,14 @@ pyyaml==6.0.1
requests==2.31.0
# via sphinx
setuptools-scm==7.1.0
# via -r requirements/docs.in
# via -r docs/requirements.in
snowballstemmer==2.2.0
# via sphinx
soupsieve==2.4.1
# via beautifulsoup4
sphinx==7.2.2
# via
# -r requirements/docs.in
# -r docs/requirements.in
# furo
# myst-parser
# sphinx-basic-ng
Expand All @@ -81,7 +81,7 @@ sphinxcontrib-htmlhelp==2.0.4
sphinxcontrib-jsmath==1.0.1
# via sphinx
sphinxcontrib-programoutput==0.17
# via -r requirements/docs.in
# via -r docs/requirements.in
sphinxcontrib-qthelp==1.0.6
# via sphinx
sphinxcontrib-serializinghtml==1.1.8
Expand Down
20 changes: 9 additions & 11 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ envlist =
pip{previous,latest,main}
checkqa
readme
deps
skip_missing_interpreters = True

[testenv]
Expand Down Expand Up @@ -51,20 +50,19 @@ commands =
twine check --strict {envtmpdir}{/}*
skip_install = true

[testenv:deps]
description = compile docs requirements
[testenv:pip-compile-docs]
description = compile requirements for the documentation
commands_pre =
commands =
python -m piptools compile --strip-extras --allow-unsafe --quiet requirements/docs.in {posargs}
commands = python -m piptools compile --strip-extras --allow-unsafe --quiet docs/requirements.in {posargs}

[testenv:build-docs]
description = build the documentation
deps =
-r{toxinidir}/requirements/docs.txt
-r{toxinidir}/docs/requirements.txt
# FIXME: re-enable the "-r" + "-c" paradigm once the pip bug is fixed.
# Ref: https://github.com/pypa/pip/issues/9243
# -r{toxinidir}/requirements/docs.in
# -c{toxinidir}/requirements/docs.txt
# -r{toxinidir}/docs/requirements.in
# -c{toxinidir}/docs/requirements.txt
commands_pre =
commands =
# Retrieve possibly missing commits:
Expand Down Expand Up @@ -135,11 +133,11 @@ allowlist_externals = {[testenv:build-docs]allowlist_externals}
[testenv:linkcheck-docs]
description = check links in the documentation
deps =
-r{toxinidir}/requirements/docs.txt
-r{toxinidir}/docs/requirements.txt
# FIXME: re-enable the "-r" + "-c" paradigm once the pip bug is fixed.
# Ref: https://github.com/pypa/pip/issues/9243
# -r{toxinidir}/requirements/docs.in
# -c{toxinidir}/requirements/docs.txt
# -r{toxinidir}/docs/requirements.in
# -c{toxinidir}/docs/requirements.txt
commands_pre =
commands =
# Retrieve possibly missing commits:
Expand Down

0 comments on commit f5ea263

Please sign in to comment.