Skip to content
Snippets Groups Projects
Commit 8b6dea1f authored by erwan's avatar erwan
Browse files

Chore: adapt the doc generation to the new docker image (emacs 25->26)

parent 1cfb296f
No related branches found
No related tags found
No related merge requests found
......@@ -10,17 +10,17 @@ algo:
cp -rf ../../_build/default/_doc/_html .
%.html:%.org
emacs25 --batch --eval="(add-to-list 'load-path \".\") (add-to-list 'load-path \"./el\")" --eval="(require 'htmlize)" --load=emacs-org.el \
emacs --batch --load=emacs-org.el \
--visit=$*.org --funcall org-html-export-to-html
%.md:%.org
emacs25 --batch --eval="(add-to-list 'load-path \".\") (add-to-list 'load-path \"./el\")" --eval="(require 'htmlize)" --load=emacs-org.el --visit=$*.org --funcall org-md-export-to-markdown
emacs --batch --eval="(add-to-list 'load-path \".\")" --load=emacs-org.el --visit=$*.org --funcall org-md-export-to-markdown
%.html3:%.org
emacs --batch --eval="(add-to-list 'load-path \".\") (add-to-list 'load-path \"./el\")" --eval="(require 'htmlize)" --load=emacs-org.el \
--visit=$*.org --funcall org-html-export-to-html
EMACS=emacs25 \
EMACS=emacs \
--load=htmlize.el \
--load=el/ob-ocaml.el \
--load=emacs-org.el
......
(setq load-path (cons (expand-file-name "./el") load-path))
(setq load-path (cons (expand-file-name "./") load-path))
(setq auto-mode-alist (cons '("\\.lut$" . lutin-mode) auto-mode-alist))
......@@ -49,7 +50,7 @@
(lutin . t)
(dot . t)
(rif . t)
(sh . t)
(shell . t)
)
)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment