Commit 02aef1b
committed
fix: Output Sphinx docs to RTD-required directory
Read the Docs requires HTML output to be written to
$READTHEDOCS_OUTPUT/html/ when using custom build commands.
Changes:
- Add mkdir -p $READTHEDOCS_OUTPUT/html/ before build
- Change sphinx-build output from docs/_build/html to $READTHEDOCS_OUTPUT/html
This fixes the "No HTML content found" error on RTD builds.
Ref: https://docs.readthedocs.com/platform/stable/build-customization.html#where-to-put-files1 parent 416206d commit 02aef1b
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
0 commit comments