From a187cd85e2db6bfe82af42842a289f3188c519f5 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Sat, 19 Sep 2020 16:19:18 +0200 Subject: [PATCH] Fixed various links in the documentation --- docs/reference/abbreviations.md | 6 +++--- docs/setup/adding-a-comment-system.md | 2 +- docs/setup/changing-the-fonts.md | 2 +- docs/setup/changing-the-language.md | 2 +- docs/setup/changing-the-logo-and-icons.md | 2 +- docs/setup/setting-up-navigation.md | 2 +- docs/setup/setting-up-site-search.md | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/reference/abbreviations.md b/docs/reference/abbreviations.md index d52914fd9..7e0e7f51b 100644 --- a/docs/reference/abbreviations.md +++ b/docs/reference/abbreviations.md @@ -52,7 +52,7 @@ _Example_: The HTML specification is maintained by the W3C. *[HTML]: Hyper Text Markup Language -*[W3C]: World Wide Web Consortium +*[W3C]: World Wide Web Consortium ``` _Result_: @@ -60,7 +60,7 @@ _Result_: The HTML specification is maintained by the W3C. *[HTML]: Hyper Text Markup Language -*[W3C]: World Wide Web Consortium +*[W3C]: World Wide Web Consortium [4]: #abbreviations_1 [5]: footnotes.md @@ -85,7 +85,7 @@ _Example_: ```` markdown *[HTML]: Hyper Text Markup Language - *[W3C]: World Wide Web Consortium + *[W3C]: World Wide Web Consortium ```` _Result_: diff --git a/docs/setup/adding-a-comment-system.md b/docs/setup/adding-a-comment-system.md index 12d3c9612..cd20d35e0 100644 --- a/docs/setup/adding-a-comment-system.md +++ b/docs/setup/adding-a-comment-system.md @@ -92,6 +92,6 @@ In order to integrate another JavaScript-based comment system provider, you can {% endblock %} ``` - [8]: https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L340-342 + [8]: https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L343-L345 [9]: ../customization.md#extending-the-theme [10]: ../customization.md#overriding-blocks diff --git a/docs/setup/changing-the-fonts.md b/docs/setup/changing-the-fonts.md index 477d6ff64..78267bea9 100644 --- a/docs/setup/changing-the-fonts.md +++ b/docs/setup/changing-the-fonts.md @@ -30,7 +30,7 @@ theme: The typeface will be loaded in 300, 400, _400i_ and __700__. - [2]: https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L116-L140 + [2]: https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L119-L143 [3]: https://fonts.google.com/specimen/Roboto ### Proportional font diff --git a/docs/setup/changing-the-language.md b/docs/setup/changing-the-language.md index bca20e43f..69a0fd4af 100644 --- a/docs/setup/changing-the-language.md +++ b/docs/setup/changing-the-language.md @@ -131,7 +131,7 @@ directionality: }) - [6]: https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L168 + [6]: https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L171 ## Customization diff --git a/docs/setup/changing-the-logo-and-icons.md b/docs/setup/changing-the-logo-and-icons.md index 2d95ebe1a..739c16bb9 100644 --- a/docs/setup/changing-the-logo-and-icons.md +++ b/docs/setup/changing-the-logo-and-icons.md @@ -53,7 +53,7 @@ theme: favicon: images/favicon.png ``` - [4]: https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L71 + [4]: https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L74 ### Icons diff --git a/docs/setup/setting-up-navigation.md b/docs/setup/setting-up-navigation.md index 529fb9fb7..ad46afccd 100644 --- a/docs/setup/setting-up-navigation.md +++ b/docs/setup/setting-up-navigation.md @@ -234,7 +234,7 @@ JavaScript][12], you can subscribe to the `keyboard$` observable and attach your custom event listener: ``` js -app.keyboard$.subscribe(key => { +app.keyboard$.subscribe(function(key) { if (key.mode === "global" && key.type === "x") { /* Add custom keyboard handler here */ key.claim() diff --git a/docs/setup/setting-up-site-search.md b/docs/setup/setting-up-site-search.md index be5d40d30..24d7fbae6 100644 --- a/docs/setup/setting-up-site-search.md +++ b/docs/setup/setting-up-site-search.md @@ -171,7 +171,7 @@ combination with @squidfunk's [iframe-worker][13] polyfill. For setup instructions, refer to the [official documentation][14]. - [11]: https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L378-L390 + [11]: https://github.com/squidfunk/mkdocs-material/blob/master/src/base.html#L381-L393 [12]: https://github.com/wilhelmer/mkdocs-localsearch/ [13]: https://github.com/squidfunk/iframe-worker [14]: https://github.com/wilhelmer/mkdocs-localsearch#installation-material-v5