mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Documentation - Cleanup function documentation output
This commit is contained in:
parent
48a4e9682c
commit
d279a8e607
@ -13,7 +13,7 @@
|
|||||||
* 6: Tag Model <STRING> (default: "UserTexture1m_F")
|
* 6: Tag Model <STRING> (default: "UserTexture1m_F")
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Sucessfully Added Tag <BOOL>
|
* Successfully Added Tag <BOOL>
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* ["ace_victoryRed", "Victory Red", "ACE_SpraypaintRed", ["path\to\texture1.paa", "path\to\texture2.paa"], "path\to\icon.paa"] call ace_tagging_fnc_addCustomTag
|
* ["ace_victoryRed", "Victory Red", "ACE_SpraypaintRed", ["path\to\texture1.paa", "path\to\texture2.paa"], "path\to\icon.paa"] call ace_tagging_fnc_addCustomTag
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* 3: Tag Model <STRING> (default: "UserTexture1m_F")
|
* 3: Tag Model <STRING> (default: "UserTexture1m_F")
|
||||||
*
|
*
|
||||||
* Return Value:
|
* Return Value:
|
||||||
* Sucess <BOOL>
|
* Success <BOOL>
|
||||||
*
|
*
|
||||||
* Example:
|
* Example:
|
||||||
* success = [player, "z\ace\addons\tagging\UI\tags\black\0.paa"] call ace_tagging_fnc_tag
|
* success = [player, "z\ace\addons\tagging\UI\tags\black\0.paa"] call ace_tagging_fnc_tag
|
||||||
|
@ -334,8 +334,9 @@ def crawl_dir(addons_dir, directory, debug=False, lint_private=False):
|
|||||||
else:
|
else:
|
||||||
errors += 1
|
errors += 1
|
||||||
|
|
||||||
print()
|
if not debug:
|
||||||
errors += document_functions(addons_dir, components)
|
print()
|
||||||
|
errors += document_functions(addons_dir, components)
|
||||||
|
|
||||||
if errors != 0:
|
if errors != 0:
|
||||||
print("\n Unclean!\n {} errors".format(errors))
|
print("\n Unclean!\n {} errors".format(errors))
|
||||||
|
Loading…
Reference in New Issue
Block a user