mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Updated Insiders changelog and documentation
This commit is contained in:
parent
44982451f7
commit
e8504fdffb
@ -1,3 +1,7 @@
|
|||||||
|
mkdocs-material-9.5.4+insiders-4.50.0 (2024-01-19)
|
||||||
|
|
||||||
|
* Added configurable logging capabilities to privacy plugin
|
||||||
|
|
||||||
mkdocs-material-9.5.4 (2024-01-15)
|
mkdocs-material-9.5.4 (2024-01-15)
|
||||||
|
|
||||||
* Fixed #6645: Local storage with invalid value can break site
|
* Fixed #6645: Local storage with invalid value can break site
|
||||||
|
@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
## Material for MkDocs Insiders
|
## Material for MkDocs Insiders
|
||||||
|
|
||||||
|
### 4.50.0 <small>January 19, 2024</small> { id="4.50.0" }
|
||||||
|
|
||||||
|
- Added configurable logging capabilities to privacy plugin
|
||||||
|
|
||||||
### 4.49.2 <small>January 9, 2024</small> { id="4.49.2" }
|
### 4.49.2 <small>January 9, 2024</small> { id="4.49.2" }
|
||||||
|
|
||||||
- Fixed missing attribute lists extension for tags plugin
|
- Fixed missing attribute lists extension for tags plugin
|
||||||
|
@ -105,7 +105,7 @@ which are currently exclusively available to sponsors:
|
|||||||
- [x] [Social plugin: background images]
|
- [x] [Social plugin: background images]
|
||||||
- [x] [Code range selection]
|
- [x] [Code range selection]
|
||||||
- [x] [Code annotations: custom selectors]
|
- [x] [Code annotations: custom selectors]
|
||||||
- [x] [Privacy plugin: optimization support]
|
- [x] [Privacy plugin: advanced settings]
|
||||||
- [x] [Optimize plugin]
|
- [x] [Optimize plugin]
|
||||||
- [x] [Navigation path] (Breadcrumbs)
|
- [x] [Navigation path] (Breadcrumbs)
|
||||||
- [x] [Typeset plugin]
|
- [x] [Typeset plugin]
|
||||||
@ -277,8 +277,8 @@ are released for general availability.
|
|||||||
[Blog plugin: related links]: ../setup/setting-up-a-blog.md#adding-related-links
|
[Blog plugin: related links]: ../setup/setting-up-a-blog.md#adding-related-links
|
||||||
[Blog plugin: custom index pages]: ../setup/setting-up-a-blog.md#custom-index-pages
|
[Blog plugin: custom index pages]: ../setup/setting-up-a-blog.md#custom-index-pages
|
||||||
[Tags plugin: configurable listings]: ../setup/setting-up-tags.md#configurable-listings
|
[Tags plugin: configurable listings]: ../setup/setting-up-tags.md#configurable-listings
|
||||||
[Tags plugin: allow list]: ../setup/setting-up-tags.md#+tags.tags_allowed
|
[Tags plugin: allow list]: ../plugins/tags.md#config.tags_allowed
|
||||||
[custom sorting]: ../setup/setting-up-tags.md#+tags.tags_compare
|
[custom sorting]: ../plugins/tags.md#config.tags_sort_by
|
||||||
[Navigation subtitles]: ../reference/index.md#setting-the-page-subtitle
|
[Navigation subtitles]: ../reference/index.md#setting-the-page-subtitle
|
||||||
|
|
||||||
#### $ 20,000 – Jalapeño
|
#### $ 20,000 – Jalapeño
|
||||||
@ -286,7 +286,7 @@ are released for general availability.
|
|||||||
- [x] [Optimize plugin]
|
- [x] [Optimize plugin]
|
||||||
- [x] [Typeset plugin]
|
- [x] [Typeset plugin]
|
||||||
- [x] [Navigation path] (Breadcrumbs)
|
- [x] [Navigation path] (Breadcrumbs)
|
||||||
- [x] [Privacy plugin: optimization support]
|
- [x] [Privacy plugin: advanced settings]
|
||||||
- [x] [Privacy plugin: external links]
|
- [x] [Privacy plugin: external links]
|
||||||
- [x] [Instant prefetching]
|
- [x] [Instant prefetching]
|
||||||
- [x] [Blog plugin: advanced settings]
|
- [x] [Blog plugin: advanced settings]
|
||||||
@ -294,8 +294,8 @@ are released for general availability.
|
|||||||
|
|
||||||
[Optimize plugin]: ../plugins/optimize.md
|
[Optimize plugin]: ../plugins/optimize.md
|
||||||
[Typeset plugin]: ../plugins/typeset.md
|
[Typeset plugin]: ../plugins/typeset.md
|
||||||
[Privacy plugin: external links]: ../setup/ensuring-data-privacy.md#+privacy.links
|
[Privacy plugin: external links]: ../plugins/privacy.md#external-links
|
||||||
[Privacy plugin: optimization support]: ../setup/ensuring-data-privacy.md#+privacy.assets_include
|
[Privacy plugin: advanced settings]: ../setup/ensuring-data-privacy.md#advanced-settings
|
||||||
[Navigation path]: ../setup/setting-up-navigation.md#navigation-path
|
[Navigation path]: ../setup/setting-up-navigation.md#navigation-path
|
||||||
[Instant prefetching]: ../setup/setting-up-navigation.md#instant-prefetching
|
[Instant prefetching]: ../setup/setting-up-navigation.md#instant-prefetching
|
||||||
[Blog plugin: advanced settings]: ../setup/setting-up-a-blog.md#advanced-settings
|
[Blog plugin: advanced settings]: ../setup/setting-up-a-blog.md#advanced-settings
|
||||||
@ -314,7 +314,7 @@ are released for general availability.
|
|||||||
|
|
||||||
[Projects plugin]: ../plugins/projects.md
|
[Projects plugin]: ../plugins/projects.md
|
||||||
[Social plugin: custom layouts]: ../setup/setting-up-social-cards.md#customization
|
[Social plugin: custom layouts]: ../setup/setting-up-social-cards.md#customization
|
||||||
[Social plugin: background images]: ../setup/setting-up-social-cards.md#+social.cards_layout_params.background_image
|
[Social plugin: background images]: ../plugins/social.md#option.background_image
|
||||||
[Code range selection]: ../reference/code-blocks.md#code-selection-button
|
[Code range selection]: ../reference/code-blocks.md#code-selection-button
|
||||||
[Code annotations: custom selectors]: ../reference/code-blocks.md#custom-selectors
|
[Code annotations: custom selectors]: ../reference/code-blocks.md#custom-selectors
|
||||||
[Stay on page when switching languages]: ../setup/changing-the-language.md#stay-on-page
|
[Stay on page when switching languages]: ../setup/changing-the-language.md#stay-on-page
|
||||||
|
@ -213,6 +213,84 @@ with each other.
|
|||||||
|
|
||||||
[multiple instances]: index.md#multiple-instances
|
[multiple instances]: index.md#multiple-instances
|
||||||
|
|
||||||
|
### Logging
|
||||||
|
|
||||||
|
The following settings are available for logging:
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
#### <!-- md:setting config.log -->
|
||||||
|
|
||||||
|
<!-- md:sponsors -->
|
||||||
|
<!-- md:version insiders-4.50.0 -->
|
||||||
|
<!-- md:default `true` -->
|
||||||
|
|
||||||
|
Use this setting to control whether the plugin should display log messages when
|
||||||
|
building your site. While not being recommended, you can disable logging with:
|
||||||
|
|
||||||
|
``` yaml
|
||||||
|
plugins:
|
||||||
|
- privacy:
|
||||||
|
log: false
|
||||||
|
```
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
#### <!-- md:setting config.log_level -->
|
||||||
|
|
||||||
|
<!-- md:sponsors -->
|
||||||
|
<!-- md:version insiders-4.50.0 -->
|
||||||
|
<!-- md:default `info` -->
|
||||||
|
|
||||||
|
Use this setting to control the log level that the plugin should employ when
|
||||||
|
encountering errors, which requires that the [`log`][config.log] setting is
|
||||||
|
enabled. The following log levels are available:
|
||||||
|
|
||||||
|
=== "`error`"
|
||||||
|
|
||||||
|
``` yaml
|
||||||
|
plugins:
|
||||||
|
- privacy:
|
||||||
|
log_level: error
|
||||||
|
```
|
||||||
|
|
||||||
|
Only errors are reported.
|
||||||
|
|
||||||
|
=== "`warn`"
|
||||||
|
|
||||||
|
``` yaml
|
||||||
|
plugins:
|
||||||
|
- privacy:
|
||||||
|
log_level: warn
|
||||||
|
```
|
||||||
|
|
||||||
|
Errors and warnings are reported, terminating the build in
|
||||||
|
[`strict`][mkdocs.strict] mode. This includes warnings when symlinks cannot
|
||||||
|
be created due to a lack of permissions on Windows systems (#6550).
|
||||||
|
|
||||||
|
=== "`info`"
|
||||||
|
|
||||||
|
``` yaml
|
||||||
|
plugins:
|
||||||
|
- privacy:
|
||||||
|
log_level: info
|
||||||
|
```
|
||||||
|
|
||||||
|
Errors, warnings and informational messages are reported, including which
|
||||||
|
assets were successfully downloaded by the plugin.
|
||||||
|
|
||||||
|
=== "`debug`"
|
||||||
|
|
||||||
|
``` yaml
|
||||||
|
plugins:
|
||||||
|
- privacy:
|
||||||
|
log_level: debug
|
||||||
|
```
|
||||||
|
|
||||||
|
All messages are reported, including debug messages, if and only if MkDocs
|
||||||
|
was started with the `--verbose` flag. Note that this will print a lot of
|
||||||
|
messages and is only useful for debugging.
|
||||||
|
|
||||||
### External assets
|
### External assets
|
||||||
|
|
||||||
The following settings are available for external assets:
|
The following settings are available for external assets:
|
||||||
|
@ -36,6 +36,23 @@
|
|||||||
"type": "string",
|
"type": "string",
|
||||||
"default": ".cache/plugins/privacy"
|
"default": ".cache/plugins/privacy"
|
||||||
},
|
},
|
||||||
|
"log": {
|
||||||
|
"title": "Enable logging",
|
||||||
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.log",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": true
|
||||||
|
},
|
||||||
|
"log_level": {
|
||||||
|
"title": "Log level",
|
||||||
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.log_level",
|
||||||
|
"enum": [
|
||||||
|
"error",
|
||||||
|
"warn",
|
||||||
|
"info",
|
||||||
|
"debug"
|
||||||
|
],
|
||||||
|
"default": "info"
|
||||||
|
},
|
||||||
"assets": {
|
"assets": {
|
||||||
"title": "Process external assets",
|
"title": "Process external assets",
|
||||||
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.assets",
|
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/plugins/privacy/#config.assets",
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
"info",
|
"info",
|
||||||
"debug"
|
"debug"
|
||||||
],
|
],
|
||||||
"default": "warn"
|
"default": "info"
|
||||||
},
|
},
|
||||||
"projects": {
|
"projects": {
|
||||||
"title": "Enable projects",
|
"title": "Enable projects",
|
||||||
|
@ -206,7 +206,6 @@ For a list of all settings, please consult the [plugin documentation].
|
|||||||
[example]: #example
|
[example]: #example
|
||||||
[built-in optimize plugin]: ../plugins/optimize.md
|
[built-in optimize plugin]: ../plugins/optimize.md
|
||||||
|
|
||||||
|
|
||||||
??? example "Expand to inspect example"
|
??? example "Expand to inspect example"
|
||||||
|
|
||||||
For the official documentation, the [built-in privacy plugin] downloads the
|
For the official documentation, the [built-in privacy plugin] downloads the
|
||||||
@ -280,6 +279,24 @@ For a list of all settings, please consult the [plugin documentation].
|
|||||||
[built-in privacy plugin]: ../plugins/privacy.md
|
[built-in privacy plugin]: ../plugins/privacy.md
|
||||||
[preconnect]: https://developer.mozilla.org/en-US/docs/Web/Performance/dns-prefetch
|
[preconnect]: https://developer.mozilla.org/en-US/docs/Web/Performance/dns-prefetch
|
||||||
|
|
||||||
|
#### Advanced settings
|
||||||
|
|
||||||
|
<!-- md:sponsors -->
|
||||||
|
<!-- md:version insiders-4.50.0 -->
|
||||||
|
|
||||||
|
The following advanced settings are currently reserved to our [sponsors]
|
||||||
|
[Insiders]. They are entirely optional, and don't affect the functionality of
|
||||||
|
the blog, but can be helpful for customizations:
|
||||||
|
|
||||||
|
- [`log`][config.log]
|
||||||
|
- [`log_level`][config.log_level]
|
||||||
|
|
||||||
|
We'll add more settings here, as we discover new use cases.
|
||||||
|
|
||||||
|
[Insiders]: ../insiders/index.md
|
||||||
|
[config.log]: ../plugins/privacy.md#config.log
|
||||||
|
[config.log_level]: ../plugins/privacy.md#config.log_level
|
||||||
|
|
||||||
## Customization
|
## Customization
|
||||||
|
|
||||||
### Custom cookies
|
### Custom cookies
|
||||||
|
Loading…
Reference in New Issue
Block a user