Skip to content
Snippets Groups Projects
Unverified Commit 9b5f6c73 authored by ulif's avatar ulif
Browse files

Use `pyproject.toml` for dependencies of docs.

As tools to generate docs are now defined in `pyproject.toml`, we use
them to generate a list of pinned dependencies (as recommended by
rtfm.org).

This way we still have to update the dependency list
`docs/requirements.txt` manually from time to time, but now we only use
a single source of base dependencies - the `docs`-extra dependency of
the package.
parent 8af5b208
No related branches found
No related tags found
No related merge requests found
...@@ -372,7 +372,7 @@ Documentation Install ...@@ -372,7 +372,7 @@ Documentation Install
The docs can be generated with Sphinx_. The needed packages are The docs can be generated with Sphinx_. The needed packages are
installed via:: installed via::
(py311) $ pip install -r docs/requirements.txt (py311) $ pip install '.[docs]'
To create the docs as HTML in a directory of your choice, then run:: To create the docs as HTML in a directory of your choice, then run::
......
sphinx
sphinx_rtd_theme
...@@ -2,17 +2,17 @@ ...@@ -2,17 +2,17 @@
# This file is autogenerated by pip-compile with Python 3.11 # This file is autogenerated by pip-compile with Python 3.11
# by the following command: # by the following command:
# #
# pip-compile --strip-extras docs/requirements.in # pip-compile --extra=docs --strip-extras
# #
alabaster==0.7.13 alabaster==0.7.16
# via sphinx # via sphinx
babel==2.12.1 babel==2.15.0
# via sphinx # via sphinx
certifi==2024.7.4 certifi==2024.7.4
# via requests # via requests
charset-normalizer==3.2.0 charset-normalizer==3.3.2
# via requests # via requests
docutils==0.18.1 docutils==0.20.1
# via # via
# sphinx # sphinx
# sphinx-rtd-theme # sphinx-rtd-theme
...@@ -22,41 +22,36 @@ imagesize==1.4.1 ...@@ -22,41 +22,36 @@ imagesize==1.4.1
# via sphinx # via sphinx
jinja2==3.1.4 jinja2==3.1.4
# via sphinx # via sphinx
markupsafe==2.1.3 markupsafe==2.1.5
# via jinja2 # via jinja2
packaging==23.1 packaging==24.1
# via sphinx # via sphinx
pygments==2.16.1 pygments==2.18.0
# via sphinx # via sphinx
requests==2.32.2 requests==2.32.3
# via sphinx # via sphinx
snowballstemmer==2.2.0 snowballstemmer==2.2.0
# via sphinx # via sphinx
sphinx==6.2.1 sphinx==7.4.7
# via # via
# -r requirements.in # diceware (pyproject.toml)
# sphinx-rtd-theme # sphinx-rtd-theme
# sphinxcontrib-applehelp
# sphinxcontrib-devhelp
# sphinxcontrib-htmlhelp
# sphinxcontrib-jquery # sphinxcontrib-jquery
# sphinxcontrib-qthelp sphinx-rtd-theme==2.0.0
# sphinxcontrib-serializinghtml # via diceware (pyproject.toml)
sphinx-rtd-theme==1.2.2 sphinxcontrib-applehelp==1.0.8
# via -r requirements.in
sphinxcontrib-applehelp==1.0.7
# via sphinx # via sphinx
sphinxcontrib-devhelp==1.0.5 sphinxcontrib-devhelp==1.0.6
# via sphinx # via sphinx
sphinxcontrib-htmlhelp==2.0.4 sphinxcontrib-htmlhelp==2.0.6
# via sphinx # via sphinx
sphinxcontrib-jquery==4.1 sphinxcontrib-jquery==4.1
# via sphinx-rtd-theme # via sphinx-rtd-theme
sphinxcontrib-jsmath==1.0.1 sphinxcontrib-jsmath==1.0.1
# via sphinx # via sphinx
sphinxcontrib-qthelp==1.0.6 sphinxcontrib-qthelp==1.0.8
# via sphinx # via sphinx
sphinxcontrib-serializinghtml==1.1.8 sphinxcontrib-serializinghtml==1.1.10
# via sphinx # via sphinx
urllib3==2.2.2 urllib3==2.2.2
# via requests # via requests
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment