This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/.circleci/web/htmlize

30 lines
645 B
Text
Raw Normal View History

2021-07-07 10:25:03 +00:00
#!/usr/bin/env bash
2021-07-07 13:52:34 +00:00
## htmlize HTML export script for documentation files.
2021-07-07 10:25:03 +00:00
##
## Copyright (c) 2012-2014 Sylvain Benner
## Copyright (c) 2014-2022 Sylvain Benner & Contributors
##
## Author: Eugene Yaremenko
## URL: https://github.com/syl20bnr/spacemacs
##
## This file is not part of GNU Emacs.
##
## License: GPLv3
emacs -batch \
2021-07-07 13:52:34 +00:00
-l ~/.emacs.d/init.el \
-l ~/.emacs.d/core/core-documentation.el \
-f spacemacs/publish-doc
if [ $? -ne 0 ]; then
echo "spacemacs/publish-doc failed"
exit 2
fi
if [ -d ~/.emacs.d/export/ ]
then
echo "Export succeeded"
else
echo "~/.emacs.d/export/ doesn't exist"
exit 2
fi