mirror of
https://github.com/enzet/map-machine.git
synced 2025-04-30 10:47:29 +02:00
Refactor and add documentation.
This commit is contained in:
parent
d2813da063
commit
010368dfea
10 changed files with 24 additions and 3 deletions
3
map_machine/doc/__init__.py
Normal file
3
map_machine/doc/__init__.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
"""
|
||||
Documentation utilities.
|
||||
"""
|
|
@ -313,5 +313,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"))
|
||||
convert(Path("readme.moi"), Path("../../README.md"))
|
||||
convert(Path("contributing.moi"), Path("../../.github/CONTRIBUTING.md"))
|
|
@ -0,0 +1,3 @@
|
|||
"""
|
||||
Specific map features: roads, directions, etc.
|
||||
"""
|
|
@ -0,0 +1,3 @@
|
|||
"""
|
||||
Map geometry: dealing with coordinates, projections.
|
||||
"""
|
|
@ -58,7 +58,7 @@ def main() -> None:
|
|||
|
||||
elif arguments.command == "taginfo":
|
||||
from map_machine.scheme import Scheme
|
||||
from map_machine.taginfo import write_taginfo_project_file
|
||||
from doc.taginfo import write_taginfo_project_file
|
||||
|
||||
write_taginfo_project_file(Scheme(workspace.DEFAULT_SCHEME_PATH))
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
"""
|
||||
OpenStreetMap-specific things.
|
||||
"""
|
|
@ -0,0 +1,3 @@
|
|||
"""
|
||||
Icons and points.
|
||||
"""
|
|
@ -0,0 +1,3 @@
|
|||
"""
|
||||
Tiles generation for slippy maps.
|
||||
"""
|
|
@ -0,0 +1,3 @@
|
|||
"""
|
||||
User interface.
|
||||
"""
|
Loading…
Add table
Reference in a new issue