Skip to content

Commit 327d04f

Browse files
authored
docs: modernize docs gen (#1355)
Signed-off-by: Jan Kowalleck <[email protected]>
1 parent 2a4b8ca commit 327d04f

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.readthedocs.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,18 @@ version: 2
66

77
# Set the OS, Python version and other tools you might need
88
build:
9-
os: ubuntu-22.04
9+
os: ubuntu-lts-latest
1010
tools:
11-
python: "3.12"
12-
nodejs: "20"
11+
python: "3.14"
12+
nodejs: "24"
1313
# You can also specify other tool versions:
1414
# rust: "1.70"
1515
# golang: "1.20"
1616
jobs:
1717
pre_build:
18-
- npm i --ignore-scripts --loglevel=silly
19-
- npm --prefix tools/docs-gen i --ignore-scripts --loglevel=silly
18+
- npm install -g npm@latest
19+
- npm install --ignore-scripts --loglevel=silly
20+
- npm run -- dev-setup:tools:docs-gen --ignore-scripts --loglevel=silly
2021
- npm run api-doc
2122

2223
# Build documentation in the docs/ directory with Sphinx

docs/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
m2r2>=0.3.2
2-
sphinx>=7.2.6,<8
3-
sphinx-rtd-theme>=2.0.0,<3
2+
sphinx>=8,<9
3+
sphinx-rtd-theme>=3,<4

0 commit comments

Comments
 (0)