Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
Lagoproject.Net.Gh
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LAGO
Lagoproject.Net.Gh
Commits
dd25ff4a
Commit
dd25ff4a
authored
2 years ago
by
squidfunk
Browse files
Options
Downloads
Patches
Plain Diff
Documentation
parent
c4e78567
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/schema/plugins/privacy.json
+21
-17
21 additions, 17 deletions
docs/schema/plugins/privacy.json
docs/setup/ensuring-data-privacy.md
+3
-3
3 additions, 3 deletions
docs/setup/ensuring-data-privacy.md
with
24 additions
and
20 deletions
docs/schema/plugins/privacy.json
+
21
−
17
View file @
dd25ff4a
...
...
@@ -21,15 +21,11 @@
"type"
:
"boolean"
,
"default"
:
true
},
"cache"
:
{
"title"
:
"Enable caching of downloads"
,
"type"
:
"boolean"
,
"default"
:
true
},
"cache_dir"
:
{
"title"
:
"Cache directory"
,
"type"
:
"string"
,
"default"
:
".cache/plugin/privacy"
"concurrency"
:
{
"title"
:
"Concurrency (number of CPUs)"
,
"markdownDescription"
:
"https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.concurrency"
,
"type"
:
"number"
,
"default"
:
1
},
"external_assets"
:
{
"title"
:
"External assets"
,
...
...
@@ -37,15 +33,11 @@
"oneOf"
:
[
{
"title"
:
"Bundle external assets"
,
"enum"
:
[
"bundle"
]
"enum"
:
[
"bundle"
]
},
{
"title"
:
"Report external assets as warnings"
,
"enum"
:
[
"report"
]
"enum"
:
[
"report"
]
}
],
"default"
:
"bundle"
...
...
@@ -56,12 +48,24 @@
"type"
:
"string"
,
"default"
:
"assets/external"
},
"external_assets_include"
:
{
"title"
:
"External assets to include"
,
"markdownDescription"
:
"https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_include"
,
"type"
:
"array"
,
"items"
:
{
"title"
:
"External assets matching this pattern will be downloaded"
,
"markdownDescription"
:
"https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_include"
,
"pattern"
:
".*"
},
"uniqueItems"
:
true
,
"minItems"
:
1
},
"external_assets_exclude"
:
{
"title"
:
"External assets to
be
exclude
d
"
,
"title"
:
"External assets to exclude"
,
"markdownDescription"
:
"https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_exclude"
,
"type"
:
"array"
,
"items"
:
{
"title"
:
"External assets matching this pattern will not be
bundl
ed"
,
"title"
:
"External assets matching this pattern will not be
download
ed"
,
"markdownDescription"
:
"https://squidfunk.github.io/mkdocs-material/setup/ensuring-data-privacy/#+privacy.external_assets_exclude"
,
"pattern"
:
".*"
},
...
...
This diff is collapsed.
Click to expand it.
docs/setup/ensuring-data-privacy.md
+
3
−
3
View file @
dd25ff4a
...
...
@@ -336,13 +336,13 @@ The following configuration options are available for external links:
[
`external_links`
](
#+privacy.external_links
)
{ #+privacy.external_links }
: :octicons-milestone-24: Default:
`true`
– This option specifies whether the
plugin should
automatically annotate external links. By default,
[
`rel="noopener"`
][
noopener
]
is added to all links with
`target="_blank"`
:
plugin should
parse and process external links. If you want to speed up
local builds, you can use an [environment variable]
:
``` yaml
plugins:
- privacy:
external_links:
true
external_links:
!ENV [CI, false]
```
[
`external_links_attr_map`
](
#+privacy.external_links_attr_map
)
{ #+privacy.external_links_attr_map }
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment