ultrabug / mkdocs-static-i18n

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

site_url is required to build #243

Closed buttle closed 11 months ago

buttle commented 11 months ago

Hi,

My mkdocs.yml does not include site_url https://www.mkdocs.org/user-guide/configuration/#site_url

Before upgrading to 1.0.0, ''mkdocs build` worked fine. Now it throws an error

mkdocs_static_i18n/reconfigure.py", line 323, in reconfigure_material_theme base_url = urlsplit(config.site_url).path.rstrip("/")

If I include site_url in mkdocs.yml the site builds without error.

FYI.

Thanks again.

ultrabug commented 11 months ago

Thanks, fixed in 1.0.1