From 72b25e2b0e3ffea4b1523c2c99f6bee99dd0d0d1 Mon Sep 17 00:00:00 2001 From: Marko Korhonen Date: Sat, 3 Feb 2024 19:38:19 +0200 Subject: [PATCH] Remove asciidoctor-html5s script Hugo has a way to to define the backend in the site configuration. See: https://git.korhonen.cc/FunctionalHacker/korhonen.cc/src/branch/main/config/_default/markup.toml --- Dockerfile | 3 --- README.adoc | 2 +- asciidoctor-html5s | 3 --- 3 files changed, 1 insertion(+), 7 deletions(-) delete mode 100755 asciidoctor-html5s diff --git a/Dockerfile b/Dockerfile index 57c8e14..fec2c92 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,3 @@ RUN pacman -S ruby-rouge --noconfirm RUN pacman -S npm --noconfirm RUN pacman -S git --noconfirm RUN pacman -S ruby-asciidoctor-html5s --noconfirm - -# Add script to run asciidoctor with html5s backend -COPY ./asciidoctor-html5s /usr/local/sbin/asciidoctor diff --git a/README.adoc b/README.adoc index 3973d2e..69bbdc0 100644 --- a/README.adoc +++ b/README.adoc @@ -13,7 +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[AsciiDoctor html5s backend] by default +*** link:https://github.com/jirutka/asciidoctor-html5s[AsciiDoctor html5s backend] ** go ** Rouge syntax highlighter ** npm and nodejs diff --git a/asciidoctor-html5s b/asciidoctor-html5s deleted file mode 100755 index f19ba10..0000000 --- a/asciidoctor-html5s +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh - -/usr/sbin/asciidoctor -r asciidoctor-html5s -b html5s "$@"