-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Frost Ming <[email protected]>
- Loading branch information
Showing
4 changed files
with
369 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Read the Docs configuration file for Sphinx projects | ||
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details | ||
|
||
# Required | ||
version: 2 | ||
|
||
# Set the OS, Python version and other tools you might need | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
commands: | ||
- pip install -U pdm | ||
- pdm install -Gdoc --no-editable | ||
- pdm run doc $READTHEDOCS_OUTPUT/html | ||
|
||
# Build documentation in the "docs/" directory with Sphinx | ||
sphinx: | ||
This comment has been minimized.
Sorry, something went wrong. |
||
configuration: docs/conf.py |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
2 comments
on commit 49dea44
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc @humitos another nice example of build.commands
(also interesting that people still refer to Read the Docs as rtfd 😄)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(also interesting that people still refer to Read the Docs as rtfd 😄)
Oh, isn't it the case now? rtfd.io is still an official short domain of it.
Note that
sphinx
key is ignored when usingbuild.commands
. So, you can remove it completely 👍🏼 . Ideally, Read the Docs will show a notification on the build details' page about these ignored keys.