Skip to content

Commit

Permalink
Update yml
Browse files Browse the repository at this point in the history
  • Loading branch information
andyzhangstat committed May 21, 2024
1 parent 7e704fa commit 9b288a9
Show file tree
Hide file tree
Showing 3 changed files with 917 additions and 7 deletions.
33 changes: 27 additions & 6 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,35 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Image to use
# Set the OS, Python version and other tools you might need
build:
image: testing
os: ubuntu-22.04
tools:
python: "3.9"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
# Tell poetry to not use a virtual environment
- poetry config virtualenvs.create false
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
- poetry install

# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py

# Configuration
# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
version: 3.9
install:
- requirements: docs/requirements.txt
- method: pip
path: .

Loading

0 comments on commit 9b288a9

Please sign in to comment.