Fixed icon search

This commit is contained in:
squidfunk 2023-09-20 14:59:25 +02:00
parent da3b2b33b6
commit 0392073055
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
5 changed files with 6 additions and 6 deletions

View File

@ -242,7 +242,7 @@ only the `inline` modifier:
``` markdown ``` markdown
!!! info inline end "Lorem ipsum" !!! info inline end "Lorem ipsum"
Lorem ipsum dolor sit amet, consectetur Lorem ipsum dolor sit amet, consectetur
adipiscing elit. Nulla et euismod nulla. adipiscing elit. Nulla et euismod nulla.
Curabitur feugiat, tortor non consequat Curabitur feugiat, tortor non consequat
@ -501,5 +501,5 @@ After applying the customization, you can use the custom admonition type:
</div> </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 [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> </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 #### with colors

View File

@ -197,7 +197,7 @@ The following properties are available for each rating:
[analytics]: #google-analytics [analytics]: #google-analytics
[feedback report]: ../assets/screenshots/feedback-report.png [feedback report]: ../assets/screenshots/feedback-report.png
[custom feedback integration]: #custom-site-feedback [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/ [Google Forms]: https://www.google.com/forms/about/
## Usage ## 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) # Allow users to put the logo inside their custom_dir (theme["icon"]["logo"] case)
if theme.custom_dir: if theme.custom_dir:

View File

@ -295,7 +295,7 @@ const index$ = zip(icons$, emojis$)
const cdn = "https://raw.githubusercontent.com" const cdn = "https://raw.githubusercontent.com"
return { return {
icons: { icons: {
base: `${cdn}/squidfunk/mkdocs-material/master/material/.icons/`, base: `${cdn}/squidfunk/mkdocs-material/master/material/templates/.icons/`,
data: Object.fromEntries(icons) data: Object.fromEntries(icons)
}, },
emojis: { emojis: {