Skip to content

Commit 989d8e8

Browse files
authored
Merge pull request #2181 from strictdoc-project/stanislaw/docs
Read the Docs: use the nightly version of strictdoc to generate HTML
2 parents a8bdca7 + c0af25e commit 989d8e8

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.readthedocs.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,13 @@ build:
1919
tools:
2020
python: "3.10"
2121
commands:
22-
- pip install --upgrade strictdoc
22+
# Use the latest nightly build of StrictDoc. Otherwise, the build will fail
23+
# if the documentation already uses new features.
24+
- pip install -U --pre git+https://github.com/strictdoc-project/strictdoc.git@main
25+
26+
# Export documentation to HTML.
2327
- strictdoc export . --output $READTHEDOCS_OUTPUT/
28+
2429
# This is what Read the Docs does by default to generate Sphinx.
2530
# Some modifications were made because the paths were not resolved for some reason.
2631
- python -m virtualenv $READTHEDOCS_VIRTUALENV_PATH

0 commit comments

Comments
 (0)