mirror of
https://github.com/certbot/certbot.git
synced 2026-05-28 04:34:11 -04:00
docs: generate a man page with a structure (#9561)
If you looked at [the Debian man page for Certbot](https://manpages.debian.org/bullseye/certbot/certbot.1.en.html) or [the FreeBSD one](https://man.freebsd.org/cgi/man.cgi?query=certbot&sektion=1&apropos=0&manpath=FreeBSD+13.1-RELEASE+and+Ports), you will notice that the entire document is in the "NAME" section. It looks weird in particular on the [FreeBSD man page listing](https://man.freebsd.org/cgi/man.cgi?query=certbot&apropos=1&sektion=0&manpath=FreeBSD+13.1-RELEASE+and+Ports&arch=default&format=html). This PR adds some structure to the man page by adding a new "Synopsis" section (lifted from the Certbot snap's synopsis) and shoving the `certbot --help all` output into a new "Options" section. I think this should be sustainable for us, without having to worry about the man page in particular. Fixes #9560.
This commit is contained in:
parent
71a14f5193
commit
724635bbbd
2 changed files with 22 additions and 2 deletions
|
|
@ -286,7 +286,7 @@ latex_documents = [
|
|||
man_pages = [
|
||||
('index', 'certbot', u'Certbot Documentation',
|
||||
[project], 7),
|
||||
('man/certbot', 'certbot', u'certbot script documentation',
|
||||
('man/certbot', 'certbot', u"Automatically configure HTTPS using Let's Encrypt",
|
||||
[project], 1),
|
||||
]
|
||||
|
||||
|
|
|
|||
|
|
@ -1,3 +1,23 @@
|
|||
:orphan:
|
||||
|
||||
.. literalinclude:: ../cli-help.txt
|
||||
=======
|
||||
certbot
|
||||
=======
|
||||
|
||||
Synopsis
|
||||
========
|
||||
The objective of Certbot, Let's Encrypt, and the ACME (Automated Certificate Management
|
||||
Environment) protocol is to make it possible to set up an HTTPS server and have it automatically
|
||||
obtain a browser-trusted certificate, without any human intervention. This is accomplished by
|
||||
running a certificate management agent on the web server.
|
||||
|
||||
This agent is used to:
|
||||
|
||||
- Automatically prove to the Let's Encrypt CA that you control the website
|
||||
- Obtain a browser-trusted certificate and set it up on your web server
|
||||
- Keep track of when your certificate is going to expire, and renew it
|
||||
- Help you revoke the certificate if that ever becomes necessary.
|
||||
|
||||
Options
|
||||
=======
|
||||
.. literalinclude:: ../cli-help.txt
|
||||
Loading…
Reference in a new issue