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 2681a46..d0474aa 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 97c5bf2..5ad2a71 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'));