We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Really enjoying this project, running into a difficulty combing mike publishing and mkdocs-static-i18n language control.
mike
mkdocs-static-i18n
I am sure I just do not understand the interaction between these two plugins.
From the "home" page the language chooser is ending up directing to 404 page:
From here https://jodygarnett.github.io/core-geonetwork/4.2.5/ selecting fr 404: https://jodygarnett.github.io/fr/
fr
From https://jodygarnett.github.io/core-geonetwork/4.2.5/fr/ selecting en 200 (but empty): https://jodygarnett.github.io
en
From https://jodygarnett.github.io/core-geonetwork/4.2.5/devel/docs/markdown/ selecting fr 200: https://jodygarnett.github.io/core-geonetwork/4.2.5/fr/devel/docs/markdown/
My mkdocs.yaml configuration is I hope normal:
mkdocs.yaml
plugins: - i18n: docs_structure: suffix reconfigure_material: true languages: - locale: en default: true name: English build: true - locale: fr name: Français build: !ENV [FRENCH,true] site_name: 'Online Help (FR)'
And am deploying to mike using (there is no special mike configuration set):
mike deploy --push --update-aliases 4.2.5 latest
The text was updated successfully, but these errors were encountered:
Indeed I run into similar issues testing mike serve locally.
mike serve
Sorry, something went wrong.
Oh dear, if I read the manual site_url is required, which addresses this problem.
site_url
Thanks 🤣
No branches or pull requests
Really enjoying this project, running into a difficulty combing
mike
publishing andmkdocs-static-i18n
language control.I am sure I just do not understand the interaction between these two plugins.
From the "home" page the language chooser is ending up directing to 404 page:
From here https://jodygarnett.github.io/core-geonetwork/4.2.5/ selecting
fr
404: https://jodygarnett.github.io/fr/From https://jodygarnett.github.io/core-geonetwork/4.2.5/fr/ selecting
en
200 (but empty): https://jodygarnett.github.ioFrom https://jodygarnett.github.io/core-geonetwork/4.2.5/devel/docs/markdown/ selecting
fr
200: https://jodygarnett.github.io/core-geonetwork/4.2.5/fr/devel/docs/markdown/My
mkdocs.yaml
configuration is I hope normal:And am deploying to mike using (there is no special mike configuration set):
The text was updated successfully, but these errors were encountered: