diff --git a/docs/reference/admonitions.md b/docs/reference/admonitions.md index 87c139b9b..0bcf9e863 100644 --- a/docs/reference/admonitions.md +++ b/docs/reference/admonitions.md @@ -242,7 +242,7 @@ only the `inline` modifier: ``` markdown !!! info inline end "Lorem ipsum" - + Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla et euismod nulla. Curabitur feugiat, tortor non consequat @@ -501,5 +501,5 @@ After applying the customization, you can use the custom admonition type: - [custom icons]: https://github.com/squidfunk/mkdocs-material/tree/master/material/.icons + [custom icons]: https://github.com/squidfunk/mkdocs-material/tree/master/material/templates/.icons [additional style sheet]: ../customization.md#additional-css diff --git a/docs/reference/icons-emojis.md b/docs/reference/icons-emojis.md index b854a977b..69909d450 100644 --- a/docs/reference/icons-emojis.md +++ b/docs/reference/icons-emojis.md @@ -103,7 +103,7 @@ a valid path to any icon bundled with the theme, which are located in the - [custom icons]: https://github.com/squidfunk/mkdocs-material/tree/master/material/.icons + [custom icons]: https://github.com/squidfunk/mkdocs-material/tree/master/material/templates/.icons #### with colors diff --git a/docs/setup/setting-up-site-analytics.md b/docs/setup/setting-up-site-analytics.md index a88e23c12..0f5a1da37 100644 --- a/docs/setup/setting-up-site-analytics.md +++ b/docs/setup/setting-up-site-analytics.md @@ -197,7 +197,7 @@ The following properties are available for each rating: [analytics]: #google-analytics [feedback report]: ../assets/screenshots/feedback-report.png [custom feedback integration]: #custom-site-feedback - [custom icons]: https://github.com/squidfunk/mkdocs-material/tree/master/material/.icons + [custom icons]: https://github.com/squidfunk/mkdocs-material/tree/master/material/templates/.icons [Google Forms]: https://www.google.com/forms/about/ ## Usage diff --git a/src/plugins/social/plugin.py b/src/plugins/social/plugin.py index b7e0781a0..3cdfa3ce2 100644 --- a/src/plugins/social/plugin.py +++ b/src/plugins/social/plugin.py @@ -398,7 +398,7 @@ class SocialPlugin(BasePlugin[SocialConfig]): "../.." )) - path = f"{base}/.icons/{logo}.svg" + path = f"{base}/templates/.icons/{logo}.svg" # Allow users to put the logo inside their custom_dir (theme["icon"]["logo"] case) if theme.custom_dir: diff --git a/tools/build/index.ts b/tools/build/index.ts index 9506c8b33..a8c3d2366 100644 --- a/tools/build/index.ts +++ b/tools/build/index.ts @@ -295,7 +295,7 @@ const index$ = zip(icons$, emojis$) const cdn = "https://raw.githubusercontent.com" return { icons: { - base: `${cdn}/squidfunk/mkdocs-material/master/material/.icons/`, + base: `${cdn}/squidfunk/mkdocs-material/master/material/templates/.icons/`, data: Object.fromEntries(icons) }, emojis: {