[emacs] Add cookbook publishing

This commit is contained in:
Correl Roush 2023-02-05 17:46:50 -05:00
parent 5a35b65651
commit 74bece01a8

View file

@ -647,6 +647,25 @@ Tell Emacs how to build the document collections I export to HTML.
:publishing-function org-html-publish-to-tufte-html) :publishing-function org-html-publish-to-tufte-html)
("work" :components ("work-html" "work-roam-html" "work-todo" "work-assets" "work-themes")) ("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 "<link rel=\"stylesheet\" href=\"https://gongzhitaao.org/orgcss/org.css\"/>")
("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" ("dotfiles-common"
:base-directory "~/dotfiles" :base-directory "~/dotfiles"
:publishing-directory "~/Public/dotfiles" :publishing-directory "~/Public/dotfiles"