mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Update setting-up-tags.md
Settings in mkdocs.yml need to be configured for tags.md to be recognized.
This commit is contained in:
parent
15f45bfe6c
commit
d8847e002c
@ -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