diff --git a/bumblebee_status/core/config.py b/bumblebee_status/core/config.py index 94a92e5..c84d10c 100644 --- a/bumblebee_status/core/config.py +++ b/bumblebee_status/core/config.py @@ -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" diff --git a/docs/modules.rst b/docs/modules.rst index a258899..048eeeb 100644 --- a/docs/modules.rst +++ b/docs/modules.rst @@ -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 ===============