Closed mondeja closed 2 years ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
mkdocs_mdpo_plugin/plugin.py | 70 | 74 | 94.59% | ||
mkdocs_mdpo_plugin/config.py | 12 | 19 | 63.16% | ||
<!-- | Total: | 139 | 150 | 92.67% | --> |
Totals | |
---|---|
Change from base Build 999587926: | -0.5% |
Covered Lines: | 455 |
Relevant Lines: | 472 |
Fixes #17
This is done, the problem is that PO files inside
docs/
folder are written during the build, even if are written onpost_build
event. The possible solutions are:docs/
. It seems very convenient to store them there, but currently Mkdocs does not offer a way to write todocs/
without entering in a infinite reload loop when serving files. Just usinglocale_dir
and documeting it.Breaking changes
dest_filename_template
has been changed from{{language}}/{{page.file.dest_path}}
to{{language}}/{{file.dest_path}}
.