Skip to content

Commit df1ca89

Browse files
authored
docs: Remove deprecated attributes from RtD config (#383)
The build.os attribute is now required and configs without it will fail to build starting on October 16. See https://blog.readthedocs.com/use-build-os-config/ Also migrate Python version from python.version to build.tools.python as the former is also deprecated. Also add nodejs config to install jsdoc, needed by sphinx-js.
1 parent cea6154 commit df1ca89

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.readthedocs.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,21 @@
55
# Required
66
version: 2
77

8+
build:
9+
os: "ubuntu-22.04"
10+
tools:
11+
python: "3.7"
12+
nodejs: "20"
13+
jobs:
14+
post_install:
15+
# Install jsdoc prior to build, needed by sphinx-js
16+
- npm install -g jsdoc
17+
818
# Build documentation in the docs/ directory with Sphinx
919
sphinx:
1020
configuration: docs/conf.py
1121

1222
# Optionally set the version of Python and requirements required to build your docs
1323
python:
14-
version: 3.7
1524
install:
1625
- requirements: docs/requirements.txt

0 commit comments

Comments
 (0)