File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ Run with `pipx install .` inside the project to install to your machine.
22
22
23
23
# Config
24
24
25
- You can use a ` .env ` file in the root of your project for the following secrets:
25
+ You can use a ` .env ` file for the following secrets:
26
26
27
27
` BOOKSTACK_BASE_URL="https://demo.bookstack.com" `
28
28
@@ -31,8 +31,9 @@ You can use a `.env` file in the root of your project for the following secrets:
31
31
` BOOKSTACK_TOKEN_SECRET=<your_bookstack_api_token_secret> `
32
32
33
33
or you may choose to use whatever secret manager you want, like Doppler, so long as it sets those environment variables.
34
+ By default, the tool will look for ` .env ` in the root of the project, but can be set anywhere using the ` --env ` flag.
34
35
35
- Make sure to setup a conf.toml in ~ /.config/obsidian_to_bookstack, example:
36
+ Configuration by default is located at ` ~/.config/obsidian_to_bookstack/conf.toml ` but can also be set anywhere using the ` --config ` flag.
36
37
37
38
``` toml
38
39
[wiki ]
@@ -98,12 +99,15 @@ Must be called in a path like structure. Ex:
98
99
``` bash
99
100
- Shelf
100
101
- Book
102
+ - Chapter
103
+ - Page.md
101
104
- Page.md
102
105
```
103
106
104
107
The command would be called as ` obsidian_to_bookstack delete Shelf/Book/Page --page ` to delete a page.
105
108
106
109
Optional configuration commands must be ran as:
110
+
107
111
` obsidian_to_bookstack --verbose --config ~/.config/.. --env ~/.config/... <command> `
108
112
109
113
## In Progress
You can’t perform that action at this time.
0 commit comments