From 8353679a0e6a08c1f82a7414d54fd557e9e43528 Mon Sep 17 00:00:00 2001 From: azivner Date: Mon, 27 Aug 2018 19:00:31 +0200 Subject: [PATCH] small fixes --- Attributes.md | 4 ++++ Day-note.md | 2 +- Document.md | 2 +- Synchronization.md | 10 +++------- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Attributes.md b/Attributes.md index b70983e..b3839a5 100644 --- a/Attributes.md +++ b/Attributes.md @@ -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. \ No newline at end of file diff --git a/Day-note.md b/Day-note.md index 4cc4a55..1b712bf 100644 --- a/Day-note.md +++ b/Day-note.md @@ -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. diff --git a/Document.md b/Document.md index 141696d..6dd9dba 100644 --- a/Document.md +++ b/Document.md @@ -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``` diff --git a/Synchronization.md b/Synchronization.md index 7ba86d4..ea74392 100644 --- a/Synchronization.md +++ b/Synchronization.md @@ -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