Closed Andygol closed 1 year ago
Thanks for detailing the issue and what you'd like @Andygol
Let me think about it, having a full URL as a link is easy. Finding the right option for the locale
raises more questioning tho...
@Andygol you'll be happy to hear that I've proposed #270 to allow that behavior using the null
locale along with a fixed_link
usage.
Tests are OK + I added a special section in the documentation about this feature
🙏 Thank you very much for the implementation. This will make it possible to keep all necessary parameters with translation in one place in mkdocs.yml
. I look forward to the release.
Version 1.1.0 is out
I am attempting to replicate the following approach to encourage users to participate in the translation of a project based on Materials for MkDocs. This involves placing a call to action in the language menu drop-down, similar to what is done on the https://spaceship-prompt.sh website.
In the spaceship-prompt repo I found next code
I would prefer not to use
alternate
but leverage the capabilities of mkdocs-static-i18n for implementing the language switcher.Unfortunately, I got next
Even if I specified valid locale ISO-code,
link
is still invalidCould you consider adding such a call to action option to facilitate translation efforts?