(feature): allow multiple org-roam directories (#178)

Each org-roam-directory gets its own cache. One can override the `org-roam-directory` variable locally via dir-locals:

((org-mode . ((eval . (setq-local org-roam-directory (expand-file-name "./"))))))
This commit is contained in:
Herbert Jones
2020-02-25 09:06:40 -06:00
committed by GitHub
parent d780b6ffd1
commit b4d89c6a0c
9 changed files with 389 additions and 127 deletions

View File

@@ -0,0 +1,7 @@
#+TITLE: Multi-File 1
link to [[file:nested/mf1.org][Nested Multi-File 1]]
link to [[file:mf2.org][Multi-File 2]]
Arbitrary [[https://google.com][HTML]] link
Arbitrary text

View File

@@ -0,0 +1,3 @@
#+TITLE: Multi-File 2
This file has no links.

View File

@@ -0,0 +1,5 @@
#+TITLE: Multi-File 3
This file has a link to an file with no title.
[[file:multi-no-title.org][multi-no-title]]

View File

@@ -0,0 +1 @@
no title in this file :O

View File

@@ -0,0 +1,4 @@
#+TITLE: Nested Multi-File 1
Link to [[file:mf2.org][Nested Multi-File 2]]
Link to [[file:../mf1.org][Mulit-File 1]]

View File

@@ -0,0 +1,3 @@
#+TITLE: Nested Multi-File 2
Link to [[file:mf1.org][Nested Multi-File 1]]