Skip to content

Commit

Permalink
Update source, eask-core.el
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Apr 20, 2024
1 parent df5185d commit ecee5a6
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion eask-core.el
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,11 @@ Execute forms BODY limit by the verbosity level (SYMBOL)."
:type 'hook
:group 'eask)
(defcustom eask-dist-path "dist"
"Name of default target directory for building packages."
"Default path where to place the package artifact."
:type 'string
:group 'eask)
(defcustom eask-docs-path "docs/public/"
"Default path where to place the documentation."
:type 'string
:group 'eask)
(defcustom eask-recipe-path "recipes"
Expand Down Expand Up @@ -2027,6 +2031,18 @@ The CMD is the command to start a new Emacs session."

;; ~/lisp/core/concat.el

;; ~/lisp/core/docs.el
(require 'el2org nil t)
(defun eask-docs--to-html (el-file)
"Generate html file from EL-FILE."
(interactive)
(let* ((filename (file-name-nondirectory el-file))
(html-file (expand-file-name (concat (file-name-sans-extension filename)
".html")
eask-docs-path)))
(eask-with-verbosity 'debug
(el2org-generate-file el-file nil 'html html-file t))))

;; ~/lisp/core/emacs.el

;; ~/lisp/core/eval.el
Expand Down

0 comments on commit ecee5a6

Please sign in to comment.