Merge pull request #998 from hydrosquall/cameron.yick/fix-docs-build

build: Add new configuration for ReadTheDocs Documentation Build
This commit is contained in:
Cameron Yick
2024-05-26 01:24:20 -04:00
committed by GitHub
2 changed files with 29 additions and 0 deletions

27
.readthedocs.yaml Normal file
View File

@@ -0,0 +1,27 @@
# Read the Docs configuration file for Sphinx projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the OS, Python version and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.12"
# Build documentation in the "docs/" directory with Sphinx
sphinx:
configuration: docs/conf.py
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
# builder: "dirhtml"
# Fail on all warnings to avoid broken references
# fail_on_warning: true
# Optional but recommended, declare the Python requirements required
# to build your documentation
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt

View File

@@ -4,6 +4,8 @@ History
0.16.0 (2024-XX - Unreleased)
--------------------------------
* Dev: New config for readthedocs
0.15.6 (2024-05-25)
--------------------------------