Skip to content

Commit

Permalink
Use readthedocs v2 config file
Browse files Browse the repository at this point in the history
Monday, September 25, 2023: Fully remove support for building
documentation without configuration file v2.

Read the Docs will start requiring a .readthedocs.yaml configuration
file for all projects in order to build documentation successfully.
We will stop supporting builds without explicit configuration,
because this creates implicit dependencies that users aren’t aware of.

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

Signed-off-by: Teoman ONAY <[email protected]>
(cherry picked from commit c35a2a2)
  • Loading branch information
asm0deuz authored and mergify[bot] committed Nov 21, 2023
1 parent 6bd00c7 commit 6a3edae
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +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: doc/source/conf.py

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: ./requirements.txt

0 comments on commit 6a3edae

Please sign in to comment.