Override language selector svg? #6554
Replies: 1 comment 3 replies
-
Hello @YozoraXCII, mkdocs-material/src/templates/partials/languages/en.html Lines 70 to 71 in 6b690e9 As for changing the icon you can do so, by setting the value in the theme:
icon:
alternate: material/file-document-multiple-outline or replacing another line in the partial override above. You might also opt into another approach of adding the version toggle with branch names via JavaScript. |
Beta Was this translation helpful? Give feedback.
-
I am looking to utilize the language selector to allow me to easily flip between three branches of the same docs file that I have.
I have the following in my mkdocs.yml which works as I expect:
I would now like to override the svg file that is used to instead be
.icons/material/file-document-multiple-outline.svg
Ideally I could also override the aria-label from
Select language
toSelect docs branch
Beta Was this translation helpful? Give feedback.
All reactions