From 0927a9911b7a5cd7ccc5fc82468cc3a96ba14fc0 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Thu, 3 Sep 2020 12:52:27 +0200 Subject: [PATCH] [CI] Use lighter Emacs image, remove validation links in HTML The docker image used is now Emacs on Alpine, which should be lighter than the previous one. The validation link is also now disabled in HTML exports. --- .drone.yml | 2 +- export.el | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 0e4c927..7688cfe 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,7 +3,7 @@ name: default steps: - name: build - image: silex/emacs:27 + image: silex/emacs:27-alpine commands: - pwd - ls -ahl diff --git a/export.el b/export.el index 2df70fa..085937e 100755 --- a/export.el +++ b/export.el @@ -6,7 +6,8 @@ (package-install 'htmlize) (package-install 's) (require 's) -(setq org-confirm-babel-evaluate nil) +(setq org-confirm-babel-evaluate nil + org-html-validation-link nil) (let* ((files (mapcar #'expand-file-name (file-expand-wildcards "org/config/*.org")))) (mapc (lambda (file)