Fix RTD build and remove unmaintained extensions 15/143515/2 master
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Thu, 5 Mar 2026 15:21:50 +0000 (15:21 +0000)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Thu, 5 Mar 2026 15:21:50 +0000 (15:21 +0000)
Run download-specs.sh in RTD pre_build job so the
OpenAPI spec file is present for sphinxcontrib-openapi.
Remove abandoned blockdiag/seqdiag/swaggerdoc extensions
and their dependencies (Pillow, six). Mermaid was already
added in the preceding change. Update build to
ubuntu-24.04 and Python 3.13.

Issue-ID: CIMAN-33
Co-Authored-By: Claude <noreply@anthropic.com>
Change-Id: I63aec35d9cd4530bda7213317218ea1af5cbce29
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
.readthedocs.yaml
docs/conf.py
docs/requirements-docs.txt

index 192952d..49f3eab 100644 (file)
@@ -1,14 +1,17 @@
 ---
-# .readthedocs.yml
+# .readthedocs.yaml
 # Read the Docs configuration file
 # See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
 # Required
 version: 2
 
 build:
-  os: ubuntu-20.04
+  os: ubuntu-24.04
   tools:
-    python: "3.8"
+    python: "3.13"
+  jobs:
+    pre_build:
+      - bash docs/specs/download-specs.sh
 
 python:
   install:
index adb7544..c014f92 100644 (file)
@@ -19,10 +19,7 @@ html_show_sphinx = False
 extensions = [
     'sphinx.ext.intersphinx',
     'sphinx.ext.graphviz',
-    'sphinxcontrib.blockdiag',
     'sphinxcontrib.mermaid',
-    'sphinxcontrib.seqdiag',
-    'sphinxcontrib.swaggerdoc',  # TODO: Remove in separate change (unmaintained)
     'sphinxcontrib.plantuml',
     'sphinxcontrib.openapi'
 ]
index 6bc6060..2f1916c 100644 (file)
@@ -1,11 +1,6 @@
 sphinx>=4.2.0  # BSD
 sphinx-rtd-theme>=1.0.0  # MIT
-Pillow # Diagram extensions (not compatible with Pillow>=10)
-sphinxcontrib-blockdiag  # BSD
 sphinxcontrib-mermaid>=1.0.0
-sphinxcontrib-seqdiag # BSD
 sphinxcontrib-openapi
-sphinxcontrib-swaggerdoc  # TODO: Remove in separate change (unmaintained)
 sphinxcontrib-spelling
 sphinxcontrib-plantuml
-six