We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f7ba8 commit 1f18a56Copy full SHA for 1f18a56
.readthedocs.yaml
@@ -4,15 +4,11 @@ build:
4
os: ubuntu-22.04
5
tools:
6
python: "3.12"
7
- jobs:
8
- pre_build:
9
- - |
10
- python -m pip install hatch
11
- hatch shell docs
12
- if [ "$READTHEDOCS_VERSION_TYPE" != "tag" ];
13
- then
14
- towncrier build --version Unreleased --yes;
15
- fi
16
-
17
-mkdocs:
18
- configuration: mkdocs.yml
+ commands:
+ - |
+ python -m pip install hatch
+ if [ "$READTHEDOCS_VERSION_TYPE" != "tag" ]; then
+ hatch env run --env docs -- towncrier build --version Unreleased --yes
+ fi
+ hatch env run --env docs build
+ hatch env run --env docs readthedocs
0 commit comments