|
| 1 | +# Conventions |
| 2 | + |
| 3 | +This section explains several conventions used in this documentation. |
| 4 | + |
| 5 | +## Symbols |
| 6 | + |
| 7 | +This documentation use some symbols for illustration purposes. Before you read |
| 8 | +on, please make sure you've made yourself familiar with the following list of |
| 9 | +conventions: |
| 10 | + |
| 11 | +### <!-- md:sponsors --> – Sponsors only { data-toc-label="Sponsors only" } |
| 12 | + |
| 13 | +The pumping heart symbol denotes that a specific feature or behavior is only |
| 14 | +available to sponsors via [Insiders]. Make sure that you have access to |
| 15 | +[Insiders] if you want to use the feature. |
| 16 | + |
| 17 | +### <!-- md:version --> – Version { data-toc-label="Version" } |
| 18 | + |
| 19 | +The tag symbol in conjunction with a version number denotes when a specific |
| 20 | +feature or behavior was added. Make sure you're at least on this version |
| 21 | +if you want to use it. |
| 22 | + |
| 23 | +### <!-- md:version insiders- --> – Version (Insiders) { data-toc-label="Version (Insiders)" } |
| 24 | + |
| 25 | +The tag symbol with a heart in conjunction with a version number denotes that a |
| 26 | +specific feature or behavior was added to the [Insiders] version of Material for |
| 27 | +MkDocs. |
| 28 | + |
| 29 | +### <!-- md:default --> – Default value { #default data-toc-label="Default value" } |
| 30 | + |
| 31 | +Some properties in `mkdocs.yml` have default values for when the author does not |
| 32 | +explicitly define them. The default value of the property is always included. |
| 33 | + |
| 34 | +#### <!-- md:default computed --> – Default value is computed { #default data-toc-label="is computed" } |
| 35 | + |
| 36 | +Some default values are not set to static values but computed form other values, |
| 37 | +like the site language, repository provider, or other settings. |
| 38 | + |
| 39 | +#### <!-- md:default none --> – Default value is empty { #default data-toc-label="is empty" } |
| 40 | + |
| 41 | +Some properties do not contain default values. This means that the functionality |
| 42 | +that is associated with them is not available unless explicitly enabled. |
| 43 | + |
| 44 | +### <!-- md:flag metadata --> – Metadata property { #metadata data-toc-label="Metadata property" } |
| 45 | + |
| 46 | +This symbol denotes that the thing described is a metadata property, which can |
| 47 | +be used in Markdown documents as part of the front matter definition. |
| 48 | + |
| 49 | +### <!-- md:feature --> – Optional feature { #feature data-toc-label="Optional feature" } |
| 50 | + |
| 51 | +Most of the features are hidden behind feature flags, which means they must |
| 52 | +be explicitly enabled via `mkdocs.yml`. This allows for the existence of |
| 53 | +potentially orthogonal features. |
| 54 | + |
| 55 | +### <!-- md:flag experimental --> – Experimental { data-toc-label="Experimental" } |
| 56 | + |
| 57 | +Some newer features are still considered experimental, which means the ymight |
| 58 | +(although rarely) change at any time, including their complete removal (which |
| 59 | +hasn't happened yet). |
| 60 | + |
| 61 | +### <!-- md:plugin --> – Plugin { data-toc-label="Plugin" } |
| 62 | + |
| 63 | +Several features are implemented through MkDocs excellent plugin architecture, |
| 64 | +some of which are built-in and distributed with Material for MkDocs, so no |
| 65 | +installation is required. |
| 66 | + |
| 67 | +### <!-- md:extension --> – Markdown extension { data-toc-label="Markdown extension" } |
| 68 | + |
| 69 | +This symbol denotes that the thing described is a Markdown extension, which can |
| 70 | +be enabled in `mkdocs.yml` and adds additional functionality to the Markdown |
| 71 | +parser. |
| 72 | + |
| 73 | +### <!-- md:flag required --> – Required value { #required data-toc-label="Required value" } |
| 74 | + |
| 75 | +Some (very few in fact) properties or settings are required, which means the |
| 76 | +authors must explicitly define them. |
| 77 | + |
| 78 | +### <!-- md:flag customization --> – Customization { #customization data-toc-label="Customization" } |
| 79 | + |
| 80 | +This symbol denotes that the thing described is a customization that must be |
| 81 | +added by the author. |
| 82 | + |
| 83 | +### <!-- md:utility --> – Utility { data-toc-label="Utility" } |
| 84 | + |
| 85 | +Besides plugins, there are some utilities that build on top of MkDocs in order |
| 86 | +to provide extended functionality, like for example support for versioning. |
| 87 | + |
| 88 | + [Insiders]: insiders/index.md |
0 commit comments