.dir-locals.el 1.24 KB
Newer Older
1
2
3
4
5
((nil . ((whitespace-action auto-cleanup)
	 (whitespace-style face empty trailing lines-tail)
	 (require-final-newline . t)
	 (mode . whitespace)))
 (org-mode . ((whitespace-style face empty trailing)
6
7
8
9
10
11
12
13
14
15
16
	      (eval .
		    (progn
		      (setq org-babel-sh-command (concat "PATH=../../src/bin"
							 path-separator
							 "$PATH sh"))
		      (org-babel-do-load-languages 'org-babel-load-languages
						   '((sh . t)
						     (python . t)
						     (dot . t)))))
	      (org-confirm-babel-evaluate . nil)
	      (org-babel-python-command . "/usr/bin/python3")
17
18
19
20
21
22
23
	      (org-publish-project-alist
	       . (("spot-html"
		   :base-directory "."
		   :base-extension "org"
		   :publishing-directory "../userdoc/"
		   :recursive t
		   :publishing-function org-publish-org-to-html
24
25
26
27
		   ; Org 8
		   :html-head "<link rel=\"stylesheet\" type=\"text/css\" href=\"spot.css\" />"
		   ; Org 7
		   :style "<link rel=\"stylesheet\" type=\"text/css\" href=\"spot.css\" />"
28
29
30
31
32
33
34
35
		   :auto-preamble t)
		  ("spot-static"
		   :base-directory "."
		   :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf"
		   :publishing-directory "../userdoc/"
		   :recursive t
		   :publishing-function org-publish-attachment)
		  ("spot-all" :components ("spot-html" "spot-static")))))))