mkdocs-static-i18n
mkdocs-static-i18n copied to clipboard
Warning when homepage is not in nav
Hi, in my mkdocs setup I do not include index.md file in nav, as I don't want to show it in my navigation bar. Since click on logo is sufficient entrypoint to homepage for me, I have configured index.md as not_in_nav entry like this:
not_in_nav: |
/index.md
However mkdocs-static-i18n still reports it as warning:
WARNING - mkdocs_static_i18n: Could not find a homepage for locale 'en'
The problem is that it breaks a strict mkdocs build, with no way to supress this warning (as far as I know). How can this issue be corrected?
The plugin is not fully up to date with newer MkDocs features such as not_in_nav, so the warning should be issued only if the page is indeed included.
That's TODO.