[core/doc] add autogenerated warning to modules.rst

This commit is contained in:
tobi-wan-kenobi 2020-07-18 08:14:23 +02:00
parent 83a4be3bc0
commit df29627983
2 changed files with 7 additions and 0 deletions

View file

@ -71,6 +71,11 @@ class print_usage(argparse.Action):
)
rst = {}
if self._format == "rst":
print(".. THIS DOCUMENT IS AUTO-GENERATED, DO NOT MODIFY")
print(".. To change this document, please update the docstrings in the individual modules")
for m in all_modules():
try:
module_type = "core"

View file

@ -1,3 +1,5 @@
.. THIS DOCUMENT IS AUTO-GENERATED, DO NOT MODIFY
.. To change this document, please update the docstrings in the individual modules
List of modules
===============