Chore: Modernise docs build configuration 35/143035/6
authorMatthew Watkins <mwatkins@linuxfoundation.org>
Tue, 27 Jan 2026 15:22:10 +0000 (15:22 +0000)
committerMatthew Watkins <mwatkins@linuxfoundation.org>
Mon, 2 Mar 2026 14:58:09 +0000 (14:58 +0000)
commitb985c4f68bf69f0d1bc206952e1792d154c629e8
tree66b7b066951262bc1a44973fed5fe908008ea199
parentc871938b49bf6558d2f627027093a3a2ccc1bc4b
Chore: Modernise docs build configuration

Remove broken sphinxcontrib-swaggerdoc module, drop conflicting
OpenStack Yoga constraints, update to Python 3.11, and align
requirements-docs.txt with the doc repository standards.

The OpenStack Yoga upper-constraints pinned Sphinx===4.4.0 which
conflicts with the ONAP upper-constraints pinning sphinx===7.1.2,
causing pip resolution failures in CI.

Also work around blockdiag incompatibility with Pillow>=10 by
force-downgrading Pillow in commands_pre. blockdiag uses the
ImageDraw.textsize() method that was removed in Pillow 10.0.
Python 3.11 is used (not 3.12) as Pillow<10 has no pre-built
wheels for Python 3.12.

Issue-ID: CIMAN-33
Change-Id: Ie5cb0a4b5c0fd2f06394443a57b0d242c589175e
Signed-off-by: Matthew Watkins <mwatkins@linuxfoundation.org>
docs/conf.py
docs/release-notes.rst
docs/requirements-docs.txt
docs/tox.ini