Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Customizing themes to avoid GDPR issues #3090

Closed
joho1968 opened this issue Jan 4, 2023 · 1 comment
Closed

Customizing themes to avoid GDPR issues #3090

joho1968 opened this issue Jan 4, 2023 · 1 comment

Comments

@joho1968
Copy link

joho1968 commented Jan 4, 2023

I guess this is more of a heads-up for those who don't know (or have chosen to ignore the issue), but resources like webfonts, CDN JS, CDN CSS, and so on doesn't float very well with GDPR.

I ran into this when I started to put up a sample site to showcase MkDocs at Öppet Moln, a website in Swedish talking about open source alternatives. So I'm doing custom versions of some standard themes and download the required .js and .css files from their CDN and serving them locally.

For the built-in/default/pre-packaged themes, it may be a good idea to do this (serve locally), to make it more GDPR friendly out of the box.

@pawamoy
Copy link
Contributor

pawamoy commented Apr 14, 2024

You could use the privacy plugin of Material for MkDocs. It's part of Material for MkDocs but can be used as a standalone plugin (you don't have to use the theme itself), and should be theme agnostic 🙂 If you have any issue with it, please raise an issue at https://github.com/squidfunk/mkdocs-material!

pip install mkdocs-material
plugins:
  - material/privacy

We'll close this as out of scope for MkDocs core since it's proven to be achievable through plugins.

@pawamoy pawamoy closed this as not planned Won't fix, can't repro, duplicate, stale Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants