From 24becc5a37e3f4a916fa2d47a5f4ec5e02452b96 Mon Sep 17 00:00:00 2001 From: Erica Portnoy Date: Fri, 22 Nov 2019 17:44:41 -0800 Subject: [PATCH] add docs/api file for main, and fix up main comment --- certbot/certbot/main.py | 2 +- certbot/docs/api/main.rst | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 certbot/docs/api/main.rst diff --git a/certbot/certbot/main.py b/certbot/certbot/main.py index 4e1525575..e947d4348 100644 --- a/certbot/certbot/main.py +++ b/certbot/certbot/main.py @@ -9,7 +9,7 @@ logger = logging.getLogger(__name__) def main(cli_args=None): - """Shim around internal main script execution. + """Command line argument parsing and main script execution. :returns: result of requested command diff --git a/certbot/docs/api/main.rst b/certbot/docs/api/main.rst new file mode 100644 index 000000000..d9dda841d --- /dev/null +++ b/certbot/docs/api/main.rst @@ -0,0 +1,5 @@ +:mod:`certbot.main` +------------------------------ + +.. automodule:: certbot.main + :members: