Skip to content

Commit

Permalink
Prepare 9.0.5 release
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Jan 14, 2023
1 parent a200e7d commit 3f3e11a
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 11 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
mkdocs-material-9.0.5+insiders-4.28.0 (2022-01-14)

* Added support for navigation paths (breadcrumbs)

mkdocs-material-9.0.5 (2022-01-14)

* Fixed #4842: Improve accessibility of search result list

mkdocs-material-9.0.4 (2022-01-12)

* Fixed #4823: Improved contrast ratio in footer (9.0.2 regression)
Expand Down
Binary file added docs/assets/screenshots/navigation-path-off.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/screenshots/navigation-path-on.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions docs/insiders/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,14 +88,15 @@ a handful of them, [thanks to our awesome sponsors]!
## What's in it for me?

The moment you [become a sponsor][how to become a sponsor], you'll get __immediate
access to 20 additional features__ that you can start using right away, and
access to 21 additional features__ that you can start using right away, and
which are currently exclusively available to sponsors:

<div class="mdx-columns" markdown>

- [x] [Navigation path] (Breadcrumbs): :material-alert-decagram:{ .mdx-pulse title="Added on january 14, 2023" }
- [x] [Typeset plugin]: :material-alert-decagram:{ .mdx-pulse title="Added on December 20, 2022" }
- [x] [Privacy plugin: external links] :material-alert-decagram:{ .mdx-pulse title="Added on October 18, 2022" }
- [x] [Navigation subtitles] :material-alert-decagram:{ .mdx-pulse title="Added on October 2, 2022" }
- [x] [Navigation subtitles]
- [x] [Tags plugin: allow list] + [custom sorting]
- [x] [Blog plugin: custom index pages]
- [x] [Blog plugin: related links]
Expand Down Expand Up @@ -300,11 +301,13 @@ are released for general availability.

- [x] [Typeset plugin]
- [x] [Privacy plugin: external links]
- [x] [Navigation path] (Breadcrumbs)
- [ ] [Instant previews]
- ... more to be announced

[Typeset plugin]: ../reference/index.md#built-in-typeset-plugin
[Privacy plugin: external links]: ../setup/ensuring-data-privacy.md#+privacy.external_links
[Navigation path]: ../setup/setting-up-navigation.md#navigation-path
[Instant previews]: https://twitter.com/squidfunk/status/1466794654213492743

### Goals completed
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ The following status identifiers are currently supported:
- :material-alert-decagram: – `new`
- :material-trash-can: – `deprecated`

### Setting the page `subtitle` :material-alert-decagram:{ .mdx-pulse title="Added on October 2, 2022" }
### Setting the page `subtitle`

[:octicons-heart-fill-24:{ .mdx-heart } Sponsors only][Insiders]{ .mdx-insiders } ·
[:octicons-tag-24: insiders-4.25.0][Insiders] ·
Expand Down
7 changes: 7 additions & 0 deletions docs/schema/theme.json
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,13 @@
"navigation.instant"
]
},
{
"title": "Navigation path (Breadcrumbs)",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-path",
"enum": [
"navigation.path"
]
},
{
"title": "Navigation pruning",
"markdownDescription": "https://squidfunk.github.io/mkdocs-material/setup/setting-up-navigation/#navigation-pruning",
Expand Down
4 changes: 0 additions & 4 deletions docs/setup/setting-up-a-blog.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
---
status: new
---

# Setting up a blog

Material for MkDocs makes it very easy to build a blog, either as a sidecar to
Expand Down
28 changes: 28 additions & 0 deletions docs/setup/setting-up-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,34 @@ theme:
[Navigation expansion enabled]: ../assets/screenshots/navigation-expand.png
[Navigation expansion disabled]: ../assets/screenshots/navigation.png

### Navigation path <small>Breadcrumbs</small> { id=navigation-path }

[:octicons-heart-fill-24:{ .mdx-heart } Sponsors only][Insiders]{ .mdx-insiders } ·
[:octicons-tag-24: insiders-4.28.0][Insiders] ·
:octicons-beaker-24: Experimental

When navigation paths are activated, a breadcrumb navigation is rendered above
the title of each page, which might make orientation easier for users visiting your
documentation on devices with smaller screens. Add the following lines to
`mkdocs.yml`:

``` yaml
theme:
features:
- navigation.path
```

=== "With navigation path"

[![Navigation path enabled]][Navigation path enabled]

=== "Without"

[![Navigation path disabled]][Navigation path disabled]

[Navigation path enabled]: ../assets/screenshots/navigation-path-on.png
[Navigation path disabled]: ../assets/screenshots/navigation-path-off.png

### Navigation pruning

[:octicons-heart-fill-24:{ .mdx-heart } Sponsors only][Insiders]{ .mdx-insiders } ·
Expand Down
2 changes: 1 addition & 1 deletion material/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<link rel="next" href="{{ page.next_page.url | url }}">
{% endif %}
<link rel="icon" href="{{ config.theme.favicon | url }}">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-9.0.4">
<meta name="generator" content="mkdocs-{{ mkdocs_version }}, mkdocs-material-9.0.5">
{% 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.0.4",
"version": "9.0.5",
"description": "Documentation that simply works",
"keywords": [
"mkdocs",
Expand Down

0 comments on commit 3f3e11a

Please sign in to comment.