]> git.proxmox.com Git - pve-docs.git/blobdiff - asciidoc-pve.in
html: use new table-of-contents (toc2) also for individual chapters
[pve-docs.git] / asciidoc-pve.in
index d1a754d5a0f5034d15e4f95a4287d4065b12c1c8..bbaf5972d87db049444c38fcadb8130ccd57f44c 100644 (file)
@@ -327,7 +327,7 @@ sub compile_asciidoc {
        $attributes->{manvolnum} = $mansection;
     } elsif ($env eq 'default') {
        die "$infile: wrong doctype\n" if $doctype != 0;
-       $attributes->{toc} = undef;
+       $attributes->{toc2} = undef;
     }
 
     if (!defined($outfile)) {