Bug#1123981: ITP: dh-removebadges -- debhelper addon to remove remote badges and external images from documentation
Package: wnpp
Severity: wishlist
Owner: Edward Betts <edward@4angle.com>
X-Debbugs-Cc: debian-devel@lists.debian.org
* Package name : dh-removebadges
Version : 0.1
* URL : https://salsa.debian.org/debian/dh-removebadges
* License : GPL-3+
Programming Lang: Perl
Description : debhelper addon to remove remote badges and external images from documentation
This debhelper addon automatically removes remotely-hosted images (such as
build status badges, coverage badges, version badges from shields.io, GitHub,
GitLab, etc.), iframes, and tracking scripts from documentation files in the
package source tree.
.
This prevents installed HTML documentation under /usr/share/doc/ from making
unintended network requests when viewed.
.
It operates directly on source files in place (with automatic backups restored
by dh_clean), supports Markdown (.md), reStructuredText (.rst), and HTML files,
preserves locally-hosted images, and cleans up surrounding markup where
appropriate.
.
By default it processes top-level README.md, README.rst, and README.html files.
Specific files or directories can be passed as arguments.
Reply to: