File: remove-unpackaged-extensions.patch

package info (click to toggle)
sphinx-book-theme 1.1.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,100 kB
  • sloc: python: 1,302; javascript: 170; makefile: 56; sh: 8
file content (45 lines) | stat: -rw-r--r-- 1,215 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
39
40
41
42
43
44
45
From: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Date: Sun, 17 Nov 2024 23:53:12 -0300
Subject: Remove Sphinx extensions that are not in Debian

Forwarded: not-needed
---
 docs/conf.py | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index 1ab2aa5..f17a5fc 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -17,19 +17,16 @@ master_doc = "index"
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
 # ones.
 extensions = [
-    "ablog",
     "myst_nb",
     "numpydoc",
     "sphinx.ext.autodoc",
     "sphinx.ext.intersphinx",
     "sphinx.ext.viewcode",
-    "sphinxcontrib.youtube",
     "sphinx_copybutton",
     "sphinx_design",
     "sphinx_examples",
     "sphinx_tabs.tabs",
     "sphinx_thebe",
-    "sphinx_togglebutton",
     "sphinxcontrib.bibtex",
     "sphinxext.opengraph",
     # For the kitchen sink
@@ -87,11 +84,6 @@ html_sidebars = {
     "reference/blog/*": [
         "navbar-logo.html",
         "search-field.html",
-        "ablog/postcard.html",
-        "ablog/recentposts.html",
-        "ablog/tagcloud.html",
-        "ablog/categories.html",
-        "ablog/archives.html",
         "sbt-sidebar-nav.html",
     ]
 }