Fix some broken links

This commit is contained in:
Oleh Prypin
2023-12-15 21:56:12 +01:00
parent e48d6e6c53
commit 8833edcc94
2 changed files with 14 additions and 11 deletions

View File

@@ -1411,7 +1411,7 @@ user created and third-party templates:
| Old Variable Name | New Variable Name |
| ----------------- | ----------------- |
| current_page | page |
| current_page | [page] |
| page_title | page.title |
| content | page.content |
| toc | page.toc |
@@ -1506,16 +1506,16 @@ but may be removed in a future version.
Any of the following old page variables should be updated to the new ones in
user created and third-party templates:
| Old Variable Name | New Variable Name |
| ----------------- | ------------------- |
| current_page | [page] |
| page_title | [page.title] |
| content | [page.content] |
| toc | [page.toc] |
| meta | [page.meta] |
| canonical_url | [page.canonical_url]|
| previous_page | [page.previous_page]|
| next_page | [page.next_page] |
| Old Variable Name | New Variable Name |
| ----------------- | ------------------ |
| current_page | [page] |
| page_title | page.title |
| content | page.content |
| toc | page.toc |
| meta | page.meta |
| canonical_url | page.canonical_url |
| previous_page | page.previous_page |
| next_page | page.next_page |
##### Global Context

View File

@@ -1229,6 +1229,8 @@ echo '{INHERIT: mkdocs.yml, site_name: "Renamed site"}' | mkdocs build -f -
```
[Theme Developer Guide]: ../dev-guide/themes.md
[custom themes]: ../dev-guide/themes.md
[available variables]: ../dev-guide/themes.md#template-variables
[pymdk-extensions]: https://python-markdown.github.io/extensions/
[pymkd]: https://python-markdown.github.io/
[smarty]: https://python-markdown.github.io/extensions/smarty/
@@ -1236,6 +1238,7 @@ echo '{INHERIT: mkdocs.yml, site_name: "Renamed site"}' | mkdocs build -f -
[Python-Markdown wiki]: https://github.com/Python-Markdown/markdown/wiki/Third-Party-Extensions
[catalog]: https://github.com/mkdocs/catalog
[configuring pages and navigation]: writing-your-docs.md#configure-pages-and-navigation
[Meta-Data]: writing-your-docs.md#meta-data
[theme_dir]: customizing-your-theme.md#using-the-theme-custom_dir
[choosing your theme]: choosing-your-theme.md
[Localizing your theme]: localizing-your-theme.md