To make this plugin compatible with the mkdocs-static-i18n plugin it have to be deep copyable. It should also get the config from the object passed to the on_config event and not the locale one, because the i18n plugin prefixes the output_path with the language on a deep copied config.
Overall PR: https://github.com/mkdocs/mkdocs/pull/2487
To make this plugin compatible with the mkdocs-static-i18n plugin it have to be deep copyable. It should also get the config from the object passed to the on_config event and not the locale one, because the i18n plugin prefixes the output_path with the language on a deep copied config.