docs/parse-support-md: Do caveats properly (!)
authorIan Jackson <ian.jackson@eu.citrix.com>
Wed, 25 Apr 2018 12:48:27 +0000 (13:48 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 25 Apr 2018 13:26:18 +0000 (14:26 +0100)
commit82fed8530d8832a9a7b99554dfc49b041351785a
tree841b862d3fbf88b452afe7bdcd4e03ab92acbcd9
parentb27ea926564a91c6517a501e5c19ee95998dbca8
docs/parse-support-md: Do caveats properly (!)

Each document has its own objects in @insections.  Only the first
RealSect encountered ends up in the main $toplevel_sectlist tree.

This means that trying to unify the Caveats information for all
version in the RealSect (the $insection) does not work.  The caveats
for all versions that aren't the first one where this section was seen
end up in the @insections array during parsing of that version, but
not recorded in the main tree.

The result was that footnotes would only appear in the output for
versions which were the most recent version where that feature row or
category appeared.  The other footnotes would be lost.

Instead, store HasCaveat in the sectnode.  That means ri_Para needs to
find the sectnode.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Release-acked-by: Juergen Gross <jgross@suse.com>
docs/parse-support-md