Skip to content

Commit d65a200

Browse files
committed
Don't use hatch
1 parent 1f18a56 commit d65a200

1 file changed

Lines changed: 17 additions & 8 deletions

File tree

.readthedocs.yaml

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,20 @@ build:
44
os: ubuntu-22.04
55
tools:
66
python: "3.12"
7-
commands:
8-
- |
9-
python -m pip install hatch
10-
if [ "$READTHEDOCS_VERSION_TYPE" != "tag" ]; then
11-
hatch env run --env docs -- towncrier build --version Unreleased --yes
12-
fi
13-
hatch env run --env docs build
14-
hatch env run --env docs readthedocs
7+
jobs:
8+
pre_build:
9+
- |
10+
if [ "$READTHEDOCS_VERSION_TYPE" != "tag" ];
11+
then
12+
towncrier build --version Unreleased --yes;
13+
fi
14+
15+
mkdocs:
16+
configuration: mkdocs.yml
17+
18+
python:
19+
install:
20+
- method: pip
21+
path: .
22+
extra_requirements:
23+
- docs

0 commit comments

Comments
 (0)