-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add .readthedocs.yml (copied from vivarium)
- Loading branch information
1 parent
ba2eeea
commit ad59f93
Showing
1 changed file
with
21 additions
and
0 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,21 @@ | ||
# This is the version for the readthedocs configuration. Version 2 ignores | ||
# web-based configuration and uses everything from this file. | ||
version: 2 | ||
|
||
# Configure the python version and environment construction run before | ||
# docs are built. | ||
build: | ||
os: ubuntu-22.04 | ||
tools: | ||
python: "3.11" | ||
python: | ||
install: | ||
# This runs pip install .[docs] from the project root. | ||
- method: pip | ||
path: . | ||
extra_requirements: | ||
- docs | ||
|
||
# Doc builds will fail if there are any warnings | ||
sphinx: | ||
fail_on_warning: true |