Skip to content

Commit 45b165b

Browse files
Merge pull request eternnoir#2113 from eternnoir/coder2020official-patch-1
Fix documentation deprecation in favour of build.os
2 parents a5f74fd + 41c5bb4 commit 45b165b

File tree

1 file changed

+12
-4
lines changed

1 file changed

+12
-4
lines changed

.readthedocs.yml

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
1-
# .readthedocs.yml
2-
# Read the Docs configuration file
1+
# Read the Docs configuration file for Sphinx projects
32
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
43

54
# Required
65
version: 2
76

8-
# Build documentation in the docs/ directory with Sphinx
7+
# Set the OS, Python version and other tools you might need
8+
build:
9+
os: ubuntu-22.04
10+
tools:
11+
python: "3.11"
12+
13+
# Build documentation in the "docs/" directory with Sphinx
914
sphinx:
1015
configuration: docs/source/conf.py
16+
# You can configure Sphinx to use a different builder, for instance use the dirhtml builder for simpler URLs
17+
# builder: "dirhtml"
18+
# Fail on all warnings to avoid broken references
19+
# fail_on_warning: true
1120

12-
# Optionally build your docs in additional formats such as PDF and ePub
1321
formats: all
1422

1523
# Optionally set the version of Python and requirements required to build your docs

0 commit comments

Comments
 (0)