You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use the markdown-include plugin for placing those includes throughout my docs. Typically I just call upon it like [!./includes/include1.md!].
But, because you have to set a base_path for the includes, this is breaking mkdocs-static-i18n. Just setting the base_path as docs doesn't work -- it has to be docs/en or docs/ja. But, then you have to pick one language or the other, which defeats the purpose of the localized site.
Is there someway to tell another plugin that it should be using whatever two-letter i18n code in that base_path, relative to what site it's on? Something like docs/**?
The text was updated successfully, but these errors were encountered:
I have a mkdocs site available in both English and Japanese. It's structured like so:
I use the markdown-include plugin for placing those includes throughout my docs. Typically I just call upon it like [!./includes/include1.md!].
But, because you have to set a
base_path
for the includes, this is breaking mkdocs-static-i18n. Just setting the base_path asdocs
doesn't work -- it has to bedocs/en
ordocs/ja
. But, then you have to pick one language or the other, which defeats the purpose of the localized site.Is there someway to tell another plugin that it should be using whatever two-letter i18n code in that base_path, relative to what site it's on? Something like docs/**?
The text was updated successfully, but these errors were encountered: