docs: document doc tags + refinements (#5433)

* Various improvements

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>

* Oops

Signed-off-by: Josh-Cena <sidachen2003@gmail.com>
This commit is contained in:
Joshua Chen 2021-08-30 17:03:03 +08:00 committed by GitHub
parent 49c5f3ed41
commit 1481bc2eb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 6 deletions

View file

@ -83,3 +83,19 @@ With <code>{#custom-id}</code> syntax you can set your own header id.
</BrowserWindow>
```
## Doc tags {#doc-tags}
Optionally, you can add tags to your doc pages, which introduces another dimension of categorization in addition to the [docs sidebar](./sidebar.md). Tags are passed in the front matter as a list of labels:
<!-- prettier-ignore-start -->
```yml "your-doc-page.md"
---
id: doc-with-tags
title: A doc with tags
tags:
- Demo
- Getting started
---
```
<!-- prettier-ignore-end -->