1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-04 12:00:25 +00:00

[Export docs] Move docs to platform folders.

This commit is contained in:
bruvzg
2023-04-19 12:23:22 +03:00
parent 27253f3eb2
commit a5128e71bb
16 changed files with 75 additions and 5 deletions

View File

@@ -567,7 +567,7 @@ def main() -> None:
if path.endswith("/") or path.endswith("\\"):
path = path[:-1]
if os.path.basename(path) == "modules":
if os.path.basename(path) in ["modules", "platform"]:
for subdir, dirs, _ in os.walk(path):
if "doc_classes" in dirs:
doc_dir = os.path.join(subdir, "doc_classes")