mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-12 01:50:52 +01:00
Documentation
Update setting-up-tags.md
This commit is contained in:
commit
8143abe1e8
@ -171,6 +171,16 @@ Following is a list of relevant tags:
|
|||||||
[TAGS]
|
[TAGS]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Then in your `mkdocs.yml` file, add the following.
|
||||||
|
|
||||||
|
``` yaml
|
||||||
|
plugins:
|
||||||
|
- tags:
|
||||||
|
tags_file: tags.md
|
||||||
|
```
|
||||||
|
|
||||||
|
Note that the path to `tags.md` is relative to the `docs/` directory.
|
||||||
|
|
||||||
The `[TAGS]` marker specifies the position of the tags index, i.e. it is
|
The `[TAGS]` marker specifies the position of the tags index, i.e. it is
|
||||||
replaced with the actual tags index when the page is rendered. You can include
|
replaced with the actual tags index when the page is rendered. You can include
|
||||||
arbitrary content before and after the marker:
|
arbitrary content before and after the marker:
|
||||||
|
Loading…
Reference in New Issue
Block a user