Docs: Update RTD rules to match workflow(s) 26/143426/1
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Mon, 2 Mar 2026 12:17:50 +0000 (12:17 +0000)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Mon, 2 Mar 2026 12:21:15 +0000 (12:21 +0000)
Workflow: .github/workflows/doc-rules-compose.yaml

The doc-rules workflow currently expects:
```yaml
RTD_BUILD_UBUNTU: 'ubuntu-24.04'
RTD_PYTHON_VERSION: '3.13'
```

But the `onap/doc` repository's own `.readthedocs.yaml` still specifies:
```yaml
build:
  os: ubuntu-20.04
  tools:
    python: "3.8"

This means the doc repo itself fails its own doc-rules validation (warnings
about missing `ubuntu-24.04` and `python: "3.13"`). These are currently treated
as warnings not errors (the code comments say "Versions no longer enforced"),
but they indicate the doc repo's RTD config is not aligned with the recommended
settings.

Issue-ID: CIMAN-33
Change-Id: I311b0124df7c7cb813f2b90c414eed4c9e60b0a8
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
.readthedocs.yaml

index f56b3b7..a57182b 100644 (file)
@@ -6,9 +6,9 @@
 
 version: 2
 build:
-  os: ubuntu-20.04
+  os: ubuntu-24.04
   tools:
-    python: "3.8"
+    python: "3.13"
 
 python:
   install: