Debian Codegraph @

debian/patches/doc-privacy.patch

raw
1 Description: Change config for Sphinx Alabaster theme to fix Lintian warnings.
2 The standard Alabaster theme includes both a GitHub banner ("Fork me on
3 GitHub!") and some buttons to star and fork the upstream GitHub project, etc.
4 Debian policy considers the resulting images to be a privacy breach, so for
5 the Debian version of this documentation, I just disable those features.
6 The various badges on the homepage (test suite passing, PyPI versions, etc.)
7 have a similar problem. These changes resolve the Lintian privacy-breach-logo
8 and privacy-breach-generic warnings.
9 Author: Kenneth J. Pronovici <[email protected]>
10 Index: cedar-backup3/docs/conf.py
11 ===================================================================
12 --- cedar-backup3.orig/docs/conf.py
13 +++ cedar-backup3/docs/conf.py
14 @@ -161,7 +161,8 @@ html_theme_options = {
15 "show_powered_by": False,
16 "github_user": GITHUB_OWNER,
17 "github_repo": GITHUB_REPO,
18 - "github_banner": True,
19 + "github_banner": False,
20 + "github_button": False,
21 "show_related": False,
22 "note_bg": "#FFF59C",
23 }
24 Index: cedar-backup3/docs/index.rst
25 ===================================================================
26 --- cedar-backup3.orig/docs/index.rst
27 +++ cedar-backup3/docs/index.rst
28 @@ -3,27 +3,6 @@ Cedar Backup v3
29
30 Release v\ |version|
31
32 -.. image:: https://img.shields.io/pypi/v/cedar-backup3.svg
33 - :target: https://pypi.org/project/cedar-backup3/
34 -
35 -.. image:: https://img.shields.io/github/license/pronovic/cedar-backup3
36 - :target: https://github.com/pronovic/cedar-backup3/blob/main/LICENSE
37 -
38 -.. image:: https://img.shields.io/pypi/wheel/cedar-backup3.svg
39 - :target: https://pypi.org/project/cedar-backup3/
40 -
41 -.. image:: https://img.shields.io/pypi/pyversions/cedar-backup3.svg
42 - :target: https://pypi.org/project/cedar-backup3/
43 -
44 -.. image:: https://github.com/pronovic/cedar-backup3/workflows/Test%20Suite/badge.svg
45 - :target: https://github.com/pronovic/cedar-backup3/actions?query=workflow%3A%22Test+Suite%22
46 -
47 -.. image:: https://readthedocs.org/projects/cedar-backup3/badge/?version=stable&style=flat
48 - :target: https://cedar-backup3.readthedocs.io/en/stable/
49 -
50 -.. image:: https://coveralls.io/repos/github/pronovic/cedar-backup3/badge.svg?branch=main
51 - :target: https://coveralls.io/github/pronovic/cedar-backup3?branch=main
52 -
53 Cedar Backup is a software package designed to manage system backups for a pool
54 of local and remote machines.
55