Updated Insiders changelog

This commit is contained in:
squidfunk 2021-12-05 12:39:54 +01:00
parent 0abade5308
commit 86a25e802d
3 changed files with 28 additions and 4 deletions

View File

@ -1,3 +1,8 @@
mkdocs-material-8.0.4+insiders-4.3.0 (2021-12-05)
* Added support for custom fonts in social cards
* Fixed #3300: Announcement bar reappearing when using instant loading
mkdocs-material-8.0.4 (2012-12-04) mkdocs-material-8.0.4 (2012-12-04)
* Improved support for deeply nested code annotations * Improved support for deeply nested code annotations

View File

@ -6,6 +6,11 @@ template: overrides/main.html
## Material for MkDocs Insiders ## Material for MkDocs Insiders
### 4.3.0 <small>_ December 5, 2021</small> { id="4.3.0" }
- Added support for custom fonts in social cards
- Fixed #3300: Announcement bar reappearing when using instant loading
### 4.2.0 <small>_ December 2, 2021</small> { id="4.2.0" } ### 4.2.0 <small>_ December 2, 2021</small> { id="4.2.0" }
- Added support for dismissable announcement bar - Added support for dismissable announcement bar

View File

@ -57,7 +57,7 @@ The following configuration options are available:
`cards`{ #cards } `cards`{ #cards }
: :octicons-milestone-24: Default: `true` This option specifies whether : :octicons-milestone-24: Default: `true` This option specifies whether
to generate social card images. If you want to switch the plugin off, e.g. to generate social card images. If you want to switch the plugin off, e.g.
for local builds, you can use an [environment variable]: for local builds, you can use an [environment variable]:
@ -70,9 +70,9 @@ The following configuration options are available:
`cards_color`{ #cards-color } `cards_color`{ #cards-color }
: [:octicons-tag-24: insiders-2.13.0][Insiders] · :octicons-milestone-24: : [:octicons-tag-24: insiders-2.13.0][Insiders] · :octicons-milestone-24:
Default: [primary color][palette.primary] This option specifies which Default: [`theme.palette.primary`][palette.primary] This option specifies
colors to use for the background `fill` and foreground `text` when the colors for the background `fill` and foreground `text` when generating
generating the social card: the social card:
``` yaml ``` yaml
plugins: plugins:
@ -85,6 +85,19 @@ The following configuration options are available:
1. Colors can either be defined as HEX colors, or as [CSS color keywords]. 1. Colors can either be defined as HEX colors, or as [CSS color keywords].
Note that HEX colors must be enclosed in quotes. Note that HEX colors must be enclosed in quotes.
`cards_font`{ #cards-font }
: [:octicons-tag-24: insiders-4.3.0][Insiders] · :octicons-milestone-24:
Default: [`theme.font.text`][font.text] This option specifies which font
to use for rendering the social card, which can be any font hosted on
[Google Fonts]:
``` yaml
plugins:
- social:
cards_font: Roboto
```
`cards_directory`{ #cards-directory } `cards_directory`{ #cards-directory }
: :octicons-milestone-24: Default: `assets/images/social` This option : :octicons-milestone-24: Default: `assets/images/social` This option
@ -102,6 +115,7 @@ The following configuration options are available:
[site_url]: https://www.mkdocs.org/user-guide/configuration/#site_url [site_url]: https://www.mkdocs.org/user-guide/configuration/#site_url
[environment variable]: https://www.mkdocs.org/user-guide/configuration/#environment-variables [environment variable]: https://www.mkdocs.org/user-guide/configuration/#environment-variables
[CSS color keywords]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#color_keywords [CSS color keywords]: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#color_keywords
[Google Fonts]: https://fonts.google.com
#### Dependencies #### Dependencies