Skip to content

Commit b984d09

Browse files
committed
chore(docs): pin sphinx deps to SHA256 hashes
Replace unpinned docs/requirements.txt with a requirements.in source spec and a pip-compile-generated requirements_lock.txt with SHA256 hashes for all packages. Switch sphinx-external-toc from a git URL to its PyPI release so hashes can be verified. Update .readthedocs.yaml to use the lock file and bump Python from 3.7 (EOL) to 3.10. Signed-off-by: Jack Luar <jluar@precisioninno.com>
1 parent 7b05472 commit b984d09

3 files changed

Lines changed: 676 additions & 3 deletions

File tree

‎.readthedocs.yaml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ version: 2
88
build:
99
os: ubuntu-22.04
1010
tools:
11-
python: "3.7"
11+
python: "3.10"
1212

1313
# Build documentation in the "docs/" directory with Sphinx
1414
sphinx:
@@ -19,4 +19,4 @@ sphinx:
1919
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
2020
python:
2121
install:
22-
- requirements: docs/requirements.txt
22+
- requirements: docs/requirements_lock.txt
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
git+https://github.com/executablebooks/sphinx-external-toc.git@v0.3.1
1+
sphinx-external-toc==0.3.1
22
sphinx
33
sphinx-autobuild
44
myst-parser

0 commit comments

Comments
 (0)