"Raises" section in autogenerated markdown, warning for uploading a package ending in _build

This commit is contained in:
2026-01-22 06:08:36 +11:00
parent d8cddfbbd4
commit 6823f64541
3 changed files with 6 additions and 1 deletions

View File

@@ -89,6 +89,8 @@ def build(args):
f.write("- myArgument (double): describe your arguments in a list format like this.\n\n")
f.write("## Returns\n")
f.write("result (int): then explain what the function returns\n\n")
f.write("## Raises\n")
f.write("- `ErrorName`: have your error reason here, include this if your function raises any errors\n")
f.write("## Example\n")
f.write("```python\n")
f.write("# then show how you use the function in an example\n")