File: disable_buttons_in_documentation.patch

package info (click to toggle)
sqlfluff 3.3.1-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 30,412 kB
  • sloc: python: 97,145; sql: 27,874; makefile: 29; sh: 24
file content (30 lines) | stat: -rw-r--r-- 1,101 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
Description: do not generate buttons in documentation for github and codecov
 these hotlink to their sites and are a potential privacy breach
Author: Joseph Nahmias <joe@nahmias.net>
Origin: vendor
Forwarded: not-needed
Last-Update: 2023-02-02
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/docs/source/conf.py
+++ b/docs/source/conf.py
@@ -93,19 +93,9 @@
 # -- Options for Alabaster Theme ---------------------------------------------
 
 html_theme_options = {
-    # Set branch to main (used by Codecov button)
-    "badge_branch": "main",
     "logo": "images/sqlfluff-lrg.png",
     # Icon for iOS shortcuts
     "touch_icon": "images/sqlfluff-sm2-sq.png",
-    "github_user": "sqlfluff",
-    "github_repo": "sqlfluff",
-    # GitHub Fork button (points at a broken link, so disabling it)
-    "github_banner": False,
-    # GitHub star button
-    "github_type": "star",
-    # Use `"true"` instead of `True` for counting GitHub star, see https://ghbtns.com
-    "github_count": "true",
 }
 
 # -- Options for redirects ---------------------------------------------