X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=asciidoc-pve.in;h=d638a382c85d4e792e862c8cfabd10f911370161;hb=6bc5d54db736ab9362e92b234fc5c9129e4b77e7;hp=bbaf5972d87db049444c38fcadb8130ccd57f44c;hpb=396e1d03f2ef08e2a68962a43a67b6f9671d654a;p=pve-docs.git diff --git a/asciidoc-pve.in b/asciidoc-pve.in index bbaf597..d638a38 100644 --- a/asciidoc-pve.in +++ b/asciidoc-pve.in @@ -579,14 +579,14 @@ if ($clicmd eq 'compile-wiki') { my $data_str = to_json($res_data, { pretty => 1, canonical => 1 }); chomp $data_str; - print "var pveOnlineHelpInfo = ${data_str};\n"; + print "const pveOnlineHelpInfo = ${data_str};\n"; } elsif ($clicmd eq 'chapter-table') { - + print '[width="100%",options="header"]' . "\n"; print "|====\n"; print "|Title|Link\n"; - + my $filelist = $fileinfo->{outfile}->{default}; foreach my $sourcefile (sort keys %$filelist) { my $target = $filelist->{$sourcefile}; @@ -595,16 +595,16 @@ if ($clicmd eq 'compile-wiki') { die "not title for '$sourcefile'"; print "|$title|link:$target\[\]\n"; } - + print "|====\n"; } elsif ($clicmd =~ m/^man([158])page-table$/) { - + my $section = $1; print '[width="100%",cols="5*d",options="header"]' . "\n"; print "|====\n"; print "|Name 3+|Title|Link\n"; - + my $filelist = $fileinfo->{outfile}->{manvolnum}; foreach my $manpage (sort keys %$filelist) { next if $section ne $fileinfo->{mansection}->{manvolnum}->{$manpage}; @@ -618,8 +618,8 @@ if ($clicmd eq 'compile-wiki') { my $target = $filelist->{$manpage}; print "|$mantitle 3+|$title|link:$target.html\[$target\]\n"; - } - + } + print "|====\n"; } else {