From 12a8e82837fe400dd1f123e41d75b32987a11744 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Wed, 26 Jun 2024 09:55:47 +0200 Subject: [PATCH] Removed all references to polyfill.io --- docs/plugins/privacy.md | 6 +- docs/reference/math.md | 2 - docs/setup/ensuring-data-privacy.md | 115 +++++++++--------- .../extensions/python-markdown-extensions.md | 1 - 4 files changed, 60 insertions(+), 64 deletions(-) diff --git a/docs/plugins/privacy.md b/docs/plugins/privacy.md index 842f92824..31966be21 100644 --- a/docs/plugins/privacy.md +++ b/docs/plugins/privacy.md @@ -475,12 +475,12 @@ Dynamically created URLs as part of scripts are not detected, and thus cannot be downloaded automatically, as the plugin does not execute scripts – it only detects fully qualified URLs for downloading and replacement. In short, don't do this: ``` js -const cdn = "https://polyfill.io" -const url = `${cdn}/v3/polyfill.min.js` +const host = "https://example.com" +const path = `${host}/script.js` ``` Instead, always use fully qualified URLs: ``` js -const url ="https://polyfill.io/v3/polyfill.min.js" +const url ="https://example.com/script.js" ``` diff --git a/docs/reference/math.md b/docs/reference/math.md index 7da9873ad..bb832d736 100644 --- a/docs/reference/math.md +++ b/docs/reference/math.md @@ -64,7 +64,6 @@ to your `mkdocs.yml`. extra_javascript: - javascripts/mathjax.js - - https://polyfill.io/v3/polyfill.min.js?features=es6 - https://unpkg.com/mathjax@3/es5/tex-mml-chtml.js ``` @@ -75,7 +74,6 @@ See additional configuration options: [Arithmatex]: ../setup/extensions/python-markdown-extensions.md#arithmatex [instant loading]: ../setup/setting-up-navigation.md#instant-loading -