File: 004.no-custom-icon.patch

package info (click to toggle)
pydata-sphinx-theme 0.16.1%2Bdfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,084 kB
  • sloc: python: 2,796; javascript: 701; makefile: 42; sh: 12
file content (33 lines) | stat: -rw-r--r-- 1,032 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
From: Dmitry Shachnev <mitya57@debian.org>
Date: Fri, 31 Jan 2025 21:35:50 +0300
Subject: Do not use custom-icon.js

We exclude it from the tarball.

Forwarded: not-needed
---
 docs/conf.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index a8d6cca..bb659e2 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -171,7 +171,7 @@ html_theme_options = {
         {
             "name": "PyPI",
             "url": "https://pypi.org/project/pydata-sphinx-theme",
-            "icon": "fa-custom fa-pypi",
+            "icon": "fa-brands fa-python",
         },
         {
             "name": "PyData",
@@ -234,7 +234,7 @@ rediraffe_redirects = {
 # so a file named "default.css" will overwrite the builtin "default.css".
 html_static_path = ["_static"]
 html_css_files = ["custom.css"]
-html_js_files = ["pydata-icon.js", "custom-icon.js"]
+html_js_files = ["pydata-icon.js"]
 todo_include_todos = True
 
 # -- favicon options ---------------------------------------------------------