Publish org notes to HTML
To publish these notes, use the following:
- Use the
ox-publishpackage. - Run
org-roam/generate-index.elwhere code is defined for reading every note and linking it to the index. - Check the code in
org-roam/publish.elwhere the project is defined. This code needs to be re-run if you ever want to change any export settings, e.g.html-header. Remember to clear the cache if you want to change the export settings and not the content. - Check export templates in
~/.emacs.d/export_templates - then
M-x org-publish-projectand selectorg - may have to
(setq org-export-with-broken-links t)
1. debugging org-roam
- from this post
(org-id-update-id-locations) ;; Note: you may need `org-roam-db-clear-all' ;; followed by `org-roam-db-sync' (org-roam-db-sync) (org-roam-update-org-id-locations)
2. Sources on publishing
3. Sources for generate-index.el
- How to read a file in elisp
- How to get properties from org files programatically in elisp
- This is done using
org-element-mapwhich builds an AST for an org-file
- This is done using