Add a check for history section location to find-doc-nits
authorJoshua Lock <jlock@vmware.com>
Tue, 9 Apr 2019 14:10:08 +0000 (15:10 +0100)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Mon, 15 Apr 2019 10:26:49 +0000 (12:26 +0200)
commit3b01f353b8533f2d66f7411c3513d9444ba68329
tree70ef68d04ba588de02964de2489b9ffb4936c108
parent32a775df9b720781220556549d7e52c45ebb562d
Add a check for history section location to find-doc-nits

Check that the HISTORY section is located after the SEE ALSO section,
this is a much more frequent order in OpenSSL manual pages (and UNIX
manual pages in general).

Also check that SEE ALSO comes after EXAMPLES, so that the tool can
ensure the correct manual section sequence.

Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit 573ac8f2228241771f727ecd8ff10f54073536d3)

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8736)
util/find-doc-nits