From c80f2fac518be298f0414dc873106840f7327d60 Mon Sep 17 00:00:00 2001 From: squidfunk Date: Wed, 20 Sep 2023 14:03:28 +0200 Subject: [PATCH] Documentation --- docs/blog/posts/search-better-faster-smaller.md | 2 +- docs/reference/code-blocks.md | 4 ++-- docs/setup/adding-a-comment-system.md | 2 +- docs/setup/changing-the-colors.md | 2 +- docs/setup/changing-the-language.md | 4 ++-- docs/upgrade.md | 4 ++-- 6 files changed, 9 insertions(+), 9 deletions(-) diff --git a/docs/blog/posts/search-better-faster-smaller.md b/docs/blog/posts/search-better-faster-smaller.md index 0c5c66c59..5e3ab2d3d 100644 --- a/docs/blog/posts/search-better-faster-smaller.md +++ b/docs/blog/posts/search-better-faster-smaller.md @@ -262,7 +262,7 @@ carefully considered: China and Japan are both within the top 5 countries of origin of users of Material for MkDocs. - [truncated]: https://github.com/squidfunk/mkdocs-material/blob/master/src/assets/javascripts/templates/search/index.tsx#L90 + [truncated]: https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/assets/javascripts/templates/search/index.tsx#L90 [search preview]: search-better-faster-smaller/search-preview.png [Just the Docs]: https://pmarsceill.github.io/just-the-docs/ [Docusaurus]: https://github.com/lelouch77/docusaurus-lunr-search diff --git a/docs/reference/code-blocks.md b/docs/reference/code-blocks.md index bc2ed439b..275ad00d0 100644 --- a/docs/reference/code-blocks.md +++ b/docs/reference/code-blocks.md @@ -505,11 +505,11 @@ override it as part of your [additional style sheet]: - stylesheets/extra.css ``` - [colors]: https://github.com/squidfunk/mkdocs-material/blob/master/src/assets/stylesheets/main/_colors.scss + [colors]: https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/assets/stylesheets/main/_colors.scss [color schemes]: ../setup/changing-the-colors.md#color-scheme [types of string tokens]: https://pygments.org/docs/tokens/#literals [additional style sheet]: ../customization.md#additional-css - [syntax theme definition]: https://github.com/squidfunk/mkdocs-material/blob/master/src/assets/stylesheets/main/extensions/pymdownx/_highlight.scss + [syntax theme definition]: https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/assets/stylesheets/main/extensions/pymdownx/_highlight.scss ### Annotation tooltip width diff --git a/docs/setup/adding-a-comment-system.md b/docs/setup/adding-a-comment-system.md index 62f2409b2..00022d939 100644 --- a/docs/setup/adding-a-comment-system.md +++ b/docs/setup/adding-a-comment-system.md @@ -102,6 +102,6 @@ If you wish to enable comments for an entire folder, you can use the [Giscus GitHub App]: https://github.com/apps/giscus [theme extension]: ../customization.md#extending-the-theme - [comments]: https://github.com/squidfunk/mkdocs-material/blob/master/src/partials/comments.html + [comments]: https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/partials/comments.html [overriding partials]: ../customization.md#overriding-partials [built-in meta plugin]: ../plugins/meta.md diff --git a/docs/setup/changing-the-colors.md b/docs/setup/changing-the-colors.md index dd8f510b8..a7d0e6ba6 100644 --- a/docs/setup/changing-the-colors.md +++ b/docs/setup/changing-the-colors.md @@ -352,7 +352,7 @@ add: See the file containing the [color definitions] for a list of all CSS variables. [CSS variables]: https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties - [color definitions]: https://github.com/squidfunk/mkdocs-material/blob/master/src/assets/stylesheets/main/_colors.scss + [color definitions]: https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/assets/stylesheets/main/_colors.scss [additional style sheet]: ../customization.md#additional-css diff --git a/docs/setup/changing-the-language.md b/docs/setup/changing-the-language.md index f8b59fc6a..6465b55b3 100644 --- a/docs/setup/changing-the-language.md +++ b/docs/setup/changing-the-language.md @@ -172,5 +172,5 @@ adjust the ones you want to override: ``` [theme extension]: ../customization.md#extending-the-theme - [translations]: https://github.com/squidfunk/mkdocs-material/blob/master/src/partials/languages/ - [list of available languages]: https://github.com/squidfunk/mkdocs-material/blob/master/src/partials/languages/ + [translations]: https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/partials/languages/ + [list of available languages]: https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/partials/languages/ diff --git a/docs/upgrade.md b/docs/upgrade.md index b5ee87a07..24defe9f5 100644 --- a/docs/upgrade.md +++ b/docs/upgrade.md @@ -95,8 +95,8 @@ changes into your templates. A good starting point is to [inspect the diff]. [inspect the diff]: https://github.com/squidfunk/mkdocs-material/pull/4628/files#diff-3ca112736b9164701b599f34780107abf14bb79fe110c478cac410be90899828 [MkDocs 1.4.1]: https://github.com/mkdocs/mkdocs/releases/tag/1.4.1 [in config.plugins]: https://github.com/squidfunk/mkdocs-material/search?q=%22in+config.plugins%22 - [content.html]: https://github.com/squidfunk/mkdocs-material/blob/master/src/partials/content.html - [header.html]: https://github.com/squidfunk/mkdocs-material/blob/master/src/partials/header.html + [content.html]: https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/partials/content.html + [header.html]: https://github.com/squidfunk/mkdocs-material/blob/master/src/templates/partials/header.html ## Upgrading from 7.x to 8.x