Skip to content

Commit 7c418a0

Browse files
gmarullcfriedt
authored andcommitted
doc: requirements: update Sphinx and rtd theme
rtd_theme 1.2.x is required when using Sphinx >= 6.0, otherwise certain features like search are broken. Note that jQuery support needs to be enabled manually now using `sphinxcontrib.jquery` extension. Also update Sphinx to latest 6.x release, 6.2 as it contains some fixes. Signed-off-by: Gerard Marull-Paretas <[email protected]>
1 parent 390b119 commit 7c418a0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

doc/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"sphinx.ext.extlinks",
7373
"sphinx.ext.autodoc",
7474
"sphinx.ext.graphviz",
75+
"sphinxcontrib.jquery",
7576
"zephyr.application",
7677
"zephyr.html_redirects",
7778
"zephyr.kconfig",

doc/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# DOC: used to generate docs
22

33
docleaf==0.8.1
4-
sphinx~=6.0
5-
sphinx_rtd_theme~=1.0
4+
sphinx~=6.2
5+
sphinx_rtd_theme~=1.2
66
sphinx-tabs
77
sphinxcontrib-svg2pdfconverter
88
pygments>=2.9

0 commit comments

Comments
 (0)