Add section order check in util/find-doc-nits
authorPaul Yang <yang.yang@baishancloud.com>
Tue, 26 Feb 2019 05:51:02 +0000 (13:51 +0800)
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Mon, 15 Apr 2019 10:26:49 +0000 (12:26 +0200)
commita345fa370e6acd1293e7370a85266e87dc7ebc38
tree00aca9788a38773e0930211e952bec1d5d817964
parentd090fc0019b8ef04bcae8c7eafe98950a9694fc8
Add section order check in util/find-doc-nits

This patch checks if the EXAMPLES section in a pod file is placed
before the RETURN VALUES section.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(cherry picked from commit cc838ee2d66f7295bf7a7e6695aab1080d6791e9)

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