Skip empty calls in the NAME section after the .Nm macro call.
This makes the following difference: -groff_mdoc(7), -(7) - groff_mdoc reference for groff's mdoc implementation +groff_mdoc(7) - reference for groff's mdoc implementation
This commit is contained in:
parent
dbe2b3e23c
commit
cd41d1bdf6
@ -361,6 +361,7 @@ sub manual {
|
||||
last if /^\.Sh/;
|
||||
chop;
|
||||
s/^\.\\".*$//; #" delete comments
|
||||
next if /^\.[ \t]*$/; # skip empty calls
|
||||
if (/^\.Nm/) {
|
||||
s/^\.Nm[ \t]*//;
|
||||
s/ ,/,/g;
|
||||
|
Loading…
Reference in New Issue
Block a user