Skip to content

Commit

Permalink
Add RTD config file
Browse files Browse the repository at this point in the history
  • Loading branch information
greyli committed Nov 27, 2023
1 parent 44877c4 commit f03be93
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .readthedocs.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,22 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"

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

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs_requirements.txt
- method: pip
path: .
sphinx:
builder: dirhtml
fail_on_warning: true
- requirements: requirements/docs.txt

0 comments on commit f03be93

Please sign in to comment.