* doc/org/spot.css: New file. * doc/Makefile.am: Distribute it. * doc/org/init.el.in, doc/org/.dir-locals.el: Adjust links.
35 lines
1.2 KiB
EmacsLisp
35 lines
1.2 KiB
EmacsLisp
((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)
|
|
(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")
|
|
(org-publish-project-alist
|
|
. (("spot-html"
|
|
:base-directory "."
|
|
:base-extension "org"
|
|
:publishing-directory "../userdoc/"
|
|
:recursive t
|
|
:publishing-function org-publish-org-to-html
|
|
; 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\" />"
|
|
: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")))))))
|