Create a podman-troubleshooting man page

Generated at build time from troubleshooting.md. Purpose is
to ship an actual man page to end users.

Much more complicated than initial guess, because there was
a bug in my Makefile man page filtering, the sed expression
that cleans up markdown that does not translate to roff.
All I've done here is reorder some of the expressions,
stripping off https links *before* we process
podman man page links.

Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
Ed Santiago
2024-08-26 13:44:49 -06:00
parent a19f42ead6
commit 5389eee737
15 changed files with 72 additions and 14 deletions

View File

@ -599,6 +599,10 @@ sub podman_man {
elsif ($line =~ /^\#\#\s+SEE\s+ALSO/) {
$section = 'see-also';
}
# New section or subsection within SEE ALSO: disable the '**' rules.
elsif ($line =~ /^\#\#+/ && $section eq 'see-also') {
$section = '';
}
elsif ($line =~ /^\#\#[^#]/) {
$section = '';
}