From a1e67ddd7da51b9fa0e92b7a45b4fe081f6b66fd Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Mon, 25 Nov 2019 13:24:23 +0100 Subject: stylesheet quirks --- etc/virtio-spec-documentroot.conf | 1 + s2i/bin/assemble | 8 ++++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/etc/virtio-spec-documentroot.conf b/etc/virtio-spec-documentroot.conf index 77b7a82..c05446d 100644 --- a/etc/virtio-spec-documentroot.conf +++ b/etc/virtio-spec-documentroot.conf @@ -3,5 +3,6 @@ DocumentRoot /opt/app-root/src/output Options Indexes IndexOptions FancyIndexing DescriptionWidth=* + IndexStyleSheet kraxel.css Require all granted diff --git a/s2i/bin/assemble b/s2i/bin/assemble index 13fd195..18ee439 100755 --- a/s2i/bin/assemble +++ b/s2i/bin/assemble @@ -31,6 +31,10 @@ cp -av virtio-spec/*.{html,css,pdf} virtio-spec/images output echo "---> CSS fixup ..." cat <> output/*.css +@import url(kraxel.css); +EOF + +cat <> output/kraxel.css body { /* no extra long lines please */ max-width: 100ch; @@ -44,7 +48,7 @@ body { } EOF -echo "---> add README ..." +echo "---> add HEADER ..." cat <> output/HEADER.html

virtio specification

@@ -57,7 +61,7 @@ cat <> output/HEADER.html

  • print version (pdf).
    -

    directory index

    +

    Directory index

    EOF echo "---> Fix permissions ..." -- cgit