mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2026-08-04 19:45:08 -04:00
Merge of Insiders features tied to 'Aji Panca' funding goal
This commit is contained in:
@@ -13,8 +13,7 @@ can help to discover relevant information faster.
|
||||
|
||||
### Built-in tags
|
||||
|
||||
[:octicons-heart-fill-24:{ .mdx-heart } Insiders][Insiders]{ .mdx-insiders } ·
|
||||
[:octicons-tag-24: insiders-2.7.0][Insiders] ·
|
||||
[:octicons-tag-24: 8.2.0][tags support] ·
|
||||
:octicons-cpu-24: Plugin ·
|
||||
:octicons-beaker-24: Experimental
|
||||
|
||||
@@ -47,7 +46,7 @@ The following configuration options are available:
|
||||
option is not specified, tags are still rendered and searchable,
|
||||
but without a tags index.
|
||||
|
||||
[Insiders]: ../insiders/index.md
|
||||
[tags support]: https://github.com/squidfunk/mkdocs-material/releases/tag/8.2.0
|
||||
[adding a tags index]: #adding-a-tags-index
|
||||
|
||||
## Usage
|
||||
|
||||
@@ -108,33 +108,6 @@ Make sure that this matches the [default version].
|
||||
[Version warning preview]: ../assets/screenshots/version-warning.png
|
||||
[default version]: #setting-a-default-version
|
||||
|
||||
### Stay on page
|
||||
|
||||
[:octicons-heart-fill-24:{ .mdx-heart } Insiders][Insiders]{ .mdx-insiders } ·
|
||||
[:octicons-tag-24: insiders-2.6.0][Insiders]
|
||||
|
||||
Insiders improves the user experience when switching between versions: if
|
||||
version A and B contain a page with the same path name, the user will stay on
|
||||
the current page:
|
||||
|
||||
=== "New behavior"
|
||||
|
||||
```
|
||||
docs.example.com/0.1/ -> docs.example.com/0.2/
|
||||
docs.example.com/0.1/foo/ -> docs.example.com/0.2/foo/
|
||||
docs.example.com/0.1/bar/ -> docs.example.com/0.2/bar/
|
||||
```
|
||||
|
||||
=== "Old behavior"
|
||||
|
||||
```
|
||||
docs.example.com/0.1/ -> docs.example.com/0.2/
|
||||
docs.example.com/0.1/foo/ -> docs.example.com/0.2/
|
||||
docs.example.com/0.1/bar/ -> docs.example.com/0.2/
|
||||
```
|
||||
|
||||
[Insiders]: ../insiders/index.md
|
||||
|
||||
## Usage
|
||||
|
||||
While this section outlines the basic workflow for publishing new versions,
|
||||
|
||||
Reference in New Issue
Block a user