Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

27 lines (24 sloc) 0.861 kb
(require 'org-publish)
(setq org-publish-project-alist
'(("demo-site"
:base-directory "."
:base-extension "org"
:publishing-directory "output"
:recursive t
:publishing-function org-publish-org-to-html
:headline-levels 4
:auto-preamble t
:section-numbers nil
:table-of-contents nil
:style "<link rel='stylesheet' type='text/css' href='css/style.css' />"
:style-include-default nil)
("demo-static"
:base-directory "."
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|txt\\|asc"
:publishing-directory "output"
:recursive t
:publishing-function org-publish-attachment)
("org" :components ("demo-site" "demo-static"))))
(defun publish nil
(interactive)
(org-publish-all))
Jump to Line
Something went wrong with that request. Please try again.