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