docs: Tagging of examples added

This commit is contained in:
Mateusz Pusz
2023-07-11 15:40:23 +02:00
parent 2f7ecbc19d
commit c1303dce2b
3 changed files with 19 additions and 0 deletions

View File

@@ -1,3 +1,9 @@
---
tags:
- International System
- Text formatting
---
# `hello_units`
This is a really simple example showcasing the features of the **mp-units** library.

View File

@@ -0,0 +1,6 @@
# Introduction
All usage examples in this chapter are categorized with appropriate tags to simplify navigation and search
of relevant code.
[TAGS]

View File

@@ -49,6 +49,12 @@ theme:
text: Roboto
code: Roboto Mono
# Plugins
plugins:
- search
- tags:
tags_file: users_guide/examples/introduction.md
# Customization
extra:
version:
@@ -132,6 +138,7 @@ nav:
- Interoperability with Other Units Libraries: users_guide/use_cases/interoperability_with_other_units_libraries.md
- Extending the Library: users_guide/use_cases/extending_the_library.md
- Examples:
- Introduction: users_guide/examples/introduction.md
- hello_units: users_guide/examples/hello_units.md
- Library Reference:
- Core Library: library_reference/core_library.md