use requirements.txt for readthedocs build.

This commit is contained in:
danfunk 2023-05-18 11:26:47 -04:00
parent d0e5d0a87a
commit ec19387b65
2 changed files with 38 additions and 9 deletions

View File

@ -14,15 +14,6 @@ build:
# nodejs: "19"
# rust: "1.64"
# golang: "1.19"
jobs:
pre_create_environment:
- asdf plugin add poetry
- asdf install poetry latest
- asdf global poetry latest
- poetry config virtualenvs.create false
post_install:
- cd docs
- poetry install
# Build documentation in the docs/ directory with Sphinx
sphinx:
@ -31,3 +22,8 @@ sphinx:
# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt

33
docs/requirements.txt Normal file
View File

@ -0,0 +1,33 @@
alabaster==0.7.13
astroid==2.15.5
Babel==2.12.1
certifi==2023.5.7
charset-normalizer==3.1.0
docutils==0.18.1
idna==3.4
imagesize==1.4.1
Jinja2==3.1.2
lazy-object-proxy==1.9.0
markdown-it-py==2.2.0
MarkupSafe==2.1.2
mdit-py-plugins==0.3.5
mdurl==0.1.2
myst-parser==1.0.0
packaging==23.1
Pygments==2.15.1
PyYAML==6.0
requests==2.30.0
snowballstemmer==2.2.0
Sphinx==6.2.1
sphinx-autoapi==2.1.0
sphinx-rtd-theme==1.2.0
sphinxcontrib-applehelp==1.0.4
sphinxcontrib-devhelp==1.0.2
sphinxcontrib-htmlhelp==2.0.1
sphinxcontrib-jquery==4.1
sphinxcontrib-jsmath==1.0.1
sphinxcontrib-qthelp==1.0.3
sphinxcontrib-serializinghtml==1.1.5
Unidecode==1.3.6
urllib3==2.0.2
wrapt==1.15.0