This repository has no description rinx.fyi
0

Configure Feed

Select the types of activity you want to include in your feed.

scripts: fix build scripts


Signed-off-by: Rintaro Okamura <rintaro.okamura@gmail.com>

author
Rintaro Okamura
date (Jul 10, 2026, 1:06 PM +0900) commit 9e696028 parent fa9a468d change-id rorlpmsp
+17 -4
+1 -1
scripts/build.sh
··· 6 6 7 7 echo "Starting Org to Markdown export..." 8 8 # Use the Emacs provided by the Nix flake 9 - emacs --batch -L scripts/ scripts/export-org.el 9 + emacs --batch -L scripts/ -l scripts/export-org.el 10 10 11 11 echo "Export finished. Now building Zola site..." 12 12 zola build
+11 -3
scripts/export-org.el
··· 1 1 (require 'ox-zola) 2 2 3 + ;; Force disable async export 4 + (setq org-export-async-enabled nil) 5 + 3 6 (defun export-org-files (src-dir dest-dir) 4 7 (let ((files (directory-files src-dir t "\\.org$"))) 5 8 (dolist (file files) 6 9 (let* ((filename (file-name-sans-extension (file-name-nondirectory file))) 7 10 (dest-file (concat dest-dir "/" filename ".md"))) 8 11 (message "Exporting %s to %s..." file dest-file) 9 - ;; Use the ox-zola export function 10 - (org-zola-export-to-markdown file dest-file)))))) 12 + (with-current-buffer (find-file-noselect file) 13 + (org-mode) 14 + (goto-char (point-min)) 15 + ;; Use the standard org-export-to-file with the 'zola' backend 16 + ;; and explicitly wrap in a way that avoids async 17 + (let ((org-export-async-enabled nil)) 18 + (org-export-to-file 'zola dest-file))))))) 11 19 12 20 ;; Execute the export 13 - (export-org-files "org" "content/blog") 21 + (export-org-files (expand-file-name "org") (expand-file-name "content/blog")) 14 22 (message "Org export completed successfully.")
+5
scripts/find-symbols.el
··· 1 + (require 'ox-zola) 2 + (print (cl-filter (lambda (s) (string-prefix-p "org-zola" s)) 3 + (mapcar 'symbol-name 4 + (cl-filter (lambda (s) (symbolp s)) 5 + (cl-list-symbols)))))