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 6afbbbc commit 98dd430Copy full SHA for 98dd430
1 file changed
.readthedocs.yaml
@@ -8,14 +8,10 @@ build:
8
tools:
9
python: '3.12'
10
11
-# Build documentation with Mkdocs
12
-mkdocs:
13
- configuration: mkdocs.yml
14
-
15
-# Source requirements from docs env
16
-python:
17
- install:
18
- - method: pip
19
- path: .
20
- extra_requirements:
21
- - docs
+ # custom commands to run mkdocs build within hatch, as suggested by maintainer in
+ # https://github.com/readthedocs/readthedocs.org/issues/10706
+ commands:
+ - pip install hatch
+ - hatch run docs:build
+ - mkdir --parents $READTHEDOCS_OUTPUT
+ - mv site $READTHEDOCS_OUTPUT/html
0 commit comments