aboutsummaryrefslogtreecommitdiffstats
path: root/publish.el
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-09-19 01:48:05 +0100
committerYann Herklotz <git@yannherklotz.com>2021-09-19 01:48:05 +0100
commita2cee6bf9698e3dec54dd40385ccf7eb127270ab (patch)
tree4ceb2946d8cc3b417942aab0cfd47ccb5f6b4322 /publish.el
parent3b2ce146bc6e651df8ac9910d08da05d88c06fb6 (diff)
downloadvericert-docs-a2cee6bf9698e3dec54dd40385ccf7eb127270ab.tar.gz
vericert-docs-a2cee6bf9698e3dec54dd40385ccf7eb127270ab.zip
Add factoring out of documentation
Diffstat (limited to 'publish.el')
-rw-r--r--publish.el8
1 files changed, 8 insertions, 0 deletions
diff --git a/publish.el b/publish.el
index f18c449..1b01a84 100644
--- a/publish.el
+++ b/publish.el
@@ -9,4 +9,12 @@
(require 'ox)
(require 'ox-hugo)
+(setq org-export-use-babel 'inline-only
+ org-confirm-babel-evaluate nil)
+
+(defun ymhg/link (arg1 arg2)
+ (cond
+ ((eq 'hugo org-export-current-backend) arg1)
+ (t arg2)))
+
(org-hugo-export-wim-to-md :all-subtrees)