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
|
Description: Change config for Sphinx Alabaster theme to fix Lintian warnings.
The standard Alabaster theme includes both a GitHub banner ("Fork me on
GitHub!") and some buttons to star and fork the upstream GitHub project, etc.
Debian policy considers the resulting images to be a privacy breach, so for
the Debian version of this documentation, I just disable those features.
The various badges on the homepage (test suite passing, PyPI versions, etc.)
have a similar problem. These changes resolve the Lintian privacy-breach-logo
and privacy-breach-generic warnings.
Author: Kenneth J. Pronovici <pronovic@debian.org>
Index: cedar-backup3/docs/conf.py
===================================================================
--- cedar-backup3.orig/docs/conf.py
+++ cedar-backup3/docs/conf.py
@@ -161,7 +161,8 @@ html_theme_options = {
"show_powered_by": False,
"github_user": GITHUB_OWNER,
"github_repo": GITHUB_REPO,
- "github_banner": True,
+ "github_banner": False,
+ "github_button": False,
"show_related": False,
"note_bg": "#FFF59C",
}
Index: cedar-backup3/docs/index.rst
===================================================================
--- cedar-backup3.orig/docs/index.rst
+++ cedar-backup3/docs/index.rst
@@ -3,27 +3,6 @@ Cedar Backup v3
Release v\ |version|
-.. image:: https://img.shields.io/pypi/v/cedar-backup3.svg
- :target: https://pypi.org/project/cedar-backup3/
-
-.. image:: https://img.shields.io/github/license/pronovic/cedar-backup3
- :target: https://github.com/pronovic/cedar-backup3/blob/main/LICENSE
-
-.. image:: https://img.shields.io/pypi/wheel/cedar-backup3.svg
- :target: https://pypi.org/project/cedar-backup3/
-
-.. image:: https://img.shields.io/pypi/pyversions/cedar-backup3.svg
- :target: https://pypi.org/project/cedar-backup3/
-
-.. image:: https://github.com/pronovic/cedar-backup3/workflows/Test%20Suite/badge.svg
- :target: https://github.com/pronovic/cedar-backup3/actions?query=workflow%3A%22Test+Suite%22
-
-.. image:: https://readthedocs.org/projects/cedar-backup3/badge/?version=stable&style=flat
- :target: https://cedar-backup3.readthedocs.io/en/stable/
-
-.. image:: https://coveralls.io/repos/github/pronovic/cedar-backup3/badge.svg?branch=main
- :target: https://coveralls.io/github/pronovic/cedar-backup3?branch=main
-
Cedar Backup is a software package designed to manage system backups for a pool
of local and remote machines.
|