From 48ece9a455b87c42d75e2f64f1c16d721eb2edf3 Mon Sep 17 00:00:00 2001 From: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com> Date: Fri, 25 Aug 2023 11:40:59 +0200 Subject: [PATCH] docs(html): rewrite readme (#23232) Co-authored-by: Rhys Arkins <rhys@arkins.net> Co-authored-by: Michael Kriese <michael.kriese@visualon.de> --- lib/modules/manager/html/readme.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/modules/manager/html/readme.md b/lib/modules/manager/html/readme.md index f8291240bb..a238a1cf24 100644 --- a/lib/modules/manager/html/readme.md +++ b/lib/modules/manager/html/readme.md @@ -1 +1,7 @@ -The `html` manager extracts scripts and CSS includes pointing to cdnjs. It differs from the `cdnjs` manager in that it detects if an integrity hash is already present and updates it too if found. +The `html` manager updates `<script>` tags and CSS `<link>` tags that point to the [cdnjs content delivery network](https://cdnjs.com/). +It also updates Subresource Integrity (SRI) hashes in `integrity` attributes. + +Key differences between the `cdnurl` manager and the `html` manager: + +- The `html` manager updates SRI hashes, the `cndurl` manager does not +- The `html` manager automatically finds some files to update, the `cndurl` manager must be given a `fileMatch` -- GitLab