diff options
Diffstat (limited to 'doc/sphinx')
-rw-r--r-- | doc/sphinx/kerneldoc.py | 2 | ||||
-rw-r--r-- | doc/sphinx/kfigure.py | 2 | ||||
-rw-r--r-- | doc/sphinx/requirements.txt | 43 |
3 files changed, 23 insertions, 24 deletions
diff --git a/doc/sphinx/kerneldoc.py b/doc/sphinx/kerneldoc.py index 8189c33b9d..01a55429c5 100644 --- a/doc/sphinx/kerneldoc.py +++ b/doc/sphinx/kerneldoc.py @@ -138,7 +138,7 @@ class KernelDocDirective(Directive): lineoffset = int(match.group(1)) - 1 # we must eat our comments since the upset the markup else: - doc = env.srcdir + "/" + env.docname + ":" + str(self.lineno) + doc = str(env.srcdir) + "/" + env.docname + ":" + str(self.lineno) result.append(line, doc + ": " + filename, lineoffset) lineoffset += 1 diff --git a/doc/sphinx/kfigure.py b/doc/sphinx/kfigure.py index 788704886e..dea7f91ef5 100644 --- a/doc/sphinx/kfigure.py +++ b/doc/sphinx/kfigure.py @@ -266,7 +266,7 @@ def convert_image(img_node, translator, src_fname=None): if dst_fname: # the builder needs not to copy one more time, so pop it if exists. translator.builder.images.pop(img_node['uri'], None) - _name = dst_fname[len(translator.builder.outdir) + 1:] + _name = dst_fname[len(str(translator.builder.outdir)) + 1:] if isNewer(dst_fname, src_fname): kernellog.verbose(app, diff --git a/doc/sphinx/requirements.txt b/doc/sphinx/requirements.txt index 39ececb96c..840c6cedfd 100644 --- a/doc/sphinx/requirements.txt +++ b/doc/sphinx/requirements.txt @@ -1,26 +1,25 @@ -alabaster==0.7.12 -Babel==2.9.1 -certifi==2023.07.22 -charset-normalizer==2.0.12 -docutils==0.16 -idna==3.3 -imagesize==1.3.0 -Jinja2==3.0.3 -MarkupSafe==2.1.1 -packaging==21.3 -Pygments==2.15.1 -pyparsing==3.0.7 -pytz==2023.3 +alabaster==0.7.16 +Babel==2.14.0 +certifi==2023.11.17 +charset-normalizer==3.3.2 +docutils==0.20.1 +idna==3.6 +imagesize==1.4.1 +Jinja2==3.1.3 +MarkupSafe==2.1.3 +packaging==23.2 +Pygments==2.17.2 requests==2.31.0 six==1.16.0 snowballstemmer==2.2.0 -Sphinx==3.4.3 -sphinx-prompt==1.5.0 -sphinx-rtd-theme==1.0.0 -sphinxcontrib-applehelp==1.0.2 -sphinxcontrib-devhelp==1.0.2 -sphinxcontrib-htmlhelp==2.0.0 +Sphinx==7.2.6 +sphinx-prompt==1.8.0 +sphinx-rtd-theme==2.0.0 +sphinxcontrib-applehelp==1.0.8 +sphinxcontrib-devhelp==1.0.6 +sphinxcontrib-htmlhelp==2.0.5 +sphinxcontrib-jquery==4.1 sphinxcontrib-jsmath==1.0.1 -sphinxcontrib-qthelp==1.0.3 -sphinxcontrib-serializinghtml==1.1.5 -urllib3==2.0.7 +sphinxcontrib-qthelp==1.0.7 +sphinxcontrib-serializinghtml==1.1.10 +urllib3==2.1.0 |