#1076658 mkdocs: Trackers are included in mkdocs and readthedocs themes

Package:
mkdocs
Source:
mkdocs
Submitter:
Salvo "LtWorf" Tomaselli
Date:
2024-07-21 07:00:04 UTC
Severity:
normal
Tags:
#1076658#5
Date:
2024-07-21 06:57:03 UTC
From:
To:
Dear Maintainer,

It would be very nice if you could patch away the trackers that are included in
the readthedocs and mkdocs themes.

To see the issue you can run: "git grep cloudflare" on the salsa repository dir

Basically, from the point of view of the package, those are static files. But
a website generated starting from those will have trackers.

I noticed because I generate the documentation for typedload using mkdocs and
my adblock was blocking things, while I was completely unaware of having added
any tracker at all.

The way that I fixed it in typedload is to use wget to download the asset
and then rewrite the url to point to the local copy.

I think in debian the proper way would be to depend on the package providing
the file, and adding a soft link to the file. Plus a patch to rewrite the url.

I see that there is a lintian override about this. Doing this would render the
override obsolete.

Thanks for your work.