mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-06-14 11:52:32 +03:00
Fixed icon search
This commit is contained in:
parent
da3b2b33b6
commit
0392073055
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
@ -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: {
|
||||||
|
Loading…
Reference in New Issue
Block a user