add generate org files
This commit is contained in:
parent
afec162a86
commit
a71327a66d
2 changed files with 21 additions and 0 deletions
|
@ -43,3 +43,6 @@ do
|
|||
done
|
||||
|
||||
cp -t $target -r $annexes
|
||||
|
||||
echo "Generate org files..."
|
||||
emacs -u $USER --script publish.el
|
||||
|
|
18
publish.el
Normal file
18
publish.el
Normal file
|
@ -0,0 +1,18 @@
|
|||
(require 'ox-publish)
|
||||
(require 'htmlize)
|
||||
(setq org-publish-use-timestamps-flag nil)
|
||||
(setq org-publish-project-alist
|
||||
'(
|
||||
("nec"
|
||||
:base-directory "nec"
|
||||
:base-extension "org"
|
||||
:exclude "www"
|
||||
:publishing-directory "www/nec"
|
||||
:recursive t
|
||||
:auto-sitemap t
|
||||
:sitemap-title "Notes et Cheatsheets"
|
||||
:publishing-function org-html-publish-to-html
|
||||
; :auto-preamble t
|
||||
)
|
||||
))
|
||||
(org-publish-project "nec")
|
Loading…
Reference in a new issue