Fixed icon search

This commit is contained in:
squidfunk
2023-09-20 14:59:25 +02:00
parent da3b2b33b6
commit 0392073055
5 changed files with 6 additions and 6 deletions

View File

@@ -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:
</div>
[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

View File

@@ -103,7 +103,7 @@ a valid path to any icon bundled with the theme, which are located in the
</div>
[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

View File

@@ -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

View File

@@ -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:

View File

@@ -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: {