Refactor Moire files.

This commit is contained in:
Sergey Vartanov 2022-05-20 02:44:28 +03:00
parent 7ef98325de
commit d1214bec35
5 changed files with 3 additions and 2 deletions

View file

@ -11,7 +11,7 @@ __url__ = "https://github.com/enzet/map-machine"
__doc_url__ = f"{__url__}/blob/main/README.md" __doc_url__ = f"{__url__}/blob/main/README.md"
__author__ = "Sergey Vartanov" __author__ = "Sergey Vartanov"
__email__ = "me@enzet.ru" __email__ = "me@enzet.ru"
__version__ = "0.1.3" __version__ = "0.1.4"
REQUIREMENTS: list[str] = [ REQUIREMENTS: list[str] = [
"CairoSVG>=2.5.0", "CairoSVG>=2.5.0",

View file

@ -302,4 +302,5 @@ def convert(input_path: Path, output_path: Path) -> None:
if __name__ == "__main__": if __name__ == "__main__":
for id_ in "readme", "contributing": for id_ in "readme", "contributing":
convert(Path("doc") / f"{id_}.moi", Path(f"{id_.upper()}.md")) convert(Path("doc") / "moi" / f"{id_}.moi", Path(f"{id_.upper()}.md"))
convert(Path("doc") / "moi" / "install.moi", Path("doc") / "INSTALL.md")