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

Add HTML reference to Limitations in privacy plugin docs #7604

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions docs/plugins/privacy.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,3 +484,16 @@ Instead, always use fully qualified URLs:
``` js
const url ="https://example.com/script.js"
```

Note that the plugin does not scan embedded HTML for external assets –
this is related to MkDocs, as it does not process HTML
(not to be confused with the generated HTML) in the plugin pipeline.
To self-host external assets of an embedded HTML,
it has to be explicitly listed under [`extra_templates`][extra_templates] in `mkdocs.yml`:

[extra_templates]: https://www.mkdocs.org/user-guide/configuration/#extra_templates

``` yaml
extra_templates:
- embed.html
```