Skip to content

Commit 81f7ba8

Browse files
committed
Start a shell with hatch
1 parent 97c6b17 commit 81f7ba8

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

.readthedocs.yaml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,11 @@ build:
88
pre_build:
99
- |
1010
python -m pip install hatch
11-
if [ "$READTHEDOCS_VERSION_TYPE" != "tag" ]; then
12-
hatch env run --env docs -- towncrier build --version Unreleased --yes
11+
hatch shell docs
12+
if [ "$READTHEDOCS_VERSION_TYPE" != "tag" ];
13+
then
14+
towncrier build --version Unreleased --yes;
1315
fi
14-
build:
15-
- hatch env run --env docs build
16-
post_build:
17-
- hatch env run --env docs readthedocs
1816
1917
mkdocs:
2018
configuration: mkdocs.yml

0 commit comments

Comments
 (0)