Skip to content

Commit d8847e0

Browse files
authored
Update setting-up-tags.md
Settings in mkdocs.yml need to be configured for tags.md to be recognized.
1 parent 15f45bf commit d8847e0

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

docs/setup/setting-up-tags.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,16 @@ Following is a list of relevant tags:
171171
[TAGS]
172172
```
173173

174+
Then in your `mkdocs.yml` file, add the following.
175+
176+
``` yaml
177+
plugins:
178+
- tags:
179+
tags_file: tags.md
180+
```
181+
182+
Note that the path to `tags.md` is relative to the `docs/` directory.
183+
174184
The `[TAGS]` marker specifies the position of the tags index, i.e. it is
175185
replaced with the actual tags index when the page is rendered. You can include
176186
arbitrary content before and after the marker:

0 commit comments

Comments
 (0)