GDPR, mkdocs plugins and external resources
-
mkdocs materialuse Google fonts (fonts.gstatic.comandfonts.googleapis.com). Cf https://squidfunk.github.io/mkdocs-material/setup/changing-the-fonts/#:~:text=If%20you%20want%20to%20prevent%20typefaces%20from%20being,system%20fonts%2C%20add%20the%20following%20lines%20to%20mkdocs.yml%3A (materialis available in the default Docker image used by the templatedocker.io/squidfunk/mkdocs-material:latest) -
pymdownx.emojiuse AWS resources (cdn.jsdelivr.net) - etc.
An easy way to avoid that for your users' privacy (and GDPR) is to activate material/privacy plugin.
to-be-continuous/mkdocs does not provide a mkdocs.yml, but maybe it's worth mentioning that info in the README.md anyway, for projects/websites interacting with European citizen, or privacy-friendly.
(side effect: your website also works if you are enable to reach Google or AWS in a private network or isolated from Internet)
With privacy plugin:
INFO - Downloading external file: https://cdn.jsdelivr.net/gh/jdecked/twemoji@15.0.3/assets/svg/1f4dd.svg
(...)
INFO - Downloading external file: https://fonts.googleapis.com/css?family=Helvetica+Neue:300,300i,400,400i,700,700i%7CHelvetica:400,400i,700,700i&display=fallback
INFO - Downloading external file: https://fonts.gstatic.com/l/font?kit=JIA3UVNqfH9WuVQQRM4zUiOhNTQ&skey=eceee293272e3479&v=v9
(...)
INFO - Documentation built in 10.95 seconds
Edited by Benoit Sibaud