From 74bece01a89bcc5dede24b614b951ce9627c8466 Mon Sep 17 00:00:00 2001 From: Correl Date: Sun, 5 Feb 2023 17:46:50 -0500 Subject: [PATCH] [emacs] Add cookbook publishing --- .doom.d/config.org | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.doom.d/config.org b/.doom.d/config.org index 93a5d31..35b2141 100644 --- a/.doom.d/config.org +++ b/.doom.d/config.org @@ -647,6 +647,25 @@ Tell Emacs how to build the document collections I export to HTML. :publishing-function org-html-publish-to-tufte-html) ("work" :components ("work-html" "work-roam-html" "work-todo" "work-assets" "work-themes")) + ("cookbook-html" + :base-directory "~/org/cookbook" + :base-extension "org" + :publishing-directory "~/Public/cookbook" + :recursive t + :with-toc nil + :section-numbers nil + :auto-sitemap nil + :publishing-function org-html-publish-to-html + :html-head "") + + ("cookbook-assets" + :base-directory "~/org/cookbook" + :base-extension "css\\|js\\|json\\|gif\\|jpe?g\\|png\\|svg\\|pdf" + :publishing-directory "~/Public/cookbook" + :publishing-function org-publish-attachment + :recursive t) + ("cookbook" :components ("cookbook-html" "cookbook-assets")) + ("dotfiles-common" :base-directory "~/dotfiles" :publishing-directory "~/Public/dotfiles"