config: Upgrade Sphinx and dependencies
ReadtheDocs now require at least version 5.0 of Sphinx. We've been using
4.5.0 and therefore we needed to upgrade to a more recent version.
Sphinx:
- Upgrade Sphinx to v7.2.6.
- Upgrade all packages and modules needed to the most recent versions as
of today.
- Replace 'sphinx_panels' (deprecated) with 'sphinx_design'.
- Sort the packages and modules alphabetically in the requirements.txt
file.
Errors:
- When doing the upgrade we got multiple errors from the SPMC pages, it
looks like the way to refer to an icon has been changed from 'opticon'
to 'octicon'. To avoid the error when upgrading, fix this in the same
commit.
Signed-off-by: Joakim Bech <joakim.bech@linaro.org>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>
diff --git a/conf.py b/conf.py
index b511d04..7724194 100644
--- a/conf.py
+++ b/conf.py
@@ -42,7 +42,7 @@
'sphinx.ext.todo',
'sphinx.ext.viewcode',
'sphinx.ext.graphviz',
- 'sphinx_panels',
+ 'sphinx_design',
'sphinxcontrib.plantuml',
'sphinx_tabs.tabs',
]