NicolasPetton/nroam

support for exporting to the html project

HumHongeKamyaab opened this issue · 7 comments

I use org-publish-current-project to export my org-roam folder files into a html project.

After using nroam, I am not able to export my files.
I am getting Text is read-only message when I am trying to do it.

I use following config to do exporting by using .dir-locals.el

((nil . ((eval .
;; (require 'ox-publish)
(setq org-publish-project-alist
      '(
("org-notes"
 :base-directory "~/.org-roam/"
 :base-extension "org"
 :publishing-directory "~/.org-roam/public_html/"
 :recursive t
 :publishing-function org-html-publish-to-html
 :headline-levels 4             ; Just the default for this project.
 :auto-preamble t
 )
("org-static"
 :base-directory "~/.org-roam/"
 :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
 :publishing-directory "~/.org-roam/public_html/"
 :recursive t
 :publishing-function org-publish-attachment
 )
("org" :components ("org-notes" "org-static"))
      ))
))))

May be it will be better, if this simple export can export links to the backlinks also in the html files. This feature is missing in org-roam as they have seperate buffer for backlinks.

@HumHongeKamyaab can you try now that #12 has been merged?

The backlink sections won't be exported, but I hope that at least it will resolve your issue.
I'll see if it makes sense to make that configurable so that you can choose to include backlinks in your exports.

No, I am still getting "Text is read-only" message

Commit 7ae549a should fix the bug, closing.

I still getting same error.

Ok, reopening :)

I'm also think that ability to export backlinks to HTML with org-publish will be very great feature.