Skip to content

Commit

Permalink
add .readthedocs.yml (copied from vivarium)
Browse files Browse the repository at this point in the history
  • Loading branch information
stevebachmeier committed Dec 13, 2024
1 parent ba2eeea commit ad59f93
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .readthedocs.yml
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

0 comments on commit ad59f93

Please sign in to comment.