File: alabaster-no-external-links

package info (click to toggle)
tox 3.7.0-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,152 kB
  • sloc: python: 9,624; sh: 25; makefile: 20
file content (29 lines) | stat: -rw-r--r-- 942 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
From: Faidon Liambotis <paravoid@debian.org>
Date: Mon, 21 Jan 2019 12:38:26 +0200
Subject: Don't build docs with links to external resources

Disable banners and buttons and such in Alabaster's config, and thus
avoid showing images from AWS/GitHub/Travis-CI. This makes the docs
viewable offline and avoids privacy leaks when online.
---
 docs/conf.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/docs/conf.py b/docs/conf.py
index f1bafc2..8196491 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -70,10 +70,10 @@ html_theme_options = {
     "github_user": "tox-dev",
     "github_repo": "tox",
     "description": "standardise testing in Python",
-    "github_banner": "true",
+    "github_button": "false",
+    "github_banner": "false",
     "github_type": "star",
-    "travis_button": "true",
-    "badge_branch": "master",
+    "travis_button": "false",
     "fixed_sidebar": "false",
 }
 html_sidebars = {