From e09d0a312abca06b5499c9848a6c1e543c2255a9 Mon Sep 17 00:00:00 2001 From: Marko Toplak Date: Fri, 20 Sep 2024 10:34:15 +0200 Subject: [PATCH] Update to sphinx 7.4 --- docs/requirements-rtd.txt | 4 ++-- docs/source/conf.py | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/requirements-rtd.txt b/docs/requirements-rtd.txt index 53aff798..eaf976ae 100644 --- a/docs/requirements-rtd.txt +++ b/docs/requirements-rtd.txt @@ -1,7 +1,7 @@ --only-binary PyQt5,numpy setuptools -sphinx~=4.2.0 +sphinx~=7.4.7 sphinx-rtd-theme PyQt5 AnyQt @@ -9,4 +9,4 @@ AnyQt # sphinx pins docutils version, but the installation in the RTD worker/config # overrides it because docutils is also in our dependencies. # https://docs.readthedocs.io/en/stable/faq.html#i-need-to-install-a-package-in-a-environment-with-pinned-versions --e . \ No newline at end of file +-e . diff --git a/docs/source/conf.py b/docs/source/conf.py index cf26be9c..50919559 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -46,7 +46,7 @@ # The suffix(es) of source filenames. # You can specify multiple suffix as a list of string: # source_suffix = ['.rst', '.md'] -source_suffix = '.rst' +source_suffix = {'.rst': 'restructuredtext'} # The encoding of source files. #source_encoding = 'utf-8-sig' @@ -73,7 +73,7 @@ # # This is also used if you do content translation via gettext catalogs. # Usually you set "language" from the command line for these cases. -language = None +language = "en" # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: @@ -296,4 +296,4 @@ # Example configuration for intersphinx: refer to the Python standard library. -intersphinx_mapping = {'https://docs.python.org/': None} +intersphinx_mapping = {'python': ('https://docs.python.org/3', None)}