# Notes on my personal wiki config

Config stuff for [[org-roam]] and [[org-publish]].

See also [[Flock]].


## [[How I publish my wiki with org-publish]]


## .dir-locals.el

I have a separate work knowledgebase using org-roam, but occassionally at work I also want to add something into my personal knowledgebase.  So having the org-roam-directory set in the org-roam layer isn't enough.  I've set a directory local variable for the org-roam personal wiki directory to use. 

See [Configuration - Org-roam](https://org-roam.readthedocs.io/en/develop/configuration/#having-more-than-one-org-roam-directory).

```emacs-lisp
((nil
  (eval ngm-journal-mode))
 (org-mode
  (org-roam-directory . "/home/shared/commonplace/")))
```


## Hiding certain nodes from the graph

Handy for me to exclude the sitemap that I have generated by org-publish, and the home page.  They confuse the node map a bit.

```emacs-lisp
(setq org-roam-graph-exclude-matcher '("sitemap" "index"))
```

