Skip to content

Commit c1052a9

Browse files
chore: update Configuration.md
- add new v0.1.7 configuration
1 parent 979c3a5 commit c1052a9

File tree

1 file changed

+41
-3
lines changed

1 file changed

+41
-3
lines changed

Writerside/topics/Configuration.md

Lines changed: 41 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,29 +80,67 @@ memos:
8080
# env:
8181
# NEW_ENV_VAR: "my value"
8282
env: null
83+
8384
memospot:
8485
backups:
8586
# Enable backups [true]. Currently, backups only run before
8687
# database migrations and there's no retention management.
8788
enabled: true
8889
# Backup directory.
8990
path: null
91+
9092
migrations:
91-
# Enable migrations [true]. Currently, there's one migration
92-
# available that will change local resource paths from absolute
93-
# to relative, making your data fully portable.
93+
# Enable migrations [true]. These are database
94+
# migrations that make upgrading Memos smoother.
9495
enabled: true
96+
9597
log:
9698
# Enable logging [false]. Used for advanced debugging.
9799
# A new file called `logging_config.yaml` will be created next
98100
# to this file upon the next Memospot run.
99101
# Then, you can edit `logging_config.yaml` changing `root.level`
100102
# from `info` to `debug` to increase the logging level.
101103
enabled: false
104+
102105
remote:
103106
# Use Memospot as a client for a remote Memos server [false].
104107
# - Added in v0.1.6.
108+
# The URL must point to a valid Memos server, using HTTP or HTTPS.
109+
# Other web apps most likely won't pass the internal health check.
105110
enabled: false
106111
url: https://demo.usememos.com/
107112
113+
updater:
114+
# Enable auto-updater [true].
115+
# - Added in v0.1.7.
116+
enabled: true
117+
118+
window:
119+
# Window properties.
120+
# - Added in v0.1.7.
121+
# Managed variables store the previous state upon app close.
122+
123+
# Whether the window should be centered upon creation. [true]
124+
center: true
125+
126+
# Whether the window should be fullscreen upon creation. [false]
127+
fullscreen: false
128+
129+
# Whether the window should be resizable upon creation. [true]
130+
resizable: true
131+
132+
# (Managed) Whether the window should be maximized upon creation.
133+
maximized: false
134+
135+
# (Managed) Window initial width.
136+
width: 0
137+
138+
# (Managed) Window initial height.
139+
height: 0
140+
141+
# (Managed) Window initial x position.
142+
x: 0
143+
144+
# (Managed) Window initial y position.
145+
y: 0
108146
```

0 commit comments

Comments
 (0)