From: Dietmar Maurer Date: Tue, 18 Oct 2016 11:31:38 +0000 (+0200) Subject: use the html5 backend for asciidoc X-Git-Url: https://git.proxmox.com/?p=pve-docs.git;a=commitdiff_plain;h=8faad89e8601e188e551af852e679c6d9b61990d;hp=9242ce61a266751b7490bd64ecc1318fb25064bc;ds=sidebyside use the html5 backend for asciidoc --- diff --git a/Makefile b/Makefile index 2681a46..d0474aa 100644 --- 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 diff --git a/asciidoc-pve.in b/asciidoc-pve.in index 97c5bf2..5ad2a71 100644 --- a/asciidoc-pve.in +++ b/asciidoc-pve.in @@ -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'));