docs: make each libcurl man specify protocol(s)

The mandatory header now has a mandatory list of protocols for which the
manpage is relevant.

Most man pages already has a "PROTOCOLS" section, but this introduces a
stricter way to specify the relevant protocols.

cd2nroff verifies that at least one protocol is mentioned (which can be
`*`).

This information is not used just yet, but A) the PROTOCOLS section can
now instead get generated and get a unified wording across all manpages
and B) this allows us to more reliably filter/search for protocol
specific manpages/options.

Closes #13166
This commit is contained in:
Daniel Stenberg 2024-03-21 11:50:20 +01:00
parent 98f67a6145
commit b935fd4a07
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
498 changed files with 1117 additions and 2 deletions

View file

@ -7,6 +7,8 @@ Source: libcurl
See-also:
- curl_easy_cleanup (3)
- curl_easy_reset (3)
Protocol:
- *
---
# NAME