ultrabug / mkdocs-static-i18n

MkDocs i18n plugin using static translation markdown files
https://ultrabug.github.io/mkdocs-static-i18n/
MIT License
219 stars 37 forks source link

Link setting error on homepage (`index.md` `index.html`) #261

Closed RonaldLN closed 9 months ago

RonaldLN commented 10 months ago

When building a webpage using mkdocs-material and using the mkdocs-static-i18n plugin to set multiple language selection functions, the link settings on the homepage (index.md index.html) are incorrect 无标题 无标题2

ultrabug commented 9 months ago

Hello @RonaldLN

This is because you are missing the site_url configuration in your mkdocs.yml file.

You should add: site_url: https://ronaldln.github.io/MyPamphlet

RonaldLN commented 8 months ago

Hello @RonaldLN

This is because you are missing the site_url configuration in your mkdocs.yml file.

You should add: site_url: https://ronaldln.github.io/MyPamphlet

oh, it works, thanks you very much!! @ultrabug 😆