Skip to content

Commit

Permalink
Prepare 9.2.4 release
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Aug 26, 2023
1 parent db568b1 commit cafdc48
Show file tree
Hide file tree
Showing 7 changed files with 68 additions and 10 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
mkdocs-material-9.2.4 (2023-xx-xx)
mkdocs-material-9.2.4+insiders-4.40.0 (2023-08-26)

* Added logo, title and description options to social plugin default layouts
* Fixed privacy plugin compatibility issue with Python < 3.10
* Fixed #5896: Blog plugin errors when using custom index pages

mkdocs-material-9.2.4 (2023-08-26)

* Added version to bug report name in info plugin
* Updated Afrikaans translations

mkdocs-material-9.2.3+insiders-4.39.3 (2023-08-24)
Expand Down
5 changes: 5 additions & 0 deletions docs/changelog/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## Material for MkDocs

### 9.2.4 <small>August 26, 2023</small> { id="9.2.4" }

- Added version to bug report name in info plugin
- Updated Afrikaans translations

### 9.2.3 <small>August 22, 2023</small> { id="9.2.3" }

- Fixed blog plugin rendering wrongly with `markdown.extensions.toc`
Expand Down
6 changes: 6 additions & 0 deletions docs/insiders/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

## Material for MkDocs Insiders

### 4.40.0 <small>August 26, 2023</small> { id="4.39.3" }

- Added logo, title and description options to social plugin default layouts
- Fixed privacy plugin compatibility issue with Python < 3.10
- Fixed #5896: Blog plugin errors when using custom index pages

### 4.39.3 <small>August 24, 2023</small> { id="4.39.3" }

- Fixed lxml dependency missing in Docker container (4.39.2 regression)
Expand Down
50 changes: 45 additions & 5 deletions docs/setup/setting-up-social-cards.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,46 @@ The following configuration options are available for card generation:
font_family: Ubuntu
```

[`title`](#+social.cards_layout_options.title){ #+social.cards_layout_options.title }

: [:octicons-tag-24: insiders-4.40.0][Insiders] – Set the social card
title, which takes precedence over `page.title` and `page.meta.title`:

``` yaml
plugins:
- social:
cards_layout_options:
title: Social card title
```

[`description`](#+social.cards_layout_options.description){ #+social.cards_layout_options.description }

: [:octicons-tag-24: insiders-4.40.0][Insiders] – Set the social card
description, which takes precedence over `site_description` and
`page.meta.description`:

``` yaml
plugins:
- social:
cards_layout_options:
description: Social card description
```

[`logo`](#+social.cards_layout_options.logo){ #+social.cards_layout_options.logo }

: [:octicons-tag-24: insiders-4.40.0][Insiders] – Set the logo used as
part of the social card, overriding the `theme.logo` or
`theme.icon.logo` settings which are used as defaults:

``` yaml
plugins:
- social:
cards_layout_options:
logo: layouts/logo.png
```

The path of the image must be defined relative to the project root.

[`cards_include`](#+privacy.cards_include){ #+privacy.cards_include }

: [:octicons-tag-24: insiders-4.35.0][Insiders] · :octicons-milestone-24:
Expand Down Expand Up @@ -507,16 +547,16 @@ The following configuration options are available for caching:
## Usage

If you want to adjust the title or set a custom description for the social card,
you can set the front matter `title` and `description` properties, which take
precedence over the default values.
you can set the front matter [`title`][Changing the title] and
[`description`][Changing the description] properties, which take precedence over
the defaults, or use:

- [Changing the title]
- [Changing the description]
- [`cards_layout_options.title`](#+social.cards_layout_options.title)
- [`cards_layout_options.description`](#+social.cards_layout_options.description)

[Changing the title]: ../reference/index.md#setting-the-page-title
[Changing the description]: ../reference/index.md#setting-the-page-description


### Choosing a font

Some fonts do not contain CJK characters, like for example the
Expand Down
2 changes: 1 addition & 1 deletion material/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<link rel="alternate" type="application/rss+xml" title="{{ lang.t('rss.updated') }}" href="{{ 'feed_rss_updated.xml' | url }}">
{% endif %}
<link rel="icon" href="{{ config.theme.favicon | url }}">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-9.2.3">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-9.2.4">
{% endblock %}
{% block htmltitle %}
{% if page.meta and page.meta.title %}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mkdocs-material",
"version": "9.2.3",
"version": "9.2.4",
"description": "Documentation that simply works",
"keywords": [
"mkdocs",
Expand Down

0 comments on commit cafdc48

Please sign in to comment.