fixed the build script showing too many messages
This commit is contained in:
@@ -25,6 +25,9 @@
|
||||
(require 'seq)
|
||||
(require 'cl-lib)
|
||||
|
||||
(use-package htmlize
|
||||
:ensure t)
|
||||
|
||||
;(setq org-export-with-broken-links t)
|
||||
|
||||
(setq org-id-locations-file "~/.emacs.d/.org-id-locations")
|
||||
@@ -311,17 +314,19 @@ Created with %c on <a href=\"https://www.archlinux.org/\">Arch</a> <a href=\"htt
|
||||
:recursive t
|
||||
:publishing-function org-publish-attachment)))
|
||||
|
||||
;(delete-directory "~/master-folder/org_files/org_roam/output/" t)
|
||||
(message "Directory deleted")
|
||||
|
||||
(defun z/org-publish-quiet (project force)
|
||||
"Publish PROJECT quietly. If FORCE is non-nil, force publishing."
|
||||
(let ((inhibit-message t)
|
||||
(message-log-max nil))
|
||||
(org-publish project force)))
|
||||
|
||||
(defun z/build-full ()
|
||||
"Full rebuild: Org, assets, and search index."
|
||||
(interactive)
|
||||
(setq z/build-full-rebuild t)
|
||||
(z/generate-all-files-org)
|
||||
(org-publish "org-roam" t)
|
||||
(org-publish "org-static" t)
|
||||
(z/org-publish-quiet "org-roam" t)
|
||||
(z/org-publish-quiet "org-static" t)
|
||||
(message "✅ Full rebuild complete"))
|
||||
|
||||
(defun z/build-fast ()
|
||||
|
||||
Reference in New Issue
Block a user