[ci] pre-create the missing dir

This commit is contained in:
JAremko 2021-11-14 19:49:49 +02:00 committed by Eugene Yaremenko
parent 47fdbced8b
commit 2dded3117a
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,9 @@
##
## License: GPLv3
## TODO: Figure out why it doesn't get created automatically
mkdir -p ~/.emacs.d/.cache/.org-timestamps
emacs -batch \
-l ~/.emacs.d/init.el \
-l ~/.emacs.d/core/core-documentation.el \

View File

@ -281,7 +281,6 @@ preprocessors for the exported .org files."
(defun spacemacs/publish-doc ()
"Publish the documentation to doc/export/."
(interactive)
(make-directory (concat spacemacs-cache-directory ".org-timestamps") t)
(advice-add 'org-html-toc :filter-return #'spacemacs//format-toc)
(advice-add 'org-html-template :filter-return #'spacemacs//format-content)
(advice-add 'org-html-publish-to-html :around #'spacemacs//pub-doc-html-advice)