Hello,

On Thu 25 Dec 2025 at 01:20pm GMT, Edward Betts wrote:

> Package: wnpp
> Severity: wishlist
> Owner: Edward Betts <[email protected]>
> X-Debbugs-Cc: [email protected]
>
> * 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.

Oh, very nice!  I've been patching these out manually for years and it's
a pain.

-- 
Sean Whitton

Attachment: signature.asc
Description: PGP signature

Reply via email to