-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dir-locals.el
27 lines (27 loc) · 991 Bytes
/
.dir-locals.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
((org-mode
.
((eval .
(setq-local
org-publish-project-alist
`(
("doc" :components ("doc-org" "doc-static"))
("doc-org"
;; Path to org files.
:base-directory ,(expand-file-name "org" (projectile-project-root))
:base-extension "org"
;; Path to Jekyll Posts
:publishing-directory ,(projectile-project-root)
:recursive t
:publishing-function org-html-publish-to-html
:headline-levels 4
:html-extension "html"
:body-only t
)
("doc-static"
:base-directory ,(expand-file-name "org" (projectile-project-root))
:base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf\\|php"
:publishing-directory ,(projectile-project-root)
:recursive t
:publishing-function org-publish-attachment)
)
)))))