]> git.proxmox.com Git - pve-docs.git/commitdiff
use the html5 backend for asciidoc
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Oct 2016 11:31:38 +0000 (13:31 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 18 Oct 2016 11:31:38 +0000 (13:31 +0200)
Makefile
asciidoc-pve.in

index 2681a46545ab84fb966b8bc00f0d71c0ecf1eacf..d0474aad239e037adf16de6c10a75c1d5969f95c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,7 @@ INDEX_INCLUDES=                                                               \
        pve-admin-guide.epub                                            \
        $(sort $(addsuffix .html, ${MANUAL_PAGES}) ${CHAPTER_LIST})
 
-ADOC_STDARG= -a icons -a data-uri -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}"
+ADOC_STDARG= -b html5 -a icons -a data-uri -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}"
 
 BROWSER?=xdg-open
 
index 97c5bf2315e5feb64801e5dbe61b9673ba64ecfa..5ad2a715d190ff87ce34383edadd67b30f27ef9a 100644 (file)
@@ -372,7 +372,7 @@ sub compile_asciidoc {
        $attributes->{icons} = undef;
        $attributes->{'data-uri'} = undef;
 
-       my $cmd = ['asciidoc'];
+       my $cmd = ['asciidoc', '-b', 'html5'];
 
        push @$cmd, '-s' if ($env eq 'wiki') ||
            (($env eq 'manvolnum') && ($man_target eq 'wiki'));