Package: black / 20.8b1-4

privacy-docs.diff Patch series | 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
46
47
48
49
50
51
52
53
54
55
56
57
Description: Remove privacy-breach links and self-host docs
 Remove tracking URLs from the README and sidebar of pages
 in the documentation.
 Also add the local source code to the doc generation page
 to avoid needing the package installed to rebuild.
Author: Neil Williams <[email protected]>
---

Index: black/README.md
===================================================================
--- black.orig/README.md
    black/README.md
@@ -3,7  3,6 @@
 <h2 align="center">The Uncompromising Code Formatter</h2>
 
 <p align="center">
-<a href="https://travis-ci.com/psf/black"><img alt="Build Status" src="https://travis-ci.com/psf/black.svg?branch=master"></a>
 <a href="https://github.com/psf/black/actions"><img alt="Actions Status" src="https://github.com/psf/black/workflows/Test/badge.svg"></a>
 <a href="https://github.com/psf/black/actions"><img alt="Actions Status" src="https://github.com/psf/black/workflows/Primer/badge.svg"></a>
 <a href="https://black.readthedocs.io/en/stable/?badge=stable"><img alt="Documentation Status" src="https://readthedocs.org/projects/black/badge/?version=stable"></a>
@@ -470,13  469,7 @@ Use the badge in your project's README.m
 
 Using the badge in README.rst:
 
-```
-.. image:: https://img.shields.io/badge/code style-black-000000.svg
-    :target: https://github.com/psf/black
-```
-
-Looks like this:
-[![Code style: black](https://img.shields.io/badge/code style-black-000000.svg)](https://github.com/psf/black)
 https://img.shields.io/badge/code style-black-000000.svg
 
 ## License
 
Index: black/docs/conf.py
===================================================================
--- black.orig/docs/conf.py
    black/docs/conf.py
@@ -307,14  307,14 @@ html_sidebars = {
 html_theme_options = {
     "show_related": False,
     "description": "“Any color you like.”",
-    "github_button": True,
     "github_button": False,
     "github_user": "psf",
     "github_repo": "black",
     "github_type": "star",
-    "show_powered_by": True,
     "show_powered_by": False,
     "fixed_sidebar": True,
     "logo": "logo2.png",
-    "travis_button": True,
     "travis_button": False,
 }