I have the following folder structure:
~/org/notes/x.org
with notes in org files~/org/presentations/y.org
with reveal.js presentations in org files~/org/img/demo.png
with static images used in notes and presentations
I now want to publish all of them to ~/public_html/
. My spacemacs config contains the following configuration, which does not work:
(setq org-publish-project-alist
'(
("org-presentations"
:base-directory "~/org/presentations"
:base-extension "org"
:publishing-directory "~/public_html/presentations"
:recursive t
:auto-sitemap t
:publishing-function org-reveal-export-to-html
:with-sub-superscript nil
:headline-levels 4 ; Just the default for this project.
:auto-preamble t)
("org-notes"
:base-directory "~/org/notes"
:base-extension "org"
:publishing-directory "~/public_html/notes"
:recursive t
:auto-sitemap t
:publishing-function org-twbs-publish-to-html
;;:publishing-function org-publish
:with-sub-superscript nil
:headline-levels 4 ; Just the default for this project.
:auto-preamble t)
("org-static"
:base-directory "~/org/img/"
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
:publishing-directory "~/public_html/img/"
:recursive t
:publishing-function org-publish-attachment)
("org" :components ("org-notes" "org-presentations" "org-static"))))
The presentations don't get published. Any idea for the correct publishing-function for reveal.js presentations?