mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-06-14 20:57:41 +00:00
whitespace cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
9e773815bc
commit
cf96251f13
@ -582,11 +582,11 @@ if ($clicmd eq 'compile-wiki') {
|
|||||||
print "var pveOnlineHelpInfo = ${data_str};\n";
|
print "var pveOnlineHelpInfo = ${data_str};\n";
|
||||||
|
|
||||||
} elsif ($clicmd eq 'chapter-table') {
|
} elsif ($clicmd eq 'chapter-table') {
|
||||||
|
|
||||||
print '[width="100%",options="header"]' . "\n";
|
print '[width="100%",options="header"]' . "\n";
|
||||||
print "|====\n";
|
print "|====\n";
|
||||||
print "|Title|Link\n";
|
print "|Title|Link\n";
|
||||||
|
|
||||||
my $filelist = $fileinfo->{outfile}->{default};
|
my $filelist = $fileinfo->{outfile}->{default};
|
||||||
foreach my $sourcefile (sort keys %$filelist) {
|
foreach my $sourcefile (sort keys %$filelist) {
|
||||||
my $target = $filelist->{$sourcefile};
|
my $target = $filelist->{$sourcefile};
|
||||||
@ -595,16 +595,16 @@ if ($clicmd eq 'compile-wiki') {
|
|||||||
die "not title for '$sourcefile'";
|
die "not title for '$sourcefile'";
|
||||||
print "|$title|link:$target\[\]\n";
|
print "|$title|link:$target\[\]\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "|====\n";
|
print "|====\n";
|
||||||
|
|
||||||
} elsif ($clicmd =~ m/^man([158])page-table$/) {
|
} elsif ($clicmd =~ m/^man([158])page-table$/) {
|
||||||
|
|
||||||
my $section = $1;
|
my $section = $1;
|
||||||
print '[width="100%",cols="5*d",options="header"]' . "\n";
|
print '[width="100%",cols="5*d",options="header"]' . "\n";
|
||||||
print "|====\n";
|
print "|====\n";
|
||||||
print "|Name 3+|Title|Link\n";
|
print "|Name 3+|Title|Link\n";
|
||||||
|
|
||||||
my $filelist = $fileinfo->{outfile}->{manvolnum};
|
my $filelist = $fileinfo->{outfile}->{manvolnum};
|
||||||
foreach my $manpage (sort keys %$filelist) {
|
foreach my $manpage (sort keys %$filelist) {
|
||||||
next if $section ne $fileinfo->{mansection}->{manvolnum}->{$manpage};
|
next if $section ne $fileinfo->{mansection}->{manvolnum}->{$manpage};
|
||||||
@ -618,8 +618,8 @@ if ($clicmd eq 'compile-wiki') {
|
|||||||
|
|
||||||
my $target = $filelist->{$manpage};
|
my $target = $filelist->{$manpage};
|
||||||
print "|$mantitle 3+|$title|link:$target.html\[$target\]\n";
|
print "|$mantitle 3+|$title|link:$target.html\[$target\]\n";
|
||||||
}
|
}
|
||||||
|
|
||||||
print "|====\n";
|
print "|====\n";
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user