mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-08-10 18:11:13 +10:00
Adding org-publish to Doom Emacs.
This commit is contained in:
@@ -433,6 +433,24 @@
|
||||
|
||||
(use-package ox-man)
|
||||
(use-package ox-gemini)
|
||||
(use-package ox-publish)
|
||||
|
||||
(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)
|
||||
))
|
||||
|
||||
(use-package! password-store)
|
||||
|
||||
|
||||
@@ -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".
|
||||
|
||||
|
||||
Reference in New Issue
Block a user