Tinkered around with my org-publish steps a little bit – moving the config out of my .spacemacs file and into a dedicated publish.el in my wiki project, along with a Makefile to run it as a –batch process.

This way, it can be better shared with others, and I can also run it in the background – org-publish is pretty slow sadly, and blocks all of Emacs when you run it interactively.

This also takes me in the direction of having the publish step actually happen as a post-receive hook on a git remote somewhere, if I wanted to do that.

It was a bit of a faff, but I learned a bit more about Emacs and org-publish in the process, and had to do some basic elisp debugging to figure out why the org-roam backlinks stuff wasn’t working. Pleased to have learned some new things!

Improving my wiki publish step

Leave a Reply

Your email address will not be published. Required fields are marked *

To respond on your own website, enter the URL of your response which should contain a link to this post's permalink URL. Your response will then appear (possibly after moderation) on this page. Want to update or remove your response? Update or delete your post and re-enter your post's URL again. (Find out more about Webmentions.)