Added SpriteSequence documentation generation

This commit is contained in:
penev92
2022-09-03 01:05:57 +03:00
committed by Matthias Mailänder
parent dc8c0221e7
commit c52913716c
3 changed files with 102 additions and 2 deletions

View File

@@ -39,8 +39,8 @@ def format_docs(version, collectionName, types):
explanation = "all traits with their properties and their default values plus developer commentary"
elif collectionName == "WeaponTypes":
explanation = "a template for weapon definitions and the types it can use (warheads and projectiles) with default values and developer commentary"
elif collectionName == "SequenceTypes":
explanation = "all sequence types with their properties and their default values plus developer commentary"
elif collectionName == "SpriteSequenceTypes":
explanation = "all sprite sequence types with their properties and their default values plus developer commentary"
print(f"This documentation is aimed at modders and has been automatically generated for version `{version}` of OpenRA. " +
"Please do not edit it directly, but instead add new `[Desc(\"String\")]` tags to the source code.\n")