Debian Codegraph @

debian/patches/003.reduce-docs-dependencies.patch

raw
1 From: Dmitry Shachnev <[email protected]>
2 Date: Fri, 31 Jan 2025 19:36:22 +0300
3 Subject: Remove some unpackaged and unused dependencies from the docs
4
5 Forwarded: not-needed
6 ---
7 docs/conf.py | 24 +-----------------------
8 1 file changed, 1 insertion(+), 23 deletions(-)
9
10 Index: pydata-sphinx-theme/docs/conf.py
11 ===================================================================
12 --- pydata-sphinx-theme.orig/docs/conf.py
13 +++ pydata-sphinx-theme/docs/conf.py
14 @@ -46,19 +46,10 @@ extensions = [
15 "_extension.component_directive",
16 # For extension examples and demos
17 "myst_parser",
18 - "ablog",
19 - "jupyter_sphinx",
20 - "sphinxcontrib.mermaid",
21 - "sphinxcontrib.youtube",
22 - "nbsphinx",
23 "numpydoc",
24 - "sphinx_togglebutton",
25 - "jupyterlite_sphinx",
26 "sphinx_favicon",
27 ]
28
29 -jupyterlite_config = "jupyterlite_config.json"
30 -
31 # Add any paths that contain templates here, relative to this directory.
32 templates_path = ["_templates"]
33
34 @@ -201,7 +192,7 @@ html_theme_options = {
35 # "show_nav_level": 2,
36 "announcement": "https://raw.githubusercontent.com/pydata/pydata-sphinx-theme/main/docs/_templates/custom-template.html",
37 "show_version_warning_banner": True,
38 - "navbar_center": ["version-switcher", "navbar-nav"],
39 + "navbar_center": ["navbar-nav"],
40 # "navbar_start": ["navbar-logo"],
41 # "navbar_end": ["theme-switcher", "navbar-icon-links"],
42 # "navbar_persistent": ["search-button"],
43 @@ -214,10 +205,6 @@ html_theme_options = {
44 "**/*": ["page-toc", "edit-this-page", "sourcelink"],
45 "examples/no-sidebar": [],
46 },
47 - "switcher": {
48 - "json_url": json_url,
49 - "version_match": version_match,
50 - },
51 # "back_to_top_button": False,
52 "search_as_you_type": True,
53 }
54 @@ -229,18 +216,6 @@ html_sidebars = {
55 ], # This ensures we test for custom sidebars
56 "examples/no-sidebar": [], # Test what page looks like with no sidebar items
57 "examples/persistent-search-field": ["search-field"],
58 - # Blog sidebars
59 - # ref: https://ablog.readthedocs.io/manual/ablog-configuration-options/#blog-sidebars
60 - "examples/blog/*": [
61 - "ablog/postcard.html",
62 - "ablog/recentposts.html",
63 - "ablog/tagcloud.html",
64 - "ablog/categories.html",
65 - "ablog/authors.html",
66 - "ablog/languages.html",
67 - "ablog/locations.html",
68 - "ablog/archives.html",
69 - ],
70 }
71
72 html_context = {