Skip to content

Commit

Permalink
docs: add RTD file (#43)
Browse files Browse the repository at this point in the history
* docs: add RTD file

Copied from dpgen.

See https://blog.readthedocs.com/migrate-configuration-v2/

* fix paths
  • Loading branch information
njzjz authored Sep 27, 2023
1 parent cb5d01a commit 1da6770
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# .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.10"

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

# If using Sphinx, optionally build your docs in additional formats such as PDF
formats: all

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt

0 comments on commit 1da6770

Please sign in to comment.