small fixes

azivner 2018-08-27 19:00:31 +02:00
parent 89608f22d1
commit 8353679a0e
4 changed files with 9 additions and 9 deletions

@ -55,3 +55,7 @@ Attributes allow multiplicity - there can be multiple attributes with the same n
## Attribute inheritance
Every attribute has a flag called ```isInheritable```. If this is true, then this attribute (key-value) is also applied to all its children notes, children's children notes etc.
Different kind of inheritance is achieved using "child:" attribute name prefix. If we create a child note in a note with "child:exampleAttribute" attribute, then child note will have "exampleAttribute" created. This can be even chained, e.g. "child:child:exampleAttribute", in this case "exampleAttribute" will be created in the child of the child.
Which kind of attribute inheritance (or if any at all) should be used depends on specific use case.

@ -3,7 +3,7 @@ A common pattern in note taking is that a lot of notes will be centered around c
For this, Trilium provides a concept of "day note". Trilium semi-automatically generates a single note for each day. Under this note you can save ([[clone|Cloning notes]]) all those relevant notes.
## Demo
[[images/day-note.gif]]
[[gifs/day-note.gif]]
In the demo you can see clicking on "Today" button (actually a [[script|Scripts]]) which will show today's "day note". Day note itself is empty except for showing list of edited notes that day (this functionality is also provided by script), but contains today's important and relevant notes.

@ -1,4 +1,4 @@
Document is [SQLite](https://www.sqlite.org) database which contains all notes, metadata, even some of the configuration.
Document is [SQLite](https://www.sqlite.org) database which contains all notes, tree structure, metadata, even some of the configuration.
It's stored in single file, by default in ```trilium-data/document.db```

@ -2,19 +2,15 @@ Trilium supports synchronization with star-shaped topology:
[[images/star-topology.png]]
This means that there's one central server (we'll call this instance _sync server_) and several _client_ instances which all point to this sync server and synchronize against it.
This means that there's one central server (we'll call this instance _sync server_) and several _client_ (sometimes called _desktop_) instances which all point to this sync server and synchronize against it.
**Beware that synchronization is considered experimental and you should expect occasional issues which might require manual intervention.**
## How to setup synchronization
### Preparation
### Setup synchronization from desktop instance to sync server
Here we assume you already have Trilium running on your computer and you want to setup sync server so you can edit same [[document|Document]] online.
Of course you need to install Trilium on the sync server. It's recommended to have exact same version of Trilium installed everywhere. Trilium will reject synchronization if there's a mismatch in Trilium database version between client and sync server.
Before you start the process of setting everything up, it's recommended to stop Trilium on the existing instance.
This approach is used when you already have a desktop instance of Trilium and you want to [[setup sync server on your web host|Server installation]].
### Sync server setup