Use html5s backend by default in AsciiDoctor
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
This commit is contained in:
parent
bda9677e11
commit
f23be3b9e2
|
@ -1 +1,2 @@
|
|||
*
|
||||
!asciidoctor-html5s
|
||||
|
|
10
Dockerfile
10
Dockerfile
|
@ -1,5 +1,11 @@
|
|||
FROM archlinux:latest
|
||||
|
||||
# Add AUR repo
|
||||
RUN pacman-key --init && \
|
||||
pacman-key -r marko@korhonen.cc && \
|
||||
pacman-key --lsign-key F2B9F713E7ED627336DD85E444FA3F28CD931BB0 && \
|
||||
printf "\n\n[korhonen_aur]\nServer = https://index.korhonen.cc/repo/arch_linux/korhonen_aur/x86_64\n" >> /etc/pacman.conf
|
||||
|
||||
# Update base
|
||||
RUN pacman -Syu --noconfirm
|
||||
|
||||
|
@ -10,3 +16,7 @@ RUN pacman -S asciidoctor --noconfirm
|
|||
RUN pacman -S ruby-rouge --noconfirm
|
||||
RUN pacman -S npm --noconfirm
|
||||
RUN pacman -S git --noconfirm
|
||||
RUN pacman -S ruby-asciidoctor-html5s
|
||||
|
||||
# Add script to run asciidoctor with html5s backend
|
||||
COPY ./asciidoctor-html5s /usr/local/sbin/asciidoctor
|
||||
|
|
|
@ -13,6 +13,7 @@ was too old.
|
|||
* Included dependencies (latest versions available for Arch Linux at build time)
|
||||
** Hugo
|
||||
** AsciiDoctor
|
||||
*** Uses link::https://github.com/jirutka/asciidoctor-html5s[html5s backend] by default
|
||||
** go
|
||||
** Rouge syntax highlighter
|
||||
** npm and nodejs
|
||||
|
|
3
asciidoctor-html5s
Executable file
3
asciidoctor-html5s
Executable file
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
/usr/sbin/asciidoctor -r asciidoctor-html5s -b html5s "$@"
|
Loading…
Reference in a new issue