diff --git a/.github/CONTRIBUTING.md b/CONTRIBUTING.md similarity index 100% rename from .github/CONTRIBUTING.md rename to CONTRIBUTING.md diff --git a/map_machine/doc/moire_manager.py b/map_machine/doc/moire_manager.py index e5d4f60..c2213dc 100644 --- a/map_machine/doc/moire_manager.py +++ b/map_machine/doc/moire_manager.py @@ -301,5 +301,5 @@ def convert(input_path: Path, output_path: Path) -> None: if __name__ == "__main__": - convert(Path("doc/readme.moi"), Path("README.md")) - convert(Path("doc/contributing.moi"), Path(".github/CONTRIBUTING.md")) + for id_ in "readme", "contributing": + convert(Path("doc") / f"{id_}.moi", Path(f"{id_.upper()}.md"))