diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f887bd37e..0967aec96 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,17 +6,18 @@ version: 2 # Set the OS, Python version and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-lts-latest tools: - python: "3.12" - nodejs: "20" + python: "3.14" + nodejs: "24" # You can also specify other tool versions: # rust: "1.70" # golang: "1.20" jobs: pre_build: - - npm i --ignore-scripts --loglevel=silly - - npm --prefix tools/docs-gen i --ignore-scripts --loglevel=silly + - npm install -g npm@latest + - npm install --ignore-scripts --loglevel=silly + - npm run -- dev-setup:tools:docs-gen --ignore-scripts --loglevel=silly - npm run api-doc # Build documentation in the docs/ directory with Sphinx diff --git a/docs/requirements.txt b/docs/requirements.txt index c68ecf0e5..fd7335eab 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,3 +1,3 @@ m2r2>=0.3.2 -sphinx>=7.2.6,<8 -sphinx-rtd-theme>=2.0.0,<3 +sphinx>=8,<9 +sphinx-rtd-theme>=3,<4