Documentation

This commit is contained in:
squidfunk 2022-10-03 11:10:16 +02:00
parent e40c5adf28
commit ded08f621f

View File

@ -1120,11 +1120,13 @@ links:
If you look closely, you'll realize that you can even use an anchor to link to If you look closely, you'll realize that you can even use an anchor to link to
a specific section of a document, extending the possiblities of the [`nav`][nav] a specific section of a document, extending the possiblities of the [`nav`][nav]
syntax in `mkdocs.yml`. The [built-in blog plugin] resolves the anchor and sets syntax in `mkdocs.yml`. The [built-in blog plugin] resolves the anchor and sets
the title of the anchor as a subtitle of the related link. the title of the anchor as a [subtitle] of the related link.
Note that all links must be relative to [`docs_dir`][docs_dir], as is also the case for the [`nav`][nav] setting. Note that all links must be relative to [`docs_dir`][docs_dir], as is also the
case for the [`nav`][nav] setting.
[nav]: https://www.mkdocs.org/user-guide/configuration/#nav [nav]: https://www.mkdocs.org/user-guide/configuration/#nav
[subtitle]: ../reference/index.md#setting-the-page-subtitle
#### Linking from and to posts #### Linking from and to posts