-
Hi there, first and foremost, thanks for your awesome work. How does the mkdocs.yml "nav:" part have to look to work? Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I assume you mean the language selector, which is effectively a dropdown with links that should point to separate MkDocs projects. For example, if you want to support
Then, in each of the |
Beta Was this translation helpful? Give feedback.
I assume you mean the language selector, which is effectively a dropdown with links that should point to separate MkDocs projects. For example, if you want to support
en
,fr
andde
, it is recommended that you create the following file structure:Then, in each of the
mkdocs.yml
, add the language selector configuration as explained in the documentation. Note that in eachmkdocs.yml
, you should have definedsite_url
with the respective language, i.e.<your-site>/en/
. The navigation itself is self-contained for each language.