Skip to content

Commit

Permalink
docs: use same requirements as in setup.cfg
Browse files Browse the repository at this point in the history
Using the same dependencies will hopefully lead to both CI and readthedocs
jobs failing in the same way if there are any dependency issues.
Some extra modules are needed for readthedocs.

Signed-off-by: Erik Larsson <[email protected]>
  • Loading branch information
whooo committed Nov 8, 2023
1 parent 879be41 commit 69c3e8c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 73 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ def __repr__(self):

def builder_finished_handler(app, exception):
if exception is None:
os.environ["SPHINX_OUTDIR"] = app.outdir
os.environ["SPHINX_OUTDIR"] = str(app.outdir)
script = os.path.join(app.confdir, "sphinx-finished.sh")
subprocess.check_call(script, shell=True)

Expand Down
89 changes: 17 additions & 72 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,72 +1,17 @@
alabaster==0.7.12
appdirs==1.4.4
asn1crypto==1.4.0
attrs==21.2.0
Babel==2.9.1
black==19.10b0
bleach==4.1.0
certifi==2023.7.22
cffi==1.15.0
charset-normalizer==2.0.9
click==8.0.3
colorama==0.4.4
coverage==6.2
cryptography==41.0.4
docutils==0.16
execnet==1.9.0
gitdb==4.0.9
GitPython==3.1.37
idna==3.3
imagesize==1.3.0
importlib-metadata==4.8.2
iniconfig==1.1.1
jeepney==0.7.1
Jinja2==3.0.3
keyring==23.4.0
markdown-it-py==2.2.0
MarkupSafe==2.0.1
mdit-py-plugins==0.3.0
mdurl==0.1.0
myst-parser==0.16.0
packaging==21.3
pathspec==0.9.0
pkgconfig==1.5.5
pkginfo==1.8.2
pluggy==1.0.0
py==1.11.0
pycparser==2.21
Pygments==2.15.0
pyparsing==3.0.6
pytest==6.2.5
pytest-cov==3.0.0
pytest-forked==1.4.0
pytest-xdist==2.5.0
pytz==2021.3
PyYAML==6.0
readme-renderer==32.0
regex==2021.11.10
requests==2.31.0
requests-toolbelt==0.9.1
rfc3986==1.5.0
SecretStorage==3.3.1
setuptools-scm==6.3.2
six==1.16.0
smmap==5.0.0
snowballstemmer==2.2.0
Sphinx==4.3.1
sphinxcontrib-applehelp==1.0.2
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.0
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
sphinx-rtd-theme==1.0.0
toml==0.10.2
tomli==2.0.0
tqdm==4.62.3
twine==3.7.1
typed-ast==1.5.5
typing-extensions==4.0.1
urllib3==1.26.18
webencodings==0.5.1
zipp==3.6.0
setuptools_scm[toml]>=3.4.3
cffi>=1.0.0
pkgconfig
cryptography>=3.0
asn1crypto
packaging
pycparser
cffi>=1.0.0
asn1crypto
cryptography>=3.0
packaging
pyyaml
# needed for readthedocs builds:
GitPython
myst_parser
sphinx_rtd_theme

0 comments on commit 69c3e8c

Please sign in to comment.