Adding org-publish to Doom Emacs.

This commit is contained in:
Derek Taylor
2021-08-20 17:09:21 -05:00
parent 71bf59cd53
commit 2f328fc0f5
6 changed files with 140 additions and 94 deletions

View File

@@ -713,8 +713,31 @@ We need ox-man for "Org eXporting" to manpage format.
#+BEGIN_SRC emacs-lisp
(use-package ox-man)
(use-package ox-gemini)
(use-package ox-publish)
#+END_SRC
Org-publish
#+begin_src emacs-lisp
(setq org-publish-project-alist
'(("org-notes"
:base-directory "~/Org/website"
:base-extension "org"
:publishing-directory "~/public_html/"
:recursive t
:publishing-function org-html-publish-to-html
:headline-levels 4 ; Just the default for this project.
:auto-preamble t)
("org-static"
:base-directory "~/Org/website"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/public_html/"
:recursive t
:publishing-function org-publish-attachment)
))
#+end_src
* PASSWORD STORE
Uses the standard Unix password store "pass".