ultrabug / mkdocs-static-i18n

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

site_url is required to build #243

Closed buttle closed 1 year ago

buttle commented 1 year 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 1 year ago

Thanks, fixed in 1.0.1