From 43311d3d05a9eeb8529dd32f68f5c95527aee2cb Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Fri, 5 Dec 2025 10:03:15 +0100 Subject: [PATCH 1/7] docs: modernize docs gen Signed-off-by: Jan Kowalleck --- .readthedocs.yaml | 8 ++++---- docs/requirements.txt | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index f887bd37e..473074955 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,17 +6,17 @@ version: 2 # Set the OS, Python version and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 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 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 From 0624de191663fd65fb781e61ee8e4fac729e7daa Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Fri, 5 Dec 2025 10:14:25 +0100 Subject: [PATCH 2/7] npm Signed-off-by: Jan Kowalleck --- .readthedocs.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 473074955..a9bc61949 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -15,6 +15,7 @@ build: # golang: "1.20" jobs: pre_build: + - npm install -g npm@latest - npm i --ignore-scripts --loglevel=silly - npm run -- dev-setup:tools:docs-gen --ignore-scripts --loglevel=silly - npm run api-doc From f8c131fb1962e1a4511f0d553ce4011512dda428 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Fri, 5 Dec 2025 10:19:56 +0100 Subject: [PATCH 3/7] npm Signed-off-by: Jan Kowalleck --- .readthedocs.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index a9bc61949..e29650254 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -15,7 +15,6 @@ build: # golang: "1.20" jobs: pre_build: - - npm install -g npm@latest - npm i --ignore-scripts --loglevel=silly - npm run -- dev-setup:tools:docs-gen --ignore-scripts --loglevel=silly - npm run api-doc @@ -32,3 +31,7 @@ formats: python: install: - requirements: docs/requirements.txt + +nodejs: + install: + - npm install -g npm@latest From 7a9807000b35d8f783b2165bcad0507360bf4954 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Fri, 5 Dec 2025 10:20:42 +0100 Subject: [PATCH 4/7] npm Signed-off-by: Jan Kowalleck --- .readthedocs.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index e29650254..2976999a6 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -14,6 +14,8 @@ build: # rust: "1.70" # golang: "1.20" jobs: + install: + - npm install -g npm@latest pre_build: - npm i --ignore-scripts --loglevel=silly - npm run -- dev-setup:tools:docs-gen --ignore-scripts --loglevel=silly @@ -31,7 +33,3 @@ formats: python: install: - requirements: docs/requirements.txt - -nodejs: - install: - - npm install -g npm@latest From ca62d7e186535ea4b063d55e87d7b955dd616ae0 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Fri, 5 Dec 2025 10:23:24 +0100 Subject: [PATCH 5/7] npm Signed-off-by: Jan Kowalleck --- .readthedocs.yaml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 2976999a6..d7e061403 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -14,9 +14,8 @@ build: # rust: "1.70" # golang: "1.20" jobs: - install: - - npm install -g npm@latest pre_build: + - npm install -g npm@latest - npm i --ignore-scripts --loglevel=silly - npm run -- dev-setup:tools:docs-gen --ignore-scripts --loglevel=silly - npm run api-doc @@ -32,4 +31,4 @@ formats: # Optionally declare the Python requirements required to build your docs python: install: - - requirements: docs/requirements.txt + - requirements: From 76bae8e3e6a6896b116a4d50cd799ada841f1c14 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Fri, 5 Dec 2025 10:24:13 +0100 Subject: [PATCH 6/7] npm Signed-off-by: Jan Kowalleck --- .readthedocs.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index d7e061403..9e1e57c4a 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -16,7 +16,7 @@ build: jobs: pre_build: - npm install -g npm@latest - - npm i --ignore-scripts --loglevel=silly + - npm install --ignore-scripts --loglevel=silly - npm run -- dev-setup:tools:docs-gen --ignore-scripts --loglevel=silly - npm run api-doc @@ -31,4 +31,4 @@ formats: # Optionally declare the Python requirements required to build your docs python: install: - - requirements: + - requirements: docs/requirements.txt From e454def24dafdba757c7acb8f9a6809f424997d9 Mon Sep 17 00:00:00 2001 From: Jan Kowalleck Date: Fri, 5 Dec 2025 10:37:02 +0100 Subject: [PATCH 7/7] docs Signed-off-by: Jan Kowalleck --- .readthedocs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 9e1e57c4a..0967aec96 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -6,7 +6,7 @@ version: 2 # Set the OS, Python version and other tools you might need build: - os: ubuntu-24.04 + os: ubuntu-lts-latest tools: python: "3.14" nodejs: "24"