mirror of
https://git.proxmox.com/git/pmg-docs
synced 2025-08-06 07:09:12 +00:00
asciidoc-pmg.in: correctly strip service names
This commit is contained in:
parent
43a4977702
commit
8e976f4c43
@ -605,7 +605,7 @@ if ($clicmd eq 'compile-wiki') {
|
||||
die "not title for '$manpage'";
|
||||
|
||||
# hack - remove command name prefix from titles
|
||||
$title =~ s/^[a-z]+\s*-\s*//;
|
||||
$title =~ s/^[a-z_\-]+\s+-\s*//;
|
||||
|
||||
my $target = $filelist->{$manpage};
|
||||
print "|$mantitle 3+|$title|link:$target.html\[$target\]\n";
|
||||
|
Loading…
Reference in New Issue
Block a user