File: 0006-Compat-with-sphinx-8.2.patch

package info (click to toggle)
satpy 0.55.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 38,432 kB
  • sloc: python: 89,849; xml: 820; makefile: 150; javascript: 23
file content (38 lines) | stat: -rw-r--r-- 1,498 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
From: Antonio Valentino <antonio.valentino@tiscali.it>
Date: Sat, 22 Mar 2025 16:46:19 +0000
Subject: Compat with sphinx < 8.2

Forwarded: not-needed
---
 doc/source/conf.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index b0893d0..f0986f1 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -83,13 +83,13 @@ with open("reader_table.rst", mode="w") as f:
 # -- General configuration -----------------------------------------------------
 
 # sphinxcontrib.apidoc was added to sphinx in 8.2.0 as sphinx.etx.apidoc
-needs_sphinx = "8.2.0"
+# ineeds_sphinx = "8.2.0"
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
 extensions = ["sphinx.ext.autodoc", "sphinx.ext.intersphinx", "sphinx.ext.todo", "sphinx.ext.coverage",
               "sphinx.ext.doctest", "sphinx.ext.napoleon", "sphinx.ext.autosummary", "sphinx.ext.autosectionlabel",
-              "doi_role", "sphinx.ext.viewcode", "sphinx.ext.apidoc",
+              "doi_role", "sphinx.ext.viewcode", "sphinxcontrib.apidoc",  # "sphinx.ext.apidoc",
               "sphinx.ext.mathjax"]
 
 # Autosectionlabel
@@ -116,7 +116,7 @@ apidoc_modules = [
     },
 ]
 apidoc_separate_modules = True
-apidoc_include_private = True
+# apidoc_include_private = True
 
 # Add any paths that contain templates here, relative to this directory.
 templates_path = ["_templates"]