Skip to content

Commit 4d562de

Browse files
authored
updates to the RTD configuration (#102)
* remove `importlib-metadata` from the docs build deps * hook into RTD's build system * fix the path to `conf.py` [skip-ci]
1 parent c67d5f8 commit 4d562de

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.readthedocs.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ build:
66
os: ubuntu-22.04
77
tools:
88
python: "3.10"
9+
jobs:
10+
post_checkout:
11+
- (git --no-pager log --pretty="tformat:%s" -1 | grep -vqF "[skip-rtd]") || exit 183
12+
pre_install:
13+
- git update-index --assume-unchanged docs/conf.py
914

1015
python:
1116
install:

docs/requirements.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
importlib-metadata; python_version < "3.8"
21
packaging
32
sphinx>=3.1
43
sphinx_rtd_theme

0 commit comments

Comments
 (0)