diff --git a/docs/users_guide/examples/hello_units.md b/docs/users_guide/examples/hello_units.md index ceaede9d..64776ce7 100644 --- a/docs/users_guide/examples/hello_units.md +++ b/docs/users_guide/examples/hello_units.md @@ -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. diff --git a/docs/users_guide/examples/introduction.md b/docs/users_guide/examples/introduction.md new file mode 100644 index 00000000..e333619a --- /dev/null +++ b/docs/users_guide/examples/introduction.md @@ -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] diff --git a/mkdocs.yml b/mkdocs.yml index 4d2ef9a5..aa9f0ed6 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -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