fix: outliner lint and doc formatting

This commit is contained in:
Gabriel Horner
2024-06-12 15:15:20 -04:00
parent 9f89717a57
commit 03f797fde3
2 changed files with 10 additions and 10 deletions

View File

@@ -41,7 +41,7 @@
(when (seq block-path-refs-tx)
(d/transact! conn block-path-refs-tx {:pipeline-replace? true})))))
(defn add-listener
(defn ^:api add-listener
"Adds a listener to the datascript connection to add additional changes from outliner.pipeline"
[conn]
(d/listen! conn :pipeline-updates (fn pipeline-updates [tx-report]

View File

@@ -389,17 +389,17 @@ These tasks are specific to database graphs. For these tasks there is a one time
* `dev:db-create` - Create a DB graph given a `sqlite.build` EDN file
First in Electron, create the name of the graph you want create e.g. `inferred`.
Then:
First in Electron, create the name of the graph you want create e.g. `inferred`.
Then:
```sh
bb dev:db-create inferred deps/db/script/create_graph/inferred.edn
Generating 11 pages and 0 blocks ...
Created graph inferred!
```
```sh
bb dev:db-create inferred deps/db/script/create_graph/inferred.edn
Generating 11 pages and 0 blocks ...
Created graph inferred!
```
Finally, upload this created graph with the dev command: `Replace graph with`
... Switch to the graph and you can use the created graph!
Finally, upload this created graph with the dev command: `Replace graph with`
... Switch to the graph and you can use the created graph!
* `dev:db-datoms` and `dev:diff-datoms` - Save a db's datoms to file and diff two datom files