8000 Add missing .readthedocs.yaml · python-semver/python-semver@ec9348a · GitHub
[go: up one dir, main page]

Skip to content

Commit ec9348a

Browse files
committed
Add missing .readthedocs.yaml
According to [1], the .readthedocs.yaml configuration file is now required. The last builds have failed. [1] https://blog.readthedocs.com/migrate-configuration-v2/
1 parent f65feab commit ec9348a

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.readthedocs.yaml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# .readthedocs.yaml
2+
# Read the Docs configuration file
3+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
4+
5+
# Required
6+
version: 2
7+
8+
# Set the version of Python and other tools you might need
9+
build:
10+
os: ubuntu-22.04
11+
tools:
12+
python: "3.11"
13+
14+
# Build documentation in the docs/ directory with Sphinx
15+
sphinx:
16+
configuration: docs/conf.py
17+
18+
python:
19+
install:
20+
- requirements: docs/requirements.txt

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# requirements file for documentation
22
# sphinx
3+
# required in .readthedocs.yaml
34
sphinx-argparse
45
sphinx-autodoc-typehints

0 commit comments

Comments
 (0)
0