File: 0006-Disable-unsupported-add-ons-in-documentation.patch

package info (click to toggle)
numpy 1%3A2.3.3%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 85,952 kB
  • sloc: python: 255,477; asm: 232,483; ansic: 212,559; cpp: 157,437; f90: 1,575; sh: 845; fortran: 567; makefile: 427; sed: 139; xml: 109; java: 97; perl: 82; cs: 62; javascript: 53; objc: 33; lex: 13; yacc: 9
file content (41 lines) | stat: -rw-r--r-- 1,248 bytes parent folder | download | duplicates (2)
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
39
40
41
From: Sandro Tosi <morph@debian.org>
Date: Sun, 3 Dec 2023 11:24:19 -0400
Subject: Disable unsupported add-ons in documentation

---
 doc/source/conf.py              | 4 ----
 doc/source/release/template.rst | 2 +-
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/doc/source/conf.py b/doc/source/conf.py
index f202baa..fa988ea 100644
--- a/doc/source/conf.py
+++ b/doc/source/conf.py
@@ -97,7 +97,6 @@ extensions = [
     'sphinx_copybutton',
     'sphinx_design',
     'sphinx.ext.imgconverter',
-    'jupyterlite_sphinx',
 ]
 
 skippable_extensions = [
@@ -261,9 +260,6 @@ html_theme_options = {
     "header_links_before_dropdown": 6,
     # Add light/dark mode and documentation version switcher:
     "navbar_end": [
-        "search-button",
-        "theme-switcher",
-        "version-switcher",
         "navbar-icon-links"
     ],
     "navbar_persistent": [],
diff --git a/doc/source/release/template.rst b/doc/source/release/template.rst
index a3364da..76ac0c9 100644
--- a/doc/source/release/template.rst
+++ b/doc/source/release/template.rst
@@ -18,4 +18,4 @@ Highlights
 
 .. **Content from release note snippets in doc/release/upcoming_changes:**
 
-.. include:: notes-towncrier.rst
+ .. include:: notes-towncrier.rst