Skip to content

Build your personal knowledge base with Trilium Notes

feat(docs): reorganize scripting notes and finalize attribute reference

Elian Doran72f0bc32df34
diff --git a/docs/User Guide/!!!meta.json b/docs/User Guide/!!!meta.json
index aaef302a11..b4f83e5be7 100644
--- a/docs/User Guide/!!!meta.json
+++ b/docs/User Guide/!!!meta.json
@@ -1427,6 +1427,13 @@
"value": "bx bx-dots-horizontal",
"isInheritable": false,
"position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "_optionsAppearance",
+ "isInheritable": false,
+ "position": 220
}
],
"format": "markdown",
@@ -2655,58 +2662,58 @@
{
"type": "relation",
"name": "internalLink",
- "value": "GTwFsgaA0lCt",
+ "value": "zEY4DaJG4YT5",
"isInheritable": false,
"position": 10
},
{
"type": "relation",
"name": "internalLink",
- "value": "BlN9DFI679QC",
+ "value": "GTwFsgaA0lCt",
"isInheritable": false,
"position": 20
},
{
"type": "relation",
"name": "internalLink",
- "value": "iPIMuisry3hd",
+ "value": "BlN9DFI679QC",
"isInheritable": false,
"position": 30
},
{
"type": "relation",
"name": "internalLink",
- "value": "6f9hih2hXXZk",
+ "value": "iPIMuisry3hd",
"isInheritable": false,
"position": 40
},
{
"type": "relation",
"name": "internalLink",
- "value": "W8vYD3Q1zjCR",
+ "value": "6f9hih2hXXZk",
"isInheritable": false,
"position": 50
},
{
"type": "relation",
"name": "internalLink",
- "value": "xWbu3jpNWapp",
+ "value": "W8vYD3Q1zjCR",
"isInheritable": false,
"position": 60
},
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "xWbu3jpNWapp",
+ "isInheritable": false,
+ "position": 70
+ },
{
"type": "label",
"name": "iconClass",
"value": "bx bxs-grid",
"isInheritable": false,
"position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "zEY4DaJG4YT5",
- "isInheritable": false,
- "position": 70
}
],
"format": "markdown",
@@ -3296,7 +3303,7 @@
"wArbEsdSae6g",
"9sRHySam5fXb"
],
- "title": "Workspace",
+ "title": "Workspaces",
"notePosition": 90,
"prefix": null,
"isExpanded": false,
@@ -3323,10 +3330,17 @@
"value": "bx bx-door-open",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "l0tKav7yLHGF",
+ "isInheritable": false,
+ "position": 40
}
],
"format": "markdown",
- "dataFileName": "Workspace.md",
+ "dataFileName": "Workspaces.md",
"attachments": [
{
"attachmentId": "V4TIsmtBh8P7",
@@ -3334,7 +3348,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "Workspace_image.png"
+ "dataFileName": "Workspaces_image.png"
},
{
"attachmentId": "vZSH2mOKzWBx",
@@ -3342,7 +3356,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "1_Workspace_image.png"
+ "dataFileName": "1_Workspaces_image.png"
}
]
},
@@ -3636,6 +3650,13 @@
"type": "text",
"mime": "text/markdown",
"attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "NwBbFdNZ9h7O",
+ "isInheritable": false,
+ "position": 10
+ },
{
"type": "label",
"name": "shareAlias",
@@ -3649,13 +3670,6 @@
"value": "bx bxl-markdown",
"isInheritable": false,
"position": 50
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "NwBbFdNZ9h7O",
- "isInheritable": false,
- "position": 60
}
],
"format": "markdown",
@@ -5239,162 +5253,6 @@
"position": 10,
"dataFileName": "1_Code_image.png"
}
- ],
- "dirFileName": "Code",
- "children": [
- {
- "isClone": false,
- "noteId": "GLks18SNjxmC",
- "notePath": [
- "pOsGYCXsbNQG",
- "KSZ04uQ2D1St",
- "6f9hih2hXXZk",
- "GLks18SNjxmC"
- ],
- "title": "Script API",
- "notePosition": 20,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/markdown",
- "attributes": [
- {
- "type": "label",
- "name": "shareAlias",
- "value": "script-api",
- "isInheritable": false,
- "position": 10
- }
- ],
- "format": "markdown",
- "dataFileName": "Script API.md",
- "attachments": []
- },
- {
- "isClone": false,
- "noteId": "GPERMystNGTB",
- "notePath": [
- "pOsGYCXsbNQG",
- "KSZ04uQ2D1St",
- "6f9hih2hXXZk",
- "GPERMystNGTB"
- ],
- "title": "Events",
- "notePosition": 40,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/markdown",
- "attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "zEY4DaJG4YT5",
- "isInheritable": false,
- "position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "CdNpE2pqjmI6",
- "isInheritable": false,
- "position": 20
- },
- {
- "type": "label",
- "name": "shareAlias",
- "value": "events",
- "isInheritable": false,
- "position": 30
- }
- ],
- "format": "markdown",
- "dataFileName": "Events.md",
- "attachments": []
- },
- {
- "isClone": false,
- "noteId": "MgibgPcfeuGz",
- "notePath": [
- "pOsGYCXsbNQG",
- "KSZ04uQ2D1St",
- "6f9hih2hXXZk",
- "MgibgPcfeuGz"
- ],
- "title": "Custom Widgets",
- "notePosition": 50,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/markdown",
- "attributes": [
- {
- "type": "label",
- "name": "shareAlias",
- "value": "custom-widget",
- "isInheritable": false,
- "position": 20
- }
- ],
- "format": "markdown",
- "dataFileName": "Custom Widgets.md",
- "attachments": [],
- "dirFileName": "Custom Widgets",
- "children": [
- {
- "isClone": false,
- "noteId": "YNxAqkI5Kg1M",
- "notePath": [
- "pOsGYCXsbNQG",
- "KSZ04uQ2D1St",
- "6f9hih2hXXZk",
- "MgibgPcfeuGz",
- "YNxAqkI5Kg1M"
- ],
- "title": "Word count widget",
- "notePosition": 10,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/html",
- "attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "6tZeKvSHEUiB",
- "isInheritable": false,
- "position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "6f9hih2hXXZk",
- "isInheritable": false,
- "position": 20
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "s8alTXmpFR61",
- "isInheritable": false,
- "position": 30
- }
- ],
- "format": "markdown",
- "dataFileName": "Word count widget.md",
- "attachments": [
- {
- "attachmentId": "JhM9NWfebzPi",
- "title": "image.png",
- "role": "image",
- "mime": "image/png",
- "position": 10,
- "dataFileName": "Word count widget_image.png"
- }
- ]
- }
- ]
- }
]
},
{
@@ -6848,14 +6706,14 @@
"name": "internalLink",
"value": "OFXdgB2nNk1F",
"isInheritable": false,
- "position": 90
+ "position": 20
},
{
"type": "relation",
"name": "internalLink",
"value": "bwZpz2ajCEwO",
"isInheritable": false,
- "position": 100
+ "position": 30
},
{
"type": "label",
@@ -6870,6 +6728,13 @@
"value": "bx bx-list-check",
"isInheritable": false,
"position": 110
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "Ucmcs8SfrYdD",
+ "isInheritable": false,
+ "position": 120
}
],
"format": "markdown",
@@ -7013,146 +6878,216 @@
{
"type": "relation",
"name": "internalLink",
- "value": "p9kXRFAkwN4o",
+ "value": "l0tKav7yLHGF",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "bwZpz2ajCEwO",
"isInheritable": false,
"position": 20
},
{
"type": "relation",
"name": "internalLink",
- "value": "J5Ex1ZrMbyJ6",
+ "value": "vZWERwf8U3nx",
"isInheritable": false,
"position": 30
},
{
"type": "relation",
"name": "internalLink",
- "value": "9sRHySam5fXb",
+ "value": "oPVyFC7WL2Lp",
"isInheritable": false,
"position": 40
},
{
"type": "relation",
"name": "internalLink",
- "value": "u3YFHC9tQlpm",
+ "value": "OFXdgB2nNk1F",
"isInheritable": false,
"position": 50
},
{
"type": "relation",
"name": "internalLink",
- "value": "R9pX4DGra2Vt",
+ "value": "CoFPLs3dRlXc",
"isInheritable": false,
"position": 60
},
{
"type": "relation",
"name": "internalLink",
- "value": "47ZrP6FNuoG8",
+ "value": "WFGzWeUK6arS",
"isInheritable": false,
"position": 70
},
{
"type": "relation",
"name": "internalLink",
- "value": "l0tKav7yLHGF",
+ "value": "J5Ex1ZrMbyJ6",
"isInheritable": false,
"position": 80
},
{
"type": "relation",
"name": "internalLink",
- "value": "vZWERwf8U3nx",
+ "value": "d3fAXQ2diepH",
+ "isInheritable": false,
+ "position": 90
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "MgibgPcfeuGz",
"isInheritable": false,
"position": 100
},
{
"type": "relation",
"name": "internalLink",
- "value": "oPVyFC7WL2Lp",
+ "value": "BFvAtE74rbP6",
"isInheritable": false,
"position": 110
},
{
"type": "relation",
"name": "internalLink",
- "value": "OFXdgB2nNk1F",
+ "value": "bdUJEHsAPYQR",
"isInheritable": false,
"position": 120
},
{
"type": "relation",
"name": "internalLink",
- "value": "CoFPLs3dRlXc",
+ "value": "KC1HB96bqqHX",
"isInheritable": false,
"position": 130
},
{
"type": "relation",
"name": "internalLink",
- "value": "WFGzWeUK6arS",
+ "value": "HcABDtFCkbFN",
"isInheritable": false,
"position": 140
},
{
"type": "relation",
"name": "internalLink",
- "value": "d3fAXQ2diepH",
+ "value": "9sRHySam5fXb",
"isInheritable": false,
- "position": 150
+ "position": 160
},
{
"type": "relation",
"name": "internalLink",
- "value": "MgibgPcfeuGz",
+ "value": "u3YFHC9tQlpm",
"isInheritable": false,
- "position": 160
+ "position": 170
},
{
"type": "relation",
"name": "internalLink",
- "value": "_help_YKWqdJhzi2VY",
+ "value": "R9pX4DGra2Vt",
"isInheritable": false,
- "position": 170
+ "position": 180
},
{
"type": "relation",
"name": "internalLink",
- "value": "BFvAtE74rbP6",
+ "value": "pKK96zzmvBGf",
"isInheritable": false,
- "position": 180
+ "position": 220
},
{
"type": "relation",
"name": "internalLink",
- "value": "bdUJEHsAPYQR",
+ "value": "AlhDUqhENtH7",
"isInheritable": false,
- "position": 190
+ "position": 230
},
{
"type": "relation",
"name": "internalLink",
- "value": "KC1HB96bqqHX",
+ "value": "0ESUbbAxVnoK",
"isInheritable": false,
- "position": 200
+ "position": 240
},
{
"type": "relation",
"name": "internalLink",
- "value": "bwZpz2ajCEwO",
+ "value": "m523cpzocqaD",
"isInheritable": false,
- "position": 210
+ "position": 250
},
{
"type": "relation",
"name": "internalLink",
- "value": "HcABDtFCkbFN",
+ "value": "_help_YKWqdJhzi2VY",
"isInheritable": false,
- "position": 220
- }
- ],
- "format": "markdown",
- "dataFileName": "Attribute Reference.md",
+ "position": 260
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "iRwzGnHPzonm",
+ "isInheritable": false,
+ "position": 270
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BCkXAVs63Ttv",
+ "isInheritable": false,
+ "position": 280
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "47ZrP6FNuoG8",
+ "isInheritable": false,
+ "position": 290
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "81SGnPGMk7Xc",
+ "isInheritable": false,
+ "position": 300
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "GPERMystNGTB",
+ "isInheritable": false,
+ "position": 310
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "AxshuNRegLAv",
+ "isInheritable": false,
+ "position": 320
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "xWbu3jpNWapp",
+ "isInheritable": false,
+ "position": 330
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-book-bookmark",
+ "isInheritable": false,
+ "position": 340
+ }
+ ],
+ "format": "markdown",
+ "dataFileName": "Attribute Reference.md",
"attachments": []
}
]
@@ -7351,13 +7286,6 @@
"type": "text",
"mime": "text/markdown",
"attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "WOcw2SLH6tbX",
- "isInheritable": false,
- "position": 10
- },
{
"type": "relation",
"name": "internalLink",
@@ -7365,13 +7293,6 @@
"isInheritable": false,
"position": 20
},
- {
- "type": "relation",
- "name": "internalLink",
- "value": "6f9hih2hXXZk",
- "isInheritable": false,
- "position": 30
- },
{
"type": "relation",
"name": "internalLink",
@@ -7392,6 +7313,27 @@
"value": "bx bx-share-alt",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "6f9hih2hXXZk",
+ "isInheritable": false,
+ "position": 50
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "WOcw2SLH6tbX",
+ "isInheritable": false,
+ "position": 60
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "Qjt68inQ2bRj",
+ "isInheritable": false,
+ "position": 70
}
],
"format": "markdown",
@@ -7991,7 +7933,7 @@
"47ZrP6FNuoG8"
],
"title": "Default Note Title",
- "notePosition": 130,
+ "notePosition": 140,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8004,19 +7946,26 @@
"isInheritable": false,
"position": 10
},
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "default-note-title",
+ "isInheritable": false,
+ "position": 30
+ },
{
"type": "relation",
"name": "internalLink",
"value": "KC1HB96bqqHX",
"isInheritable": false,
- "position": 20
+ "position": 40
},
{
- "type": "label",
- "name": "shareAlias",
- "value": "default-note-title",
+ "type": "relation",
+ "name": "internalLink",
+ "value": "habiZ3HU8Kw8",
"isInheritable": false,
- "position": 30
+ "position": 50
}
],
"format": "markdown",
@@ -8032,7 +7981,7 @@
"wX4HbRucYSDD"
],
"title": "Database",
- "notePosition": 150,
+ "notePosition": 160,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8283,7 +8232,7 @@
"Gzjqa934BdH4"
],
"title": "Configuration (config.ini or environment variables)",
- "notePosition": 160,
+ "notePosition": 170,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8299,7 +8248,38 @@
],
"format": "markdown",
"dataFileName": "Configuration (config.ini or e.md",
- "attachments": []
+ "attachments": [],
+ "dirFileName": "Configuration (config.ini or environment variables)",
+ "children": [
+ {
+ "isClone": false,
+ "noteId": "c5xB8m4g2IY6",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "tC7s2alapj8V",
+ "Gzjqa934BdH4",
+ "c5xB8m4g2IY6"
+ ],
+ "title": "Trilium instance",
+ "notePosition": 10,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "cbkrhQjrkKrh",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
+ "format": "markdown",
+ "dataFileName": "Trilium instance.md",
+ "attachments": []
+ }
+ ]
},
{
"isClone": false,
@@ -8310,7 +8290,7 @@
"ivYnonVFBxbQ"
],
"title": "Bulk actions",
- "notePosition": 170,
+ "notePosition": 180,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8337,7 +8317,7 @@
"4FahAwuGTAwC"
],
"title": "Note source",
- "notePosition": 180,
+ "notePosition": 190,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8450,7 +8430,7 @@
"1YeN2MzFUluU"
],
"title": "Technologies used",
- "notePosition": 190,
+ "notePosition": 200,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8599,7 +8579,7 @@
"m1lbrzyKDaRB"
],
"title": "Note ID",
- "notePosition": 200,
+ "notePosition": 210,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8633,7 +8613,7 @@
"0vTSyvhPTAOz"
],
"title": "Internal API",
- "notePosition": 210,
+ "notePosition": 220,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8805,54 +8785,6 @@
"dataFileName": "Frontend Basics.md",
"attachments": []
},
- {
- "isClone": false,
- "noteId": "SynTBQiBsdYJ",
- "notePath": [
- "pOsGYCXsbNQG",
- "CdNpE2pqjmI6",
- "SynTBQiBsdYJ"
- ],
- "title": "Widget Basics",
- "notePosition": 30,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/markdown",
- "attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "zEY4DaJG4YT5",
- "isInheritable": false,
- "position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "BFs8mudNFgCS",
- "isInheritable": false,
- "position": 20
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "GLks18SNjxmC",
- "isInheritable": false,
- "position": 30
- },
- {
- "type": "label",
- "name": "shareAlias",
- "value": "widget-basics",
- "isInheritable": false,
- "position": 20
- }
- ],
- "format": "markdown",
- "dataFileName": "Widget Basics.md",
- "attachments": []
- },
{
"isClone": false,
"noteId": "es8OU2GuguFU",
@@ -9008,6 +8940,284 @@
]
}
]
+ },
+ {
+ "isClone": false,
+ "noteId": "GPERMystNGTB",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "GPERMystNGTB"
+ ],
+ "title": "Events",
+ "notePosition": 70,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/markdown",
+ "attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "zEY4DaJG4YT5",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "CdNpE2pqjmI6",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "events",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "c5xB8m4g2IY6",
+ "isInheritable": false,
+ "position": 30
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-rss",
+ "isInheritable": false,
+ "position": 20
+ }
+ ],
+ "format": "markdown",
+ "dataFileName": "Events.md",
+ "attachments": []
+ },
+ {
+ "isClone": false,
+ "noteId": "MgibgPcfeuGz",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "MgibgPcfeuGz"
+ ],
+ "title": "Custom Widgets",
+ "notePosition": 80,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/markdown",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "custom-widget",
+ "isInheritable": false,
+ "position": 20
+ }
+ ],
+ "format": "markdown",
+ "dataFileName": "Custom Widgets.md",
+ "attachments": [],
+ "dirFileName": "Custom Widgets",
+ "children": [
+ {
+ "isClone": false,
+ "noteId": "YNxAqkI5Kg1M",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "MgibgPcfeuGz",
+ "YNxAqkI5Kg1M"
+ ],
+ "title": "Word count widget",
+ "notePosition": 10,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "6tZeKvSHEUiB",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "6f9hih2hXXZk",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "s8alTXmpFR61",
+ "isInheritable": false,
+ "position": 30
+ }
+ ],
+ "format": "markdown",
+ "dataFileName": "Word count widget.md",
+ "attachments": [
+ {
+ "attachmentId": "JhM9NWfebzPi",
+ "title": "image.png",
+ "role": "image",
+ "mime": "image/png",
+ "position": 10,
+ "dataFileName": "Word count widget_image.png"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "SynTBQiBsdYJ",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "MgibgPcfeuGz",
+ "SynTBQiBsdYJ"
+ ],
+ "title": "Widget Basics",
+ "notePosition": 20,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/markdown",
+ "attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "zEY4DaJG4YT5",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BFs8mudNFgCS",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "GLks18SNjxmC",
+ "isInheritable": false,
+ "position": 30
+ },
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "widget-basics",
+ "isInheritable": false,
+ "position": 20
+ }
+ ],
+ "format": "markdown",
+ "dataFileName": "Widget Basics.md",
+ "attachments": []
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "GLks18SNjxmC",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "GLks18SNjxmC"
+ ],
+ "title": "Script API",
+ "notePosition": 90,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/markdown",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "script-api",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
+ "format": "markdown",
+ "dataFileName": "Script API.md",
+ "attachments": [],
+ "dirFileName": "Script API",
+ "children": [
+ {
+ "isClone": false,
+ "noteId": "Q2z6av6JZVWm",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "GLks18SNjxmC",
+ "Q2z6av6JZVWm"
+ ],
+ "title": "Frontend API",
+ "notePosition": 10,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [],
+ "format": "markdown",
+ "attachments": [],
+ "dirFileName": "Frontend API",
+ "children": [
+ {
+ "isClone": false,
+ "noteId": "habiZ3HU8Kw8",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "GLks18SNjxmC",
+ "Q2z6av6JZVWm",
+ "habiZ3HU8Kw8"
+ ],
+ "title": "FNote",
+ "notePosition": 10,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [],
+ "format": "markdown",
+ "dataFileName": "FNote.md",
+ "attachments": []
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "MEtfsqa5VwNi",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "GLks18SNjxmC",
+ "MEtfsqa5VwNi"
+ ],
+ "title": "Backend API",
+ "notePosition": 20,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [],
+ "format": "markdown",
+ "dataFileName": "Backend API.md",
+ "attachments": []
+ }
+ ]
}
]
}
diff --git a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.md b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.md
index c7f03b7306..f1ec27a4b6 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.md
@@ -15,7 +15,7 @@ New tasks are created in the TODO note which has `~child:template` [relation](..
### Attributes
-Task template defines several [promoted attributes](../Attributes/Promoted%20Attributes.md) - todoDate, doneDate, tags, location. Importantly it also defines `~runOnAttributeChange` relation - [event](../../Note%20Types/Code/Events.md) handler which is run on attribute change. This [script](../../Scripting.md) handles when e.g. we fill out the doneDate attribute - meaning the task is done and should be moved to "Done" note and removed from TODO, locations and tags.
+Task template defines several [promoted attributes](../Attributes/Promoted%20Attributes.md) - todoDate, doneDate, tags, location. Importantly it also defines `~runOnAttributeChange` relation - [event](../../Scripting/Events.md) handler which is run on attribute change. This [script](../../Scripting.md) handles when e.g. we fill out the doneDate attribute - meaning the task is done and should be moved to "Done" note and removed from TODO, locations and tags.
### New task button
diff --git a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.md b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.md
index eb077ddd2b..303812e165 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.md
@@ -1,7 +1,7 @@
# Weight Tracker
![](Weight%20Tracker_image.png)
-The `Weight Tracker` is a [Script API](../../Note%20Types/Code/Script%20API.md) showcase present in the [demo notes](../Database.md).
+The `Weight Tracker` is a [Script API](../../Scripting/Script%20API.md) showcase present in the [demo notes](../Database.md).
By adding `weight` as a [promoted attribute](../Attributes/Promoted%20Attributes.md) in the [template](../Templates.md) from which [day notes](Day%20Notes.md) are created, you can aggregate the data and plot weight change over time.
diff --git a/docs/User Guide/User Guide/Advanced Usage/Attributes.md b/docs/User Guide/User Guide/Advanced Usage/Attributes.md
index b93cd8f3b2..9e61ff6481 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Attributes.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Attributes.md
@@ -20,6 +20,8 @@ Labels are also searchable, enhancing note retrieval.
### Common Labels for Advanced Configuration
+See the corresponding section in <a class="reference-link" href="Attributes/Attribute%20Reference.md">Attribute Reference</a> for a comprehensive list of attributes.
+
## Relations
Relations define connections between notes, similar to links.
@@ -31,8 +33,7 @@ Relations define connections between notes, similar to links.
### Common Relations
-* **Event-based Relations**: Such as `runOnNoteCreation` or `runOnNoteChange`, which trigger scripts on specific actions
-* **Other Relations**: Include `template`, `renderNote`, `widget`, and sharing-related relations
+See the corresponding section in <a class="reference-link" href="Attributes/Attribute%20Reference.md">Attribute Reference</a> for a comprehensive list of relations.
## Multiplicity
diff --git a/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Reference.md b/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Reference.md
index fe9b8dec76..1edca74861 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Reference.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Attributes/Attribute Reference.md
@@ -1,44 +1,14 @@
-# Attribute Reference
+# Attribute Reference
## Labels
-<figure class="table" style="width:100%;"><table class="ck-table-resized"><colgroup><col style="width:33.82%;"><col style="width:66.18%;"></colgroup><thead><tr><th>Label</th><th>Description</th></tr></thead><tbody><tr><td><code>disableVersioning</code></td><td>Disables automatic creation of&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20Revisions.md">Note Revisions</a>. Useful for e.g. large, but unimportant notes - e.g. large JS libraries used for scripting.</td></tr><tr><td><code>calendarRoot</code></td><td>Marks the note which should be used as root for&nbsp;<a class="reference-link" href="../Advanced%20Showcases/Day%20Notes.md">Day Notes</a>. Only one should be marked as such.</td></tr><tr><td><code>archived</code></td><td>Hides notes from default search results and dialogs. Archived notes can optionally be hidden in the&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree.md">Note Tree</a>.</td></tr><tr><td><code>excludeFromExport</code></td><td>Notes (with their sub-tree) won't be included when exporting.</td></tr><tr><td><code>run</code></td><td><p>Defines on which events script should run. Possible values are:</p><ul><li><code>frontendStartup</code> - when Trilium frontend starts up (or is refreshed), but not on mobile.</li><li><code>mobileStartup</code> - when Trilium frontend starts up (or is refreshed), on mobile.</li><li><code>backendStartup</code> - when Trilium backend starts up</li><li><code>hourly</code> - run once an hour. You can use additional label <code>runAtHour</code> to specify at which hour.</li><li><code>daily</code> - run once a day</li></ul></td></tr><tr><td><code>runOnInstance</code></td><td>Define which trilium instance should run this on. Default to all instances.</td></tr><tr><td><code>runAtHour</code></td><td>On which hour should this run. Should be used together with <code>#run=hourly</code>. Can be defined multiple times for more runs during the day.</td></tr><tr><td><code>disableInclusion</code></td><td>Scripts with this label won't be included into parent script execution.</td></tr><tr><td><code>sorted</code></td><td><p>Keeps child notes sorted by title alphabetically.</p><p>When given a value, it will sort by the value of another label instead. If one of the child notes doesn't have the specified label, the title will be used for them instead.</p></td></tr><tr><td><code>sortDirection</code></td><td><p>If <code>sorted</code> is applied, specifies the direction of the sort:</p><ul><li><code>ASC</code>, ascending (default)</li><li><code>DESC</code>, descending</li></ul></td></tr><tr><td><code>sortFoldersFirst</code></td><td>If <code>sorted</code> is applied, folders (notes with children) will be sorted as a group at the top, and the rest will be sorted.</td></tr><tr><td><code>top</code></td><td>If <code>sorted</code> is applied to the parent note, keeps given note on top in its parent.</td></tr><tr><td><code>hidePromotedAttributes</code></td><td>Hide&nbsp;<a class="reference-link" href="Promoted%20Attributes.md">Promoted Attributes</a>&nbsp;on this note.</td></tr><tr><td><code>readOnly</code></td><td>Marks a note to be always be <a href="../../Basic%20Concepts%20and%20Features/Notes/Read-Only%20Notes.md">read-only</a>, if it's a supported note (text, code, mermaid).</td></tr><tr><td><code>autoReadOnlyDisabled</code></td><td>text/code notes can be set automatically into read mode when they are too large. You can disable this behavior on per-note basis by adding this label to the note</td></tr><tr><td><code>appCss</code></td><td>marks CSS notes which are loaded into the Trilium application and can thus be used to modify Trilium's looks.</td></tr><tr><td><code>appTheme</code></td><td>marks CSS notes which are full Trilium themes and are thus available in Trilium options.</td></tr><tr><td><code>appThemeBase</code></td><td>Set to <code>next</code>, <code>next-light</code>, or <code>next-dark</code> to use the corresponding TriliumNext theme (auto, light or dark) as the base for a custom theme, instead of the legacy one. See&nbsp;<a class="reference-link" href="../../Theme%20development/Customize%20the%20Next%20theme.md">Customize the Next theme</a>&nbsp;for more information.</td></tr><tr><td><code>cssClass</code></td><td>value of this label is then added as CSS class to the node representing given note in the tree. This can be useful for advanced theming. Can be used in template notes.</td></tr><tr><td><code>iconClass</code></td><td>value of this label is added as a CSS class to the icon on the tree which can help visually distinguish the notes in the tree. Example might be bx bx-home - icons are taken from boxicons. Can be used in template notes.</td></tr><tr><td><code>pageSize</code></td><td>number of items per page in note listing</td></tr><tr><td><code>customRequestHandler</code></td><td>See&nbsp;<a class="reference-link" href="../Custom%20Request%20Handler.md">Custom Request Handler</a>.</td></tr><tr><td><code>customResourceProvider</code></td><td>See&nbsp;<a class="reference-link" href="../Custom%20Resource%20Providers.md">Custom Resource Providers</a>.</td></tr><tr><td><code>widget</code></td><td>marks this note as a custom widget which will be added to the Trilium component tree. See&nbsp;<a class="reference-link" href="../../Note%20Types/Code/Custom%20Widgets.md">Custom Widgets</a>&nbsp;for more information.</td></tr><tr><td><code>workspace</code></td><td>marks this note as a workspace which allows easy hoisting</td></tr><tr><td><code>workspaceIconClass</code></td><td>defines box icon CSS class which will be used in tab when hoisted to this note</td></tr><tr><td><code>workspaceTabBackgroundColor</code></td><td>CSS color used in the note tab when hoisted to this note</td></tr><tr><td><code>workspaceCalendarRoot</code></td><td>Defines per-workspace calendar root</td></tr><tr><td><code>workspaceTemplate</code></td><td>This note will appear in the selection of available template when creating new note, but only when hoisted into a workspace containing this template</td></tr><tr><td><code>searchHome</code></td><td>new search notes will be created as children of this note</td></tr><tr><td><code>workspaceSearchHome</code></td><td>new search notes will be created as children of this note when hoisted to some ancestor of this workspace note</td></tr><tr><td><code>inbox</code></td><td>default inbox location for new notes - when you create a note using <em>new note</em> button in the sidebar, notes will be created as child notes in the note marked as with <code>#inbox</code> label.</td></tr><tr><td><code>workspaceInbox</code></td><td>default inbox location for new notes when hoisted to some ancestor of this workspace note</td></tr><tr><td><code>sqlConsoleHome</code></td><td>default location of&nbsp;<a class="reference-link" href="#root/_hidden/_help/_help_tC7s2alapj8V/_help_wX4HbRucYSDD/_help_oyIAJ9PvvwHX/_help_YKWqdJhzi2VY">SQL Console</a>&nbsp;notes</td></tr><tr><td><code>bookmarkFolder</code></td><td>note with this label will appear in bookmarks as folder (allowing access to its children)</td></tr><tr><td><code>shareHiddenFromTree</code></td><td>this note is hidden from left navigation tree, but still accessible with its URL</td></tr><tr><td><code>shareExternalLink</code></td><td>note will act as a link to an external website in the share tree</td></tr><tr><td><code>shareAlias</code></td><td>define an alias using which the note will be available under <code>https://your_trilium_host/share/[your_alias]</code></td></tr><tr><td><code>shareOmitDefaultCss</code></td><td>default share page CSS will be omitted. Use when you make extensive styling changes.</td></tr><tr><td><code>shareRoot</code></td><td>marks note which is served on /share root.</td></tr><tr><td><code>shareDescription</code></td><td>define text to be added to the HTML meta tag for description</td></tr><tr><td><code>shareRaw</code></td><td>note will be served in its raw format, without HTML wrapper</td></tr><tr><td><code>shareDisallowRobotIndexing</code></td><td>will forbid robot indexing of this note by setting the <code>X-Robots-Tag: noindex</code> HTTP header.</td></tr><tr><td><code>shareCredentials</code></td><td>require credentials to access this shared note. Value is expected to be in format <code>username:password</code>. Don't forget to make this inheritable to apply to child-notes/images.</td></tr><tr><td><code>shareIndex</code></td><td>note with this label will list all roots of shared notes</td></tr><tr><td><code>displayRelations</code></td><td>comma delimited names of relations which should be displayed. All other ones will be hidden.</td></tr><tr><td><code>hideRelations</code></td><td>comma delimited names of relations which should be hidden. All other ones will be displayed.</td></tr><tr><td><code>titleTemplate</code></td><td><p>Default title of notes created as children of this note. This value is evaluated as a JavaScript string and thus can be enriched with dynamic content via the injected <code>now</code> and <code>parentNote</code> variables.</p><p>Examples:</p><ul><li><code>${parentNote.getLabel('authorName')}'s literary works</code></li><li><code>Log for ${now.format('YYYY-MM-DD HH:mm:ss')}</code></li><li><code>${parentNote.title}</code> to mirror the parent's template.</li></ul></td></tr><tr><td><code>template</code></td><td>This note will appear in the selection of available template when creating new note</td></tr><tr><td><code>toc</code></td><td>Controls the display of the&nbsp;<a class="reference-link" href="../../Note%20Types/Text/Table%20of%20contents.md">Table of contents</a>&nbsp;for a given note. <code>#toc</code> or <code>#toc=show</code> to always display the table of contents, <code>#toc=false</code> to always hide it.</td></tr><tr><td><code>color</code></td><td>defines color of the note in note tree, links etc. Use any valid CSS color value like 'red' or #a13d5f</td></tr><tr><td><code>keyboardShortcut</code></td><td>Defines a keyboard shortcut which will immediately jump to this note. Example: 'ctrl+alt+e'. Requires frontend reload for the change to take effect.</td></tr><tr><td><code>keepCurrentHoisting</code></td><td>Opening this link won't change hoisting even if the note is not displayable in the current hoisted subtree.</td></tr><tr><td><code>executeButton</code></td><td>Title of the button which will execute the current code note</td></tr><tr><td><code>executeDescription</code></td><td>Longer description of the current code note displayed together with the execute button</td></tr><tr><td><code>excludeFromNoteMap</code></td><td>Notes with this label will be hidden from the&nbsp;<a class="reference-link" href="../../Note%20Types/Note%20Map.md">Note Map</a>.</td></tr><tr><td><code>newNotesOnTop</code></td><td>New notes will be created at the top of the parent note, not on the bottom.</td></tr><tr><td><code>hideHighlightWidget</code></td><td>Hide Highlight List widget</td></tr><tr><td><code>printLandscape</code></td><td>When exporting to PDF, changes the orientation of the page to landscape instead of portrait.</td></tr><tr><td><code>printPageSize</code></td><td>When exporting to PDF, changes the size of the page. Supported values: <code>A0</code>, <code>A1</code>, <code>A2</code>, <code>A3</code>, <code>A4</code>, <code>A5</code>, <code>A6</code>, <code>Legal</code>, <code>Letter</code>, <code>Tabloid</code>, <code>Ledger</code>.</td></tr></tbody></table></figure>
+> [!TIP]
+> Some labels presented here end with a `*`. That means that there are multiple labels with the same prefix, consult the specific page linked in the description of that label for more information.
-## Relations
+<figure class="table" style="width:100%;"><table class="ck-table-resized"><colgroup><col style="width:33.82%;"><col style="width:66.18%;"></colgroup><thead><tr><th>Label</th><th>Description</th></tr></thead><tbody><tr><td><code>disableVersioning</code></td><td>Disables automatic creation of&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20Revisions.md">Note Revisions</a>&nbsp;for a particular note. Useful for e.g. large, but unimportant notes - e.g. large JS libraries used for scripting.</td></tr><tr><td><code>versioningLimit</code></td><td>Limits the maximum number of&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20Revisions.md">Note Revisions</a>&nbsp;for a particular note, overriding the global settings.</td></tr><tr><td><code>calendarRoot</code></td><td>Marks the note which should be used as root for&nbsp;<a class="reference-link" href="../Advanced%20Showcases/Day%20Notes.md">Day Notes</a>. Only one should be marked as such.</td></tr><tr><td><code>archived</code></td><td>Hides notes from default search results and dialogs. Archived notes can optionally be hidden in the&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree.md">Note Tree</a>.</td></tr><tr><td><code>excludeFromExport</code></td><td>Excludes this note and its children when exporting.</td></tr><tr><td><code>run</code>, <code>runOnInstance</code>, <code>runAtHour</code></td><td>See&nbsp;<a class="reference-link" href="../../Scripting/Events.md">Events</a>.</td></tr><tr><td><code>disableInclusion</code></td><td>Scripts with this label won't be included into parent script execution.</td></tr><tr><td><code>sorted</code></td><td><p>Keeps child notes sorted by title alphabetically.</p><p>When given a value, it will sort by the value of another label instead. If one of the child notes doesn't have the specified label, the title will be used for them instead.</p></td></tr><tr><td><code>sortDirection</code></td><td><p>If <code>sorted</code> is applied, specifies the direction of the sort:</p><ul><li><code>ASC</code>, ascending (default)</li><li><code>DESC</code>, descending</li></ul></td></tr><tr><td><code>sortFoldersFirst</code></td><td>If <code>sorted</code> is applied, folders (notes with children) will be sorted as a group at the top, and the rest will be sorted.</td></tr><tr><td><code>top</code></td><td>If <code>sorted</code> is applied to the parent note, keeps given note on top in its parent.</td></tr><tr><td><code>hidePromotedAttributes</code></td><td>Hide&nbsp;<a class="reference-link" href="Promoted%20Attributes.md">Promoted Attributes</a>&nbsp;on this note. Generally useful when defining inherited attributes, but the parent note doesn't need them.</td></tr><tr><td><code>readOnly</code></td><td>Marks a note to be always be <a href="../../Basic%20Concepts%20and%20Features/Notes/Read-Only%20Notes.md">read-only</a>, if it's a supported note (text, code, mermaid).</td></tr><tr><td><code>autoReadOnlyDisabled</code></td><td>Disables automatic <a href="../../Basic%20Concepts%20and%20Features/Notes/Read-Only%20Notes.md">read-only mode</a> for the given note.</td></tr><tr><td><code>appCss</code></td><td>Marks CSS notes which are loaded into the Trilium application and can thus be used to modify Trilium's looks. See&nbsp;<a class="reference-link" href="../../Theme%20development/Custom%20app-wide%20CSS.md">Custom app-wide CSS</a>&nbsp;for more info.</td></tr><tr><td><code>appTheme</code></td><td>Marks CSS notes which are full Trilium themes and are thus available in Trilium options. See&nbsp;<a class="reference-link" href="../../Theme%20development">Theme development</a>&nbsp;for more information.</td></tr><tr><td><code>appThemeBase</code></td><td>Set to <code>next</code>, <code>next-light</code>, or <code>next-dark</code> to use the corresponding TriliumNext theme (auto, light or dark) as the base for a custom theme, instead of the legacy one. See&nbsp;<a class="reference-link" href="../../Theme%20development/Customize%20the%20Next%20theme.md">Customize the Next theme</a>&nbsp;for more information.</td></tr><tr><td><code>cssClass</code></td><td>Value of this label is then added as CSS class to the node representing given note in the&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree.md">Note Tree</a>. This can be useful for advanced theming. Can be used in template notes.</td></tr><tr><td><code>iconClass</code></td><td>value of this label is added as a CSS class to the icon on the tree which can help visually distinguish the notes in the tree. Example might be bx bx-home - icons are taken from boxicons. Can be used in template notes.</td></tr><tr><td><code>pageSize</code></td><td>Specifies the number of items per page in&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20List.md">Note List</a>.</td></tr><tr><td><code>customRequestHandler</code></td><td>See&nbsp;<a class="reference-link" href="../Custom%20Request%20Handler.md">Custom Request Handler</a>.</td></tr><tr><td><code>customResourceProvider</code></td><td>See&nbsp;<a class="reference-link" href="../Custom%20Resource%20Providers.md">Custom Resource Providers</a>.</td></tr><tr><td><code>widget</code></td><td>Marks this note as a custom widget which will be added to the Trilium component tree. See&nbsp;<a class="reference-link" href="../../Scripting/Custom%20Widgets.md">Custom Widgets</a>&nbsp;for more information.</td></tr><tr><td><code>searchHome</code></td><td>New search notes will be created as children of this note (see&nbsp;<a class="reference-link" href="../../Note%20Types/Saved%20Search.md">Saved Search</a>).</td></tr><tr><td><code>workspace</code> and related attributes</td><td>See&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Navigation/Workspaces.md">Workspaces</a>.</td></tr><tr><td><code>inbox</code></td><td>default inbox location for new notes - when you create a note using <em>new note</em> button in the sidebar, notes will be created as child notes in the note marked as with <code>#inbox</code> label.</td></tr><tr><td><code>sqlConsoleHome</code></td><td>Default location of&nbsp;<a class="reference-link" href="#root/_hidden/_help/_help_tC7s2alapj8V/_help_wX4HbRucYSDD/_help_oyIAJ9PvvwHX/_help_YKWqdJhzi2VY">SQL Console</a>&nbsp;notes</td></tr><tr><td><code>bookmarked</code></td><td>Indicates this note is a <a href="../../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.md">bookmark</a>.</td></tr><tr><td><code>bookmarkFolder</code></td><td>Note with this label will appear in bookmarks as folder (allowing access to its children). See&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.md">Bookmarks</a>&nbsp;for more information.</td></tr><tr><td><code>share*</code></td><td>See the attribute reference in&nbsp;<a class="reference-link" href="../Sharing.md">Sharing</a>.</td></tr><tr><td><code>displayRelations</code>, <code>hideRelations</code></td><td>Comma delimited names of relations which should be displayed/hidden in a&nbsp;<a class="reference-link" href="../../Note%20Types/Relation%20Map.md">Relation Map</a>&nbsp;(both the note type and the&nbsp;<a class="reference-link" href="../Note%20Map%20(Link%20map%2C%20Tree%20map).md">Note Map (Link map, Tree map)</a>&nbsp;general functionality).</td></tr><tr><td><code>titleTemplate</code></td><td><p>Default title of notes created as children of this note. This value is evaluated as a JavaScript string and thus can be enriched with dynamic content via the injected <code>now</code> and <code>parentNote</code> variables.</p><p>Examples:</p><ul><li><code>${parentNote.getLabel('authorName')}'s literary works</code></li><li><code>Log for ${now.format('YYYY-MM-DD HH:mm:ss')}</code></li><li>to mirror the parent's template.</li></ul><p>See&nbsp;<a class="reference-link" href="../Default%20Note%20Title.md">Default Note Title</a>&nbsp;for more info.</p></td></tr><tr><td><code>template</code></td><td>This note will appear in the selection of available template when creating new note. See&nbsp;<a class="reference-link" href="../Templates.md">Templates</a>&nbsp;for more information.</td></tr><tr><td><code>toc</code></td><td>Controls the display of the&nbsp;<a class="reference-link" href="../../Note%20Types/Text/Table%20of%20contents.md">Table of contents</a>&nbsp;for a given note. <code>#toc</code> or <code>#toc=show</code> to always display the table of contents, <code>#toc=false</code> to always hide it.</td></tr><tr><td><code>color</code></td><td>defines color of the note in note tree, links etc. Use any valid CSS color value like 'red' or #a13d5f</td></tr><tr><td><code>keyboardShortcut</code></td><td>Defines a keyboard shortcut which will immediately jump to this note. Example: 'ctrl+alt+e'. Requires frontend reload for the change to take effect.</td></tr><tr><td><code>keepCurrentHoisting</code></td><td>Opening this link won't change hoisting even if the note is not displayable in the current hoisted subtree.</td></tr><tr><td><code>executeButton</code></td><td>Title of the button which will execute the current code note</td></tr><tr><td><code>executeDescription</code></td><td>Longer description of the current code note displayed together with the execute button</td></tr><tr><td><code>excludeFromNoteMap</code></td><td>Notes with this label will be hidden from the&nbsp;<a class="reference-link" href="../../Note%20Types/Note%20Map.md">Note Map</a>.</td></tr><tr><td><code>newNotesOnTop</code></td><td>New notes will be created at the top of the parent note, not on the bottom.</td></tr><tr><td><code>hideHighlightWidget</code></td><td>Hides the&nbsp;<a class="reference-link" href="../../Note%20Types/Text/Highlights%20list.md">Highlights list</a>&nbsp;widget</td></tr><tr><td><code>hideChildrenOverview</code></td><td>Hides the&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20List.md">Note List</a>&nbsp;for that particular note.</td></tr><tr><td><code>printLandscape</code></td><td>When exporting to PDF, changes the orientation of the page to landscape instead of portrait.</td></tr><tr><td><code>printPageSize</code></td><td>When exporting to PDF, changes the size of the page. Supported values: <code>A0</code>, <code>A1</code>, <code>A2</code>, <code>A3</code>, <code>A4</code>, <code>A5</code>, <code>A6</code>, <code>Legal</code>, <code>Letter</code>, <code>Tabloid</code>, <code>Ledger</code>.</td></tr><tr><td><code>geolocation</code></td><td>Indicates the latitude and longitude of a note, to be displayed in a&nbsp;<a class="reference-link" href="../../Note%20Types/Geo%20Map.md">Geo Map</a>.</td></tr><tr><td><code>calendar:*</code></td><td>Defines specific options for the&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20List/Calendar%20View.md">Calendar View</a>.</td></tr><tr><td><code>viewType</code></td><td>Sets the view of child notes (e.g. grid or list). See&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20List.md">Note List</a>&nbsp;for more information.</td></tr></tbody></table></figure>
-<figure class="table" style="width:100%;"><table class="ck-table-resized"><colgroup><col style="width:33.95%;"><col style="width:66.05%;"></colgroup><thead><tr><th>Label</th><th>Description</th></tr></thead><tbody><tr><td><code>runOnNoteCreation</code></td><td>executes when note is created on backend. Use this relation if you want to run the script for all notes created under a specific subtree. In that case, create it on the subtree root note and make it inheritable. A new note created within the subtree (any depth) will trigger the script.</td></tr><tr><td><code>runOnChildNoteCreation</code></td><td>executes when new note is created under the note where this relation is defined</td></tr><tr><td><code>runOnNoteTitleChange</code></td><td>executes when note title is changed (includes note creation as well)</td></tr><tr><td><code>runOnNoteContentChange</code></td><td>executes when note content is changed (includes note creation as well).</td></tr><tr><td><code>runOnNoteChange</code></td><td>executes when note is changed (includes note creation as well). Does not include content changes</td></tr><tr><td><code>runOnNoteDeletion</code></td><td>executes when note is being deleted</td></tr><tr><td><code>runOnBranchCreation</code></td><td>executes when a branch is created. Branch is a link between parent note and child note and is created e.g. when cloning or moving note.</td></tr><tr><td><code>runOnBranchChange</code></td><td>executes when a branch is updated.</td></tr><tr><td><code>runOnBranchDeletion</code></td><td>executes when a branch is deleted. Branch is a link between parent note and child note and is deleted e.g. when moving note (old branch/link is deleted).</td></tr><tr><td><code>runOnAttributeCreation</code></td><td>executes when new attribute is created for the note which defines this relation</td></tr><tr><td><code>runOnAttributeChange</code></td><td>executes when the attribute is changed of a note which defines this relation. This is triggered also when the attribute is deleted</td></tr><tr><td><code>template</code></td><td>note's attributes will be inherited even without a parent-child relationship, note's content and subtree will be added to instance notes if empty. See documentation for details.</td></tr><tr><td><code>inherit</code></td><td>note's attributes will be inherited even without a parent-child relationship. See&nbsp;<a class="reference-link" href="../Templates.md">Templates</a>&nbsp;for a similar concept. See&nbsp;<a class="reference-link" href="Attribute%20Inheritance.md">Attribute Inheritance</a>&nbsp;in the documentation.</td></tr><tr><td><code>renderNote</code></td><td>notes of type&nbsp;<a class="reference-link" href="../../Note%20Types/Render%20Note.md">Render Note</a>&nbsp;will be rendered using a code note (HTML or script) and it is necessary to point using this relation to which note should be rendered</td></tr><tr><td><code>widget_relation</code></td><td>target of this relation will be executed and rendered as a widget in the sidebar</td></tr><tr><td><code>shareCss</code></td><td>CSS note which will be injected into the share page. CSS note must be in the shared sub-tree as well. Consider using <code>share_hidden_from_tree</code> and <code>share_omit_default_css</code> as well.</td></tr><tr><td><code>shareJs</code></td><td>JavaScript note which will be injected into the share page. JS note must be in the shared sub-tree as well. Consider using <code>share_hidden_from_tree</code>.</td></tr><tr><td><code>shareTemplate</code></td><td>Embedded JavaScript note that will be used as the template for displaying the shared note. Falls back to the default template. Consider using <code>share_hidden_from_tree</code>.</td></tr><tr><td><code>shareFavicon</code></td><td>Favicon note to be set in the shared page. Typically you want to set it to share root and make it inheritable. Favicon note must be in the shared sub-tree as well. Consider using <code>share_hidden_from_tree</code>.</td></tr></tbody></table></figure>
+## Relations
-* `disableVersioning`: Disables automatic versioning, ideal for large, unimportant notes like script libraries
-* `versioningLimit`: Used to limit the number of revisions for a single note
-* `calendarRoot`: Marks the note as the root for <a class="reference-link" href="../Advanced%20Showcases/Day%20Notes.md">Day Notes</a>. Only one note should carry this label.
-* `excludeFromExport`: Excludes notes and their subtrees from export operations
-* `run`: Specifies events to trigger scripts (e.g., `frontendStartup`, `hourly`)
-* `runAtHour`: Defines specific hours for scripts to run, used with `#run=hourly`
-* `disableInclusion`: Prevents a script from being included in parent script executions
-* `sorted`: Automatically sorts child notes alphabetically by title
-* `top`: Keeps the note at the top of its parent's list, useful with `sorted`
-* `hidePromotedAttributes`: Hides certain attributes in the note's display
-* `readOnly`: Sets the note to read-only mode, applicable to text and code notes
-* `autoReadOnlyDisabled`: Disables automatic read-only mode for large notes
-* `appCss`: Marks CSS notes used to modify Trilium’s appearance
-* `appTheme`: Marks full CSS themes available in Trilium's options
-* `cssClass`: Adds a CSS class to the note's representation in the tree
-* `iconClass`: Adds a CSS class to the note's icon, useful for distinguishing notes visually. See <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20Icons.md">Note Icons</a>.
-* `pageSize`: Specifies the number of items per page in note listings
-* `customRequestHandler` **and** `customResourceProvider`: Refer to <a class="reference-link" href="../Custom%20Request%20Handler.md">Custom Request Handler</a>
-* `widget`: Marks a note as a custom widget, added to Trilium's component tree
-* `workspace` **and related attributes**: See <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Navigation/Workspace.md">Workspace</a> for more details
-* `searchHome`: Specifies the parent for new search notes
-* `inbox`: Designates a default location for new notes created via the sidebar
-* `sqlConsoleHome`: Default location for SQL console notes
-* `bookmarked` **and** `bookmarkFolder`: See <a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.md">Bookmarks</a>
-* `share:[…]`: See <a class="reference-link" href="../Sharing.md">Sharing</a>
-* `keyboardShortcut`: Assigns a keyboard shortcut to open the note
-* `displayRelations` **and** `hideRelations`: Manages the display of note relations
-* `titleTemplate`: See <a class="reference-link" href="../Default%20Note%20Title.md">Default Note Title</a>
-* `template`: Makes the note available as a template
-* `toc`: Controls the visibility of the table of contents
-* `color`: Defines the color of the note in the tree and links
-* `hideChildrenOverview`: Hides child notes in the parent note's editor
-* `viewType`: Sets the view of child notes (grid or list)
+> [!TIP]
+> Some relations presented here end with a `*`. That means that there are multiple relations with the same prefix, consult the specific page linked in the description of that relation for more information.
-## Relations
\ No newline at end of file
+<figure class="table" style="width:100%;"><table class="ck-table-resized"><colgroup><col style="width:33.95%;"><col style="width:66.05%;"></colgroup><thead><tr><th>Label</th><th>Description</th></tr></thead><tbody><tr><td><code>runOn*</code></td><td>See&nbsp;<a class="reference-link" href="../../Scripting/Events.md">Events</a></td></tr><tr><td><code>template</code></td><td>note's attributes will be inherited even without a parent-child relationship, note's content and subtree will be added to instance notes if empty. See documentation for details.</td></tr><tr><td><code>inherit</code></td><td>note's attributes will be inherited even without a parent-child relationship. See&nbsp;<a class="reference-link" href="../Templates.md">Templates</a>&nbsp;for a similar concept. See&nbsp;<a class="reference-link" href="Attribute%20Inheritance.md">Attribute Inheritance</a>&nbsp;in the documentation.</td></tr><tr><td><code>renderNote</code></td><td>notes of type&nbsp;<a class="reference-link" href="../../Note%20Types/Render%20Note.md">Render Note</a>&nbsp;will be rendered using a code note (HTML or script) and it is necessary to point using this relation to which note should be rendered</td></tr><tr><td><code>widget_relation</code></td><td>target of this relation will be executed and rendered as a widget in the sidebar</td></tr><tr><td><code>shareCss</code></td><td>CSS note which will be injected into the share page. CSS note must be in the shared sub-tree as well. Consider using <code>share_hidden_from_tree</code> and <code>share_omit_default_css</code> as well.</td></tr><tr><td><code>shareJs</code></td><td>JavaScript note which will be injected into the share page. JS note must be in the shared sub-tree as well. Consider using <code>share_hidden_from_tree</code>.</td></tr><tr><td><code>shareTemplate</code></td><td>Embedded JavaScript note that will be used as the template for displaying the shared note. Falls back to the default template. Consider using <code>share_hidden_from_tree</code>.</td></tr><tr><td><code>shareFavicon</code></td><td>Favicon note to be set in the shared page. Typically you want to set it to share root and make it inheritable. Favicon note must be in the shared sub-tree as well. Consider using <code>share_hidden_from_tree</code>.</td></tr></tbody></table></figure>
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.md b/docs/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.md
new file mode 100644
index 0000000000..6c69aff5ed
--- /dev/null
+++ b/docs/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.md
@@ -0,0 +1,19 @@
+# Trilium instance
+A Trilium instance represents a server. If <a class="reference-link" href="../../Installation%20%26%20Setup/Synchronization.md">Synchronization</a> is set up, since multiple servers are involved (the one from the desktop client and the one the synchronisation is set up with), sometimes it can be useful to distinguish the instance you are running on.
+
+## Setting the instance name
+
+To set up a name for the instance, modify the `config.ini`:
+
+```
+[General]
+instanceName=Hello
+```
+
+## Distinguishing the instance on back-end
+
+Use `api.getInstanceName()` to obtain the instance name of the current server, as specified in the config file or in environment variables.
+
+## Limiting script runs based on instance
+
+For a script that is run periodically or on a certain event, it's possible to limit it to certain instances without having to change the code. Just add `runOnInstance` and set as the value the instance name where the script should run. To run on multiple named instances, simply add the label multiple times.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Advanced Usage/Custom Request Handler.md b/docs/User Guide/User Guide/Advanced Usage/Custom Request Handler.md
index b848fdd8d3..60306d76f3 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Custom Request Handler.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Custom Request Handler.md
@@ -53,7 +53,7 @@ Trilium will then find our code note created above and execute it. `api.req`, `a
In the code note we check the request method and then use trivial authentication - keep in mind that these endpoints are by default totally unauthenticated, and you need to take care of this yourself.
-Once we pass these checks we will just create the desired note using [Script API](../Note%20Types/Code/Script%20API.md).
+Once we pass these checks we will just create the desired note using [Script API](../Scripting/Script%20API.md).
## Custom resource provider
diff --git a/docs/User Guide/User Guide/Advanced Usage/Default Note Title.md b/docs/User Guide/User Guide/Advanced Usage/Default Note Title.md
index fabf9fef8a..1b4e575bfc 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Default Note Title.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Default Note Title.md
@@ -17,14 +17,16 @@ And all children of "2022 Books" will be created with initial title "\[Author na
The value of `#titleTemplate` is evaluated at the point of note's creation as a JavaScript string, which means it can be enriched with the help of JS string interpolation with dynamic data.
-As an example, imagine you collect server outage incidents and write some notes. It looks like this:
+Second variable injected is `parentNote` which gives access to the parent [`FNote`](../Scripting/Script%20API/Frontend%20API/FNote.md).
-* Incidents
- * 2022-05-09: System crash
- * 2022-05-15: Backup delay
+See also <a class="reference-link" href="Templates.md">Templates</a> which provides similar capabilities, including default note's content.
-You can automatize the date assignment by assigning a label `#titleTemplate="${now.format('YYYY-MM-DD')}: "` to the parent note "Incidents". Whenever a new child note is created, the title template is evaluated with the injected [now](https://day.js.org/docs/en/display/format) object.
+### Examples
-Second variable injected is [parentNote](https://triliumnext.github.io/Notes/backend_api/BNote.html), an example could be `#titleTemplate="${parentNote.getLabelValue('authorName')}'s literary works"`.
-
-See also \[\[[template](Templates.md)\]\] which provides similar capabilities, including default note's content.
\ No newline at end of file
+* Imagine you collect server outage incidents and write some notes. It looks like this:
+ * Incidents
+ * 2022-05-09: System crash
+ * 2022-05-15: Backup delay
+ * You can automatize the date assignment by assigning a label `#titleTemplate="${now.format('YYYY-MM-DD')}: "` to the parent note "Incidents". Whenever a new child note is created, the title template is evaluated with the injected [now](https://day.js.org/docs/en/display/format) object.
+* To use a parent's attribute in the title of new notes: `#titleTemplate="${parentNote.getLabelValue('authorName')}'s literary works"`
+* To mirror the parent's note title: `${parentNote.title}`
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Advanced Usage/Sharing.md b/docs/User Guide/User Guide/Advanced Usage/Sharing.md
index e23c50ee49..17c8aa4757 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Sharing.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Sharing.md
@@ -3,7 +3,7 @@ Trilium allows you to share selected notes as **publicly accessible** read-only
## Prerequisites
-To use the sharing feature, you must have a [server installation](../Installation%20%26%20Setup/Server%20Installation.md) of Trilium. This is necessary because the notes will be hosted from the server.
+To use the sharing feature, you must have a <a class="reference-link" href="../Installation%20%26%20Setup/Server%20Installation.md">Server Installation</a> of Trilium. This is necessary because the notes will be hosted from the server.
## How to Share a Note
@@ -40,7 +40,7 @@ To protect shared notes with a username and password, you can use the `#shareCre
The default shared page is basic in design, but you can customize it using your own CSS:
-* **Custom CSS**: Link a CSS [code note](../Note%20Types/Code.md) to the shared page by adding a `~shareCss` relation to the note. If you want this style to apply to the entire subtree, make the label inheritable. You can hide the CSS code note from the tree navigation by adding the `#shareHiddenFromTree` label.
+* **Custom CSS**: Link a CSS <a class="reference-link" href="../Note%20Types/Code.md">Code</a> note to the shared page by adding a `~shareCss` relation to the note. If you want this style to apply to the entire subtree, make the label inheritable. You can hide the CSS code note from the tree navigation by adding the `#shareHiddenFromTree` label.
* **Omitting Default CSS**: For extensive styling changes, use the `#shareOmitDefaultCss` label to avoid conflicts with Trilium's [default stylesheet](../Basic%20Concepts%20and%20Features/Themes.md).
### Adding JavaScript
@@ -81,12 +81,6 @@ To customize the favicon for your shared pages, create a relation `~shareFavicon
You can designate a specific note or folder as the root of your shared content by adding the `#shareRoot` label. This note will be linked when visiting `[http://domain.tld/share](http://domain/share)`, making it easier to use Trilium as a fully-fledged website. Consider combining this with the `#shareIndex` label, which will display a list of all shared notes.
-## Additional Options
-
-* **Raw Note Sharing**: Use the `#shareRaw` label to share a note without any HTML wrapper.
-* **Disallow Robot Indexing**: Add the `#shareDisallowRobotIndexing` label to prevent search engines from indexing the shared page by including a `noindex, follow` meta tag and `X-Robots-Tag: noindex` header.
-* **Shared Notes Index**: For text notes with the `#shareIndex` label, the content will display a list of all shared note roots.
-
## Limitations
While the sharing feature is powerful, it has some limitations:
@@ -98,4 +92,8 @@ While the sharing feature is powerful, it has some limitations:
* **Protected Notes**: Cannot be shared.
* **Include Notes**: Not supported.
-Some of these limitations may be addressed in future updates.
\ No newline at end of file
+Some of these limitations may be addressed in future updates.
+
+## Attribute reference
+
+<figure class="table"><table><thead><tr><th>Attribute</th><th>Description</th></tr></thead><tbody><tr><td><code>shareHiddenFromTree</code></td><td>this note is hidden from left navigation tree, but still accessible with its URL</td></tr><tr><td><code>shareExternalLink</code></td><td>note will act as a link to an external website in the share tree</td></tr><tr><td><code>shareAlias</code></td><td>define an alias using which the note will be available under <code>https://your_trilium_host/share/[your_alias]</code></td></tr><tr><td><code>shareOmitDefaultCss</code></td><td>default share page CSS will be omitted. Use when you make extensive styling changes.</td></tr><tr><td><code>shareRoot</code></td><td>marks note which is served on /share root.</td></tr><tr><td><code>shareDescription</code></td><td>define text to be added to the HTML meta tag for description</td></tr><tr><td><code>shareRaw</code></td><td>Note will be served in its raw format, without HTML wrapper. See also&nbsp;<a class="reference-link" href="Sharing/Serving%20directly%20the%20content%20o.md">Serving directly the content of a note</a>&nbsp;for an alternative method without setting an attribute.</td></tr><tr><td><code>shareDisallowRobotIndexing</code></td><td><p>Indicates to web crawlers that the page should not be indexed of this note by:</p><ul><li>Setting the <code>X-Robots-Tag: noindex</code> HTTP header.</li><li>Setting the <code>noindex, follow</code> meta tag.</li></ul></td></tr><tr><td><code>shareCredentials</code></td><td>require credentials to access this shared note. Value is expected to be in format <code>username:password</code>. Don't forget to make this inheritable to apply to child-notes/images.</td></tr><tr><td><code>shareIndex</code></td><td>Note with this label will list all roots of shared notes.</td></tr></tbody></table></figure>
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Advanced Usage/Templates.md b/docs/User Guide/User Guide/Advanced Usage/Templates.md
index 3604af2dba..bd174e0f30 100644
--- a/docs/User Guide/User Guide/Advanced Usage/Templates.md
+++ b/docs/User Guide/User Guide/Advanced Usage/Templates.md
@@ -23,7 +23,7 @@ To create an instance note through the UI:
![show child note templates](Templates_template-create-.png)
-For the template to appear in the menu, the template note must have the `#template` label. Do not confuse this with the `~template` relation, which links the instance note to the template note. If you use [workspaces](../Basic%20Concepts%20and%20Features/Navigation/Workspace.md), you can also mark templates with `#workspaceTemplate` to display them only in the workspace.
+For the template to appear in the menu, the template note must have the `#template` label. Do not confuse this with the `~template` relation, which links the instance note to the template note. If you use [workspaces](../Basic%20Concepts%20and%20Features/Navigation/Workspaces.md), you can also mark templates with `#workspaceTemplate` to display them only in the workspace.
Templates can also be added or changed after note creation by creating a `~template` relation pointing to the desired template note.
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/1_Workspace_image.png b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/1_Workspaces_image.png
similarity index 100%
rename from docs/User Guide/User Guide/Basic Concepts and Features/Navigation/1_Workspace_image.png
rename to docs/User Guide/User Guide/Basic Concepts and Features/Navigation/1_Workspaces_image.png
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.md b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.md
index a2238fcd17..a6665943ed 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.md
@@ -5,4 +5,4 @@ Hoisting is a standard outliner feature which allows you to focus on (or "zoom i
In addition to showing only this subtree, this also narrows both full text search and [“jump to note”](Note%20Navigation.md) to just notes present in hoisted subtree.
-See also [Workspace](Workspace.md) which extends this feature.
\ No newline at end of file
+See also [Workspace](Workspaces.md) which extends this feature.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspace.md b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspace.md
deleted file mode 100644
index 32c33349db..0000000000
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspace.md
+++ /dev/null
@@ -1,24 +0,0 @@
-# Workspace
-Workspace is a concept built up on top of [note hoisting](Note%20Hoisting.md). It is based on the idea that a user has several distinct spheres of interest. An example might be "Personal" and "Work", these two spheres are quite distinct and don't interact together. When I focus on Work, I don't really care about personal notes.
-
-So far workspace consists of these features:
-
-* [note hoisting](Note%20Hoisting.md) - you can "zoom" into a workspace subtree to focus only on the relevant notes
-
-* easy entering of workspace: 
-
- ![](1_Workspace_image.png)
-
-* visual identification of workspace in tabs:
- ![](Workspace_image.png)
-
-
-### How to use workspaces
-
-Let's say you have identified the workspaces and their subtrees. Define on the root of this subtree following labels:
-
-* `#workspace` - Marks this note as a workspace, button to enter the workspace is controlled by this
-* `#workspaceIconClass` - controls the box icon to be displayed in the tree and tabs, example `bx bx-home`. See [https://boxicons.com/](https://boxicons.com/)
-* `#workspaceTabBackgroundColor` - Background color of the tab, use any CSS color format, e.g. "lightblue" or "#ddd". See [https://www.w3schools.com/cssref/css\_colors.asp](https://www.w3schools.com/cssref/css_colors.asp).
-* `#workspaceCalendarRoot` - marking a note with this label will define a new per-workspace calendar. If there's no such note, the global calendar will be used.
-* `#workspaceTemplate` - This note will appear in the selection of available templates when creating a new note, but only when you are currently hoisted into a workspace containing this template.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.md b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.md
new file mode 100644
index 0000000000..d00086c4c2
--- /dev/null
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.md
@@ -0,0 +1,16 @@
+# Workspaces
+Workspace is a concept built up on top of [note hoisting](Note%20Hoisting.md). It is based on the idea that a user has several distinct spheres of interest. An example might be "Personal" and "Work", these two spheres are quite distinct and don't interact together. When I focus on Work, I don't really care about personal notes.
+
+So far workspace consists of these features:
+
+* [note hoisting](Note%20Hoisting.md) - you can "zoom" into a workspace subtree to focus only on the relevant notes
+* easy entering of workspace: 
+
+ ![](1_Workspaces_image.png)
+
+* visual identification of workspace in tabs:
+ ![](Workspaces_image.png)
+
+### Configuration
+
+<figure class="table"><table><thead><tr><th>Label</th><th>Description</th></tr></thead><tbody><tr><td><code>workspace</code></td><td>Marks this note as a workspace, button to enter the workspace is controlled by this</td></tr><tr><td><code>workspaceIconClass</code></td><td>defines box icon CSS class which will be used in tab when hoisted to this note</td></tr><tr><td><code>workspaceTabBackgroundColor</code></td><td>CSS color used in the note tab when hoisted to this note, use any CSS color format, e.g. "lightblue" or "#ddd". See <a href="https://www.w3schools.com/cssref/css_colors.asp">https://www.w3schools.com/cssref/css_colors.asp</a>.</td></tr><tr><td><code>workspaceCalendarRoot</code></td><td>Marking a note with this label will define a new per-workspace calendar for&nbsp;<a class="reference-link" href="../../Advanced%20Usage/Advanced%20Showcases/Day%20Notes.md">Day Notes</a>. If there's no such note, the global calendar will be used.</td></tr><tr><td><code>workspaceTemplate</code></td><td>This note will appear in the selection of available template when creating new note, but only when hoisted into a workspace containing this template</td></tr><tr><td><code>workspaceSearchHome</code></td><td>new search notes will be created as children of this note when hoisted to some ancestor of this workspace note</td></tr><tr><td><code>workspaceInbox</code></td><td>default inbox location for new notes when hoisted to some ancestor of this workspace note</td></tr></tbody></table></figure>
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspace_image.png b/docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces_image.png
similarity index 100%
rename from docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspace_image.png
rename to docs/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces_image.png
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.md b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.md
index 3d69812471..0c8273a8b1 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.md
@@ -1,9 +1,10 @@
# Note List
When a note has one or more child notes, they will be listed at the end of the note for easy navigation.
-## Hide the note list for a given note
+## Configuration
-If the note list is not desireable for a particular note, simply apply the `hideChildrenOverview` [label](../../Advanced%20Usage/Attributes.md).
+* To hide the note list for a particular note, simply apply the `hideChildrenOverview` [label](../../Advanced%20Usage/Attributes.md).
+* For some view types, such as Grid view, only a subset of notes will be displayed and pagination can be used to navigate through all of them for performance reasons. To adjust the number of notes per page, set `pageSize` to the desired number.
## View types
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.md
index d3dfd49f8b..33fb8a0ede 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.md
@@ -56,7 +56,7 @@ Right click either the _Available launchers_ or _Visible launchers_ sections and
2. Optionally, set a `keyboardShortcut` to trigger the launcher.
3. **Custom Widget**
- Allows defining a custom widget to be rendered inside the launcher. See [Widget Basics](../../Scripting/Widget%20Basics.md) for more information.
+ Allows defining a custom widget to be rendered inside the launcher. See [Widget Basics](../../Scripting/Custom%20Widgets/Widget%20Basics.md) for more information.
4. **Spacers**
Launchers that create some distance between other launchers for better visual distinction.
diff --git a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.md b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.md
index 73ff35d1e3..b53135131c 100644
--- a/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.md
+++ b/docs/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.md
@@ -61,4 +61,6 @@ This section displays information about the current note:
### Edited notes
-This section pops automatically when entering a [day note](../../Advanced%20Usage/Advanced%20Showcases/Day%20Notes.md) and shows the notes that were edited that day.
\ No newline at end of file
+This section pops automatically when entering a [day note](../../Advanced%20Usage/Advanced%20Showcases/Day%20Notes.md) and shows the notes that were edited that day.
+
+It is possible to disable this behavior from settings, by going to <a class="reference-link" href="#root/_hidden/_options/_optionsAppearance">Appearance</a> settings and looking for the _Ribbon widgets_ section.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Note Types/Code/Events.md b/docs/User Guide/User Guide/Note Types/Code/Events.md
deleted file mode 100644
index ca33368899..0000000000
--- a/docs/User Guide/User Guide/Note Types/Code/Events.md
+++ /dev/null
@@ -1,29 +0,0 @@
-# Events
-[Script](../../Scripting.md) notes can be triggered by events. Note that these are backend events and thus relation need to point to the "JS backend" code note.
-
-## Global events
-
-Global events are attached to the script note via label. Simply create e.g. "run" label with some of these values and script note will be executed once the event occurs.
-
-* `run`
- * `frontendStartup` - executes on frontend upon startup
- * `mobileStartup` - executes on mobile frontend upon startup
- * `backendStartup` - executes on backend upon startup
- * `hourly` - executes once an hour on backend
- * `daily` - executes once a day on backend
-
-## Entity events
-
-Other events are bound to some entity, these are defined as [relations](../../Advanced%20Usage/Attributes.md) - meaning that script is triggered only if note has this script attached to it through relations (or it can inherit it).
-
-* `runOnNoteCreation` - executes when note is created on backend
-* `runOnNoteTitleChange` - executes when note title is changed (includes note creation as well)
-* `runOnNoteContentChange` - executes when note content is changed (includes note creation as well).
-* `runOnNoteChange` - executes when note is changed (includes note creation as well)
-* `runOnNoteDeletion` - executes when note is being deleted
-* `runOnBranchCreation` - executes when a branch is created. Branch is a link between parent note and child note and is created e.g. when cloning or moving note.
-* `runOnBranchChange` (since v0.62) - executes when a branch is changed - either expanded status or prefix are changed.
-* `runOnBranchDeletion` - executes when a branch is delete. Branch is a link between parent note and child note and is deleted e.g. when moving note (old branch/link is deleted).
-* `runOnChildNoteCreation` - executes when new note is created under _this_ note
-* `runOnAttributeCreation` - executes when new attribute is created under _this_ note
-* `runOnAttributeChange` - executes when attribute is changed under _this_ note
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Note Types/Saved Search.md b/docs/User Guide/User Guide/Note Types/Saved Search.md
index 80719b210a..c2664085f5 100644
--- a/docs/User Guide/User Guide/Note Types/Saved Search.md
+++ b/docs/User Guide/User Guide/Note Types/Saved Search.md
@@ -5,4 +5,4 @@ Trilium allows you to save common searches as notes within the note tree. The se
## Location
-By default, saved searches are stored in the day note. However, you can designate a different note to store saved searches by marking it with the `#searchHome` label. Additionally, for [workspaces](../Basic%20Concepts%20and%20Features/Navigation/Workspace.md), you can use the `#workspaceSearchHome` label to specify a storage location for saved searches within that workspace.
\ No newline at end of file
+By default, saved searches are stored in the day note. However, you can designate a different note to store saved searches by marking it with the `#searchHome` label. Additionally, for [workspaces](../Basic%20Concepts%20and%20Features/Navigation/Workspaces.md), you can use the `#workspaceSearchHome` label to specify a storage location for saved searches within that workspace.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Scripting.md b/docs/User Guide/User Guide/Scripting.md
index 09b451e492..bdc76d4a0f 100644
--- a/docs/User Guide/User Guide/Scripting.md
+++ b/docs/User Guide/User Guide/Scripting.md
@@ -1,5 +1,5 @@
# Scripting
-Trilium supports creating <a class="reference-link" href="Note%20Types/Code.md">Code</a> notes, i.e. notes which allow you to store some programming code and highlight it. Special case is JavaScript code notes which can also be executed inside Trilium which can in conjunction with <a class="reference-link" href="Note%20Types/Code/Script%20API.md">Script API</a> provide extra functionality.
+Trilium supports creating <a class="reference-link" href="Note%20Types/Code.md">Code</a> notes, i.e. notes which allow you to store some programming code and highlight it. Special case is JavaScript code notes which can also be executed inside Trilium which can in conjunction with <a class="reference-link" href="Scripting/Script%20API.md">Script API</a> provide extra functionality.
## Scripting
@@ -34,8 +34,8 @@ You can see more scripting with explanation in <a class="reference-link" href="
## Events
-See <a class="reference-link" href="Note%20Types/Code/Events.md">Events</a>.
+See <a class="reference-link" href="Scripting/Events.md">Events</a>.
## Script API
-See <a class="reference-link" href="Note%20Types/Code/Script%20API.md">Script API</a>.
\ No newline at end of file
+See <a class="reference-link" href="Scripting/Script%20API.md">Script API</a>.
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Note Types/Code/Custom Widgets.md b/docs/User Guide/User Guide/Scripting/Custom Widgets.md
similarity index 100%
rename from docs/User Guide/User Guide/Note Types/Code/Custom Widgets.md
rename to docs/User Guide/User Guide/Scripting/Custom Widgets.md
diff --git a/docs/User Guide/User Guide/Scripting/Widget Basics.md b/docs/User Guide/User Guide/Scripting/Custom Widgets/Widget Basics.md
similarity index 90%
rename from docs/User Guide/User Guide/Scripting/Widget Basics.md
rename to docs/User Guide/User Guide/Scripting/Custom Widgets/Widget Basics.md
index d457ad6ac7..ffc5df52a2 100644
--- a/docs/User Guide/User Guide/Scripting/Widget Basics.md
+++ b/docs/User Guide/User Guide/Scripting/Custom Widgets/Widget Basics.md
@@ -22,10 +22,10 @@ module.exports = new MyWidget();
To implement this widget:
1. Create a new `JS Frontend` note in Trilium and paste in the code above.
-2. Assign the `#widget` [attribute](../Advanced%20Usage/Attributes.md) to the [note](../Basic%20Concepts%20and%20Features/Notes.md).
+2. Assign the `#widget` [attribute](../../Advanced%20Usage/Attributes.md) to the [note](../../Basic%20Concepts%20and%20Features/Notes.md).
3. Restart Trilium or reload the window.
-To verify that the widget is working, open the developer tools (`Cmd` + `Shift` + `I`) and run `document.querySelector("#my-widget")`. If the element is found, the widget is functioning correctly. If `undefined` is returned, double-check that the [note](../Basic%20Concepts%20and%20Features/Notes.md) has the `#widget` [attribute](../Advanced%20Usage/Attributes.md).
+To verify that the widget is working, open the developer tools (`Cmd` + `Shift` + `I`) and run `document.querySelector("#my-widget")`. If the element is found, the widget is functioning correctly. If `undefined` is returned, double-check that the [note](../../Basic%20Concepts%20and%20Features/Notes.md) has the `#widget` [attribute](../../Advanced%20Usage/Attributes.md).
### Step 2: Adding an UI Element
@@ -85,7 +85,7 @@ After reloading Trilium, the button should now appear at the bottom left of the
### Step 4: Adding User Interaction
-Let’s make the button interactive by showing a message when it’s clicked. We'll use the `api.showMessage` method from the [Script API](../Note%20Types/Code/Script%20API.md).
+Let’s make the button interactive by showing a message when it’s clicked. We'll use the `api.showMessage` method from the [Script API](../Script%20API.md).
```
class MyWidget extends api.BasicWidget {
diff --git a/docs/User Guide/User Guide/Note Types/Code/Custom Widgets/Word count widget.md b/docs/User Guide/User Guide/Scripting/Custom Widgets/Word count widget.md
similarity index 86%
rename from docs/User Guide/User Guide/Note Types/Code/Custom Widgets/Word count widget.md
rename to docs/User Guide/User Guide/Scripting/Custom Widgets/Word count widget.md
index 2110032fab..d39b328ea0 100644
--- a/docs/User Guide/User Guide/Note Types/Code/Custom Widgets/Word count widget.md
+++ b/docs/User Guide/User Guide/Scripting/Custom Widgets/Word count widget.md
@@ -1,8 +1,8 @@
# Word count widget
> [!TIP]
-> This widget is also present in new installations in the <a class="reference-link" href="../../../Advanced%20Usage/Database/Demo%20Notes.md">Demo Notes</a>.
+> This widget is also present in new installations in the <a class="reference-link" href="../../Advanced%20Usage/Database/Demo%20Notes.md">Demo Notes</a>.
-Create a <a class="reference-link" href="../../Code.md">Code</a> note of type JS frontend and **give it a** `#widget` **label**.
+Create a <a class="reference-link" href="../../Note%20Types/Code.md">Code</a> note of type JS frontend and **give it a** `#widget` **label**.
```
/*
@@ -82,7 +82,7 @@ class WordCountWidget extends api.NoteContextAwareWidget {
module.exports = new WordCountWidget();
```
-After you make changes it is necessary to [restart Trilium](../../../Troubleshooting/Refreshing%20the%20application.md) so that the layout can be rebuilt.
+After you make changes it is necessary to [restart Trilium](../../Troubleshooting/Refreshing%20the%20application.md) so that the layout can be rebuilt.
At the bottom of the note you can see the resulting widget:
diff --git a/docs/User Guide/User Guide/Note Types/Code/Custom Widgets/Word count widget_image.png b/docs/User Guide/User Guide/Scripting/Custom Widgets/Word count widget_image.png
similarity index 100%
rename from docs/User Guide/User Guide/Note Types/Code/Custom Widgets/Word count widget_image.png
rename to docs/User Guide/User Guide/Scripting/Custom Widgets/Word count widget_image.png
diff --git a/docs/User Guide/User Guide/Scripting/Events.md b/docs/User Guide/User Guide/Scripting/Events.md
new file mode 100644
index 0000000000..242d1790fd
--- /dev/null
+++ b/docs/User Guide/User Guide/Scripting/Events.md
@@ -0,0 +1,14 @@
+# Events
+[Script](../Scripting.md) notes can be triggered by events. Note that these are backend events and thus relation need to point to the "JS backend" code note.
+
+## Global events
+
+Global events are attached to the script note via label. Simply create e.g. "run" label with some of these values and script note will be executed once the event occurs.
+
+<figure class="table"><table><thead><tr><th>Label</th><th>Description</th></tr></thead><tbody><tr><td><code>run</code></td><td><p>Defines on which events script should run. Possible values are:</p><ul><li><code>frontendStartup</code> - when Trilium frontend starts up (or is refreshed), but not on mobile.</li><li><code>mobileStartup</code> - when Trilium frontend starts up (or is refreshed), on mobile.</li><li><code>backendStartup</code> - when Trilium backend starts up</li><li><code>hourly</code> - run once an hour. You can use additional label <code>runAtHour</code> to specify at which hour, on the back-end.</li><li><code>daily</code> - run once a day, on the back-end</li></ul></td></tr><tr><td><code>runOnInstance</code></td><td>Specifies that the script should only run on a particular&nbsp;<a class="reference-link" href="../Advanced%20Usage/Configuration%20(config.ini%20or%20environment%20variables)/Trilium%20instance.md">Trilium instance</a>.</td></tr><tr><td><code>runAtHour</code></td><td>On which hour should this run. Should be used together with <code>#run=hourly</code>. Can be defined multiple times for more runs during the day.</td></tr></tbody></table></figure>
+
+## Entity events
+
+Other events are bound to some entity, these are defined as [relations](../Advanced%20Usage/Attributes.md) - meaning that script is triggered only if note has this script attached to it through relations (or it can inherit it).
+
+<figure class="table"><table><thead><tr><th>Relation</th><th>Description</th></tr></thead><tbody><tr><td><code>runOnNoteCreation</code></td><td>executes when note is created on backend. Use this relation if you want to run the script for all notes created under a specific subtree. In that case, create it on the subtree root note and make it inheritable. A new note created within the subtree (any depth) will trigger the script.</td></tr><tr><td><code>runOnChildNoteCreation</code></td><td>executes when new note is created under the note where this relation is defined</td></tr><tr><td><code>runOnNoteTitleChange</code></td><td>executes when note title is changed (includes note creation as well)</td></tr><tr><td><code>runOnNoteContentChange</code></td><td>executes when note content is changed (includes note creation as well).</td></tr><tr><td><code>runOnNoteChange</code></td><td>executes when note is changed (includes note creation as well). Does not include content changes</td></tr><tr><td><code>runOnNoteDeletion</code></td><td>executes when note is being deleted</td></tr><tr><td><code>runOnBranchCreation</code></td><td>executes when a branch is created. Branch is a link between parent note and child note and is created e.g. when cloning or moving note.</td></tr><tr><td><code>runOnBranchChange</code></td><td>executes when a branch is updated. (since v0.62)</td></tr><tr><td><code>runOnBranchDeletion</code></td><td>executes when a branch is deleted. Branch is a link between parent note and child note and is deleted e.g. when moving note (old branch/link is deleted).</td></tr><tr><td><code>runOnAttributeCreation</code></td><td>executes when new attribute is created for the note which defines this relation</td></tr><tr><td><code>runOnAttributeChange</code></td><td>executes when the attribute is changed of a note which defines this relation. This is triggered also when the attribute is deleted</td></tr></tbody></table></figure>
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Scripting/Frontend Basics.md b/docs/User Guide/User Guide/Scripting/Frontend Basics.md
index fe54355489..c76ac9a99a 100644
--- a/docs/User Guide/User Guide/Scripting/Frontend Basics.md
+++ b/docs/User Guide/User Guide/Scripting/Frontend Basics.md
@@ -1,7 +1,7 @@
# Frontend Basics
## Frontend API
-The frontend api supports two styles, regular scripts that are run with the current app and note context, and widgets that export an object to Trilium to be used in the UI. In both cases, the frontend api of Trilium is available to scripts running in the frontend context as global variable `api`. The members and methods of the api can be seen on the [Script API](../Note%20Types/Code/Script%20API.md) page.
+The frontend api supports two styles, regular scripts that are run with the current app and note context, and widgets that export an object to Trilium to be used in the UI. In both cases, the frontend api of Trilium is available to scripts running in the frontend context as global variable `api`. The members and methods of the api can be seen on the [Script API](Script%20API.md) page.
## Scripts
@@ -54,4 +54,4 @@ Conversely to scripts, widgets do have some specific requirements in order to wo
### Tutorial
-For more information on building widgets, take a look at [Widget Basics](Widget%20Basics.md).
\ No newline at end of file
+For more information on building widgets, take a look at [Widget Basics](Custom%20Widgets/Widget%20Basics.md).
\ No newline at end of file
diff --git a/docs/User Guide/User Guide/Note Types/Code/Script API.md b/docs/User Guide/User Guide/Scripting/Script API.md
similarity index 100%
rename from docs/User Guide/User Guide/Note Types/Code/Script API.md
rename to docs/User Guide/User Guide/Scripting/Script API.md
diff --git a/docs/User Guide/User Guide/Scripting/Script API/Backend API.md b/docs/User Guide/User Guide/Scripting/Script API/Backend API.md
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/docs/User Guide/User Guide/Scripting/Script API/Frontend API/FNote.md b/docs/User Guide/User Guide/Scripting/Script API/Frontend API/FNote.md
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/docs/User Guide/User Guide/Troubleshooting.md b/docs/User Guide/User Guide/Troubleshooting.md
index dd150ad024..dad654ff77 100644
--- a/docs/User Guide/User Guide/Troubleshooting.md
+++ b/docs/User Guide/User Guide/Troubleshooting.md
@@ -21,7 +21,7 @@ TRILIUM_START_NOTE_ID=root ./trilium
## Broken Script Prevents Application Startup
-If a custom script causes Triliumto crash, and it is set as a startup script or in an active [custom widget](Note%20Types/Code/Custom%20Widgets.md), start Triliumin "safe mode" to prevent any custom scripts from executing:
+If a custom script causes Triliumto crash, and it is set as a startup script or in an active [custom widget](Scripting/Custom%20Widgets.md), start Triliumin "safe mode" to prevent any custom scripts from executing:
```
TRILIUM_SAFE_MODE=true ./trilium
diff --git a/src/public/app/doc_notes/en/User Guide/!!!meta.json b/src/public/app/doc_notes/en/User Guide/!!!meta.json
index f936822609..a5fbfdeb44 100644
--- a/src/public/app/doc_notes/en/User Guide/!!!meta.json
+++ b/src/public/app/doc_notes/en/User Guide/!!!meta.json
@@ -1427,6 +1427,13 @@
"value": "bx bx-dots-horizontal",
"isInheritable": false,
"position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "_optionsAppearance",
+ "isInheritable": false,
+ "position": 220
}
],
"format": "html",
@@ -2655,58 +2662,58 @@
{
"type": "relation",
"name": "internalLink",
- "value": "GTwFsgaA0lCt",
+ "value": "zEY4DaJG4YT5",
"isInheritable": false,
"position": 10
},
{
"type": "relation",
"name": "internalLink",
- "value": "BlN9DFI679QC",
+ "value": "GTwFsgaA0lCt",
"isInheritable": false,
"position": 20
},
{
"type": "relation",
"name": "internalLink",
- "value": "iPIMuisry3hd",
+ "value": "BlN9DFI679QC",
"isInheritable": false,
"position": 30
},
{
"type": "relation",
"name": "internalLink",
- "value": "6f9hih2hXXZk",
+ "value": "iPIMuisry3hd",
"isInheritable": false,
"position": 40
},
{
"type": "relation",
"name": "internalLink",
- "value": "W8vYD3Q1zjCR",
+ "value": "6f9hih2hXXZk",
"isInheritable": false,
"position": 50
},
{
"type": "relation",
"name": "internalLink",
- "value": "xWbu3jpNWapp",
+ "value": "W8vYD3Q1zjCR",
"isInheritable": false,
"position": 60
},
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "xWbu3jpNWapp",
+ "isInheritable": false,
+ "position": 70
+ },
{
"type": "label",
"name": "iconClass",
"value": "bx bxs-grid",
"isInheritable": false,
"position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "zEY4DaJG4YT5",
- "isInheritable": false,
- "position": 70
}
],
"format": "html",
@@ -3296,7 +3303,7 @@
"wArbEsdSae6g",
"9sRHySam5fXb"
],
- "title": "Workspace",
+ "title": "Workspaces",
"notePosition": 90,
"prefix": null,
"isExpanded": false,
@@ -3323,10 +3330,17 @@
"value": "bx bx-door-open",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "l0tKav7yLHGF",
+ "isInheritable": false,
+ "position": 40
}
],
"format": "html",
- "dataFileName": "Workspace.html",
+ "dataFileName": "Workspaces.html",
"attachments": [
{
"attachmentId": "V4TIsmtBh8P7",
@@ -3334,7 +3348,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "Workspace_image.png"
+ "dataFileName": "Workspaces_image.png"
},
{
"attachmentId": "vZSH2mOKzWBx",
@@ -3342,7 +3356,7 @@
"role": "image",
"mime": "image/jpg",
"position": 10,
- "dataFileName": "1_Workspace_image.png"
+ "dataFileName": "1_Workspaces_image.png"
}
]
},
@@ -3636,6 +3650,13 @@
"type": "text",
"mime": "text/markdown",
"attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "NwBbFdNZ9h7O",
+ "isInheritable": false,
+ "position": 10
+ },
{
"type": "label",
"name": "shareAlias",
@@ -3649,13 +3670,6 @@
"value": "bx bxl-markdown",
"isInheritable": false,
"position": 50
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "NwBbFdNZ9h7O",
- "isInheritable": false,
- "position": 60
}
],
"format": "html",
@@ -5239,162 +5253,6 @@
"position": 10,
"dataFileName": "1_Code_image.png"
}
- ],
- "dirFileName": "Code",
- "children": [
- {
- "isClone": false,
- "noteId": "GLks18SNjxmC",
- "notePath": [
- "pOsGYCXsbNQG",
- "KSZ04uQ2D1St",
- "6f9hih2hXXZk",
- "GLks18SNjxmC"
- ],
- "title": "Script API",
- "notePosition": 20,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/markdown",
- "attributes": [
- {
- "type": "label",
- "name": "shareAlias",
- "value": "script-api",
- "isInheritable": false,
- "position": 10
- }
- ],
- "format": "html",
- "dataFileName": "Script API.html",
- "attachments": []
- },
- {
- "isClone": false,
- "noteId": "GPERMystNGTB",
- "notePath": [
- "pOsGYCXsbNQG",
- "KSZ04uQ2D1St",
- "6f9hih2hXXZk",
- "GPERMystNGTB"
- ],
- "title": "Events",
- "notePosition": 40,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/markdown",
- "attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "zEY4DaJG4YT5",
- "isInheritable": false,
- "position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "CdNpE2pqjmI6",
- "isInheritable": false,
- "position": 20
- },
- {
- "type": "label",
- "name": "shareAlias",
- "value": "events",
- "isInheritable": false,
- "position": 30
- }
- ],
- "format": "html",
- "dataFileName": "Events.html",
- "attachments": []
- },
- {
- "isClone": false,
- "noteId": "MgibgPcfeuGz",
- "notePath": [
- "pOsGYCXsbNQG",
- "KSZ04uQ2D1St",
- "6f9hih2hXXZk",
- "MgibgPcfeuGz"
- ],
- "title": "Custom Widgets",
- "notePosition": 50,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/markdown",
- "attributes": [
- {
- "type": "label",
- "name": "shareAlias",
- "value": "custom-widget",
- "isInheritable": false,
- "position": 20
- }
- ],
- "format": "html",
- "dataFileName": "Custom Widgets.html",
- "attachments": [],
- "dirFileName": "Custom Widgets",
- "children": [
- {
- "isClone": false,
- "noteId": "YNxAqkI5Kg1M",
- "notePath": [
- "pOsGYCXsbNQG",
- "KSZ04uQ2D1St",
- "6f9hih2hXXZk",
- "MgibgPcfeuGz",
- "YNxAqkI5Kg1M"
- ],
- "title": "Word count widget",
- "notePosition": 10,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/html",
- "attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "6tZeKvSHEUiB",
- "isInheritable": false,
- "position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "6f9hih2hXXZk",
- "isInheritable": false,
- "position": 20
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "s8alTXmpFR61",
- "isInheritable": false,
- "position": 30
- }
- ],
- "format": "html",
- "dataFileName": "Word count widget.html",
- "attachments": [
- {
- "attachmentId": "JhM9NWfebzPi",
- "title": "image.png",
- "role": "image",
- "mime": "image/png",
- "position": 10,
- "dataFileName": "Word count widget_image.png"
- }
- ]
- }
- ]
- }
]
},
{
@@ -6848,14 +6706,14 @@
"name": "internalLink",
"value": "OFXdgB2nNk1F",
"isInheritable": false,
- "position": 90
+ "position": 20
},
{
"type": "relation",
"name": "internalLink",
"value": "bwZpz2ajCEwO",
"isInheritable": false,
- "position": 100
+ "position": 30
},
{
"type": "label",
@@ -6870,6 +6728,13 @@
"value": "bx bx-list-check",
"isInheritable": false,
"position": 110
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "Ucmcs8SfrYdD",
+ "isInheritable": false,
+ "position": 120
}
],
"format": "html",
@@ -7013,146 +6878,216 @@
{
"type": "relation",
"name": "internalLink",
- "value": "p9kXRFAkwN4o",
+ "value": "l0tKav7yLHGF",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "bwZpz2ajCEwO",
"isInheritable": false,
"position": 20
},
{
"type": "relation",
"name": "internalLink",
- "value": "J5Ex1ZrMbyJ6",
+ "value": "vZWERwf8U3nx",
"isInheritable": false,
"position": 30
},
{
"type": "relation",
"name": "internalLink",
- "value": "9sRHySam5fXb",
+ "value": "oPVyFC7WL2Lp",
"isInheritable": false,
"position": 40
},
{
"type": "relation",
"name": "internalLink",
- "value": "u3YFHC9tQlpm",
+ "value": "OFXdgB2nNk1F",
"isInheritable": false,
"position": 50
},
{
"type": "relation",
"name": "internalLink",
- "value": "R9pX4DGra2Vt",
+ "value": "CoFPLs3dRlXc",
"isInheritable": false,
"position": 60
},
{
"type": "relation",
"name": "internalLink",
- "value": "47ZrP6FNuoG8",
+ "value": "WFGzWeUK6arS",
"isInheritable": false,
"position": 70
},
{
"type": "relation",
"name": "internalLink",
- "value": "l0tKav7yLHGF",
+ "value": "J5Ex1ZrMbyJ6",
"isInheritable": false,
"position": 80
},
{
"type": "relation",
"name": "internalLink",
- "value": "vZWERwf8U3nx",
+ "value": "d3fAXQ2diepH",
+ "isInheritable": false,
+ "position": 90
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "MgibgPcfeuGz",
"isInheritable": false,
"position": 100
},
{
"type": "relation",
"name": "internalLink",
- "value": "oPVyFC7WL2Lp",
+ "value": "BFvAtE74rbP6",
"isInheritable": false,
"position": 110
},
{
"type": "relation",
"name": "internalLink",
- "value": "OFXdgB2nNk1F",
+ "value": "bdUJEHsAPYQR",
"isInheritable": false,
"position": 120
},
{
"type": "relation",
"name": "internalLink",
- "value": "CoFPLs3dRlXc",
+ "value": "KC1HB96bqqHX",
"isInheritable": false,
"position": 130
},
{
"type": "relation",
"name": "internalLink",
- "value": "WFGzWeUK6arS",
+ "value": "HcABDtFCkbFN",
"isInheritable": false,
"position": 140
},
{
"type": "relation",
"name": "internalLink",
- "value": "d3fAXQ2diepH",
+ "value": "9sRHySam5fXb",
"isInheritable": false,
- "position": 150
+ "position": 160
},
{
"type": "relation",
"name": "internalLink",
- "value": "MgibgPcfeuGz",
+ "value": "u3YFHC9tQlpm",
"isInheritable": false,
- "position": 160
+ "position": 170
},
{
"type": "relation",
"name": "internalLink",
- "value": "_help_YKWqdJhzi2VY",
+ "value": "R9pX4DGra2Vt",
"isInheritable": false,
- "position": 170
+ "position": 180
},
{
"type": "relation",
"name": "internalLink",
- "value": "BFvAtE74rbP6",
+ "value": "pKK96zzmvBGf",
"isInheritable": false,
- "position": 180
+ "position": 220
},
{
"type": "relation",
"name": "internalLink",
- "value": "bdUJEHsAPYQR",
+ "value": "AlhDUqhENtH7",
"isInheritable": false,
- "position": 190
+ "position": 230
},
{
"type": "relation",
"name": "internalLink",
- "value": "KC1HB96bqqHX",
+ "value": "0ESUbbAxVnoK",
"isInheritable": false,
- "position": 200
+ "position": 240
},
{
"type": "relation",
"name": "internalLink",
- "value": "bwZpz2ajCEwO",
+ "value": "m523cpzocqaD",
"isInheritable": false,
- "position": 210
+ "position": 250
},
{
"type": "relation",
"name": "internalLink",
- "value": "HcABDtFCkbFN",
+ "value": "_help_YKWqdJhzi2VY",
"isInheritable": false,
- "position": 220
- }
- ],
- "format": "html",
- "dataFileName": "Attribute Reference.html",
+ "position": 260
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "iRwzGnHPzonm",
+ "isInheritable": false,
+ "position": 270
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BCkXAVs63Ttv",
+ "isInheritable": false,
+ "position": 280
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "47ZrP6FNuoG8",
+ "isInheritable": false,
+ "position": 290
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "81SGnPGMk7Xc",
+ "isInheritable": false,
+ "position": 300
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "GPERMystNGTB",
+ "isInheritable": false,
+ "position": 310
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "AxshuNRegLAv",
+ "isInheritable": false,
+ "position": 320
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "xWbu3jpNWapp",
+ "isInheritable": false,
+ "position": 330
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-book-bookmark",
+ "isInheritable": false,
+ "position": 340
+ }
+ ],
+ "format": "html",
+ "dataFileName": "Attribute Reference.html",
"attachments": []
}
]
@@ -7351,13 +7286,6 @@
"type": "text",
"mime": "text/markdown",
"attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "WOcw2SLH6tbX",
- "isInheritable": false,
- "position": 10
- },
{
"type": "relation",
"name": "internalLink",
@@ -7365,13 +7293,6 @@
"isInheritable": false,
"position": 20
},
- {
- "type": "relation",
- "name": "internalLink",
- "value": "6f9hih2hXXZk",
- "isInheritable": false,
- "position": 30
- },
{
"type": "relation",
"name": "internalLink",
@@ -7392,6 +7313,27 @@
"value": "bx bx-share-alt",
"isInheritable": false,
"position": 30
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "6f9hih2hXXZk",
+ "isInheritable": false,
+ "position": 50
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "WOcw2SLH6tbX",
+ "isInheritable": false,
+ "position": 60
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "Qjt68inQ2bRj",
+ "isInheritable": false,
+ "position": 70
}
],
"format": "html",
@@ -7991,7 +7933,7 @@
"47ZrP6FNuoG8"
],
"title": "Default Note Title",
- "notePosition": 130,
+ "notePosition": 140,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8004,19 +7946,26 @@
"isInheritable": false,
"position": 10
},
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "default-note-title",
+ "isInheritable": false,
+ "position": 30
+ },
{
"type": "relation",
"name": "internalLink",
"value": "KC1HB96bqqHX",
"isInheritable": false,
- "position": 20
+ "position": 40
},
{
- "type": "label",
- "name": "shareAlias",
- "value": "default-note-title",
+ "type": "relation",
+ "name": "internalLink",
+ "value": "habiZ3HU8Kw8",
"isInheritable": false,
- "position": 30
+ "position": 50
}
],
"format": "html",
@@ -8032,7 +7981,7 @@
"wX4HbRucYSDD"
],
"title": "Database",
- "notePosition": 150,
+ "notePosition": 160,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8283,7 +8232,7 @@
"Gzjqa934BdH4"
],
"title": "Configuration (config.ini or environment variables)",
- "notePosition": 160,
+ "notePosition": 170,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8299,7 +8248,38 @@
],
"format": "html",
"dataFileName": "Configuration (config.ini or e.html",
- "attachments": []
+ "attachments": [],
+ "dirFileName": "Configuration (config.ini or environment variables)",
+ "children": [
+ {
+ "isClone": false,
+ "noteId": "c5xB8m4g2IY6",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "tC7s2alapj8V",
+ "Gzjqa934BdH4",
+ "c5xB8m4g2IY6"
+ ],
+ "title": "Trilium instance",
+ "notePosition": 10,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "cbkrhQjrkKrh",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
+ "format": "html",
+ "dataFileName": "Trilium instance.html",
+ "attachments": []
+ }
+ ]
},
{
"isClone": false,
@@ -8310,7 +8290,7 @@
"ivYnonVFBxbQ"
],
"title": "Bulk actions",
- "notePosition": 170,
+ "notePosition": 180,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8337,7 +8317,7 @@
"4FahAwuGTAwC"
],
"title": "Note source",
- "notePosition": 180,
+ "notePosition": 190,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8450,7 +8430,7 @@
"1YeN2MzFUluU"
],
"title": "Technologies used",
- "notePosition": 190,
+ "notePosition": 200,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8599,7 +8579,7 @@
"m1lbrzyKDaRB"
],
"title": "Note ID",
- "notePosition": 200,
+ "notePosition": 210,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8633,7 +8613,7 @@
"0vTSyvhPTAOz"
],
"title": "Internal API",
- "notePosition": 210,
+ "notePosition": 220,
"prefix": null,
"isExpanded": false,
"type": "text",
@@ -8805,54 +8785,6 @@
"dataFileName": "Frontend Basics.html",
"attachments": []
},
- {
- "isClone": false,
- "noteId": "SynTBQiBsdYJ",
- "notePath": [
- "pOsGYCXsbNQG",
- "CdNpE2pqjmI6",
- "SynTBQiBsdYJ"
- ],
- "title": "Widget Basics",
- "notePosition": 30,
- "prefix": null,
- "isExpanded": false,
- "type": "text",
- "mime": "text/markdown",
- "attributes": [
- {
- "type": "relation",
- "name": "internalLink",
- "value": "zEY4DaJG4YT5",
- "isInheritable": false,
- "position": 10
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "BFs8mudNFgCS",
- "isInheritable": false,
- "position": 20
- },
- {
- "type": "relation",
- "name": "internalLink",
- "value": "GLks18SNjxmC",
- "isInheritable": false,
- "position": 30
- },
- {
- "type": "label",
- "name": "shareAlias",
- "value": "widget-basics",
- "isInheritable": false,
- "position": 20
- }
- ],
- "format": "html",
- "dataFileName": "Widget Basics.html",
- "attachments": []
- },
{
"isClone": false,
"noteId": "es8OU2GuguFU",
@@ -9008,6 +8940,284 @@
]
}
]
+ },
+ {
+ "isClone": false,
+ "noteId": "GPERMystNGTB",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "GPERMystNGTB"
+ ],
+ "title": "Events",
+ "notePosition": 70,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/markdown",
+ "attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "zEY4DaJG4YT5",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "CdNpE2pqjmI6",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "events",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "c5xB8m4g2IY6",
+ "isInheritable": false,
+ "position": 30
+ },
+ {
+ "type": "label",
+ "name": "iconClass",
+ "value": "bx bx-rss",
+ "isInheritable": false,
+ "position": 20
+ }
+ ],
+ "format": "html",
+ "dataFileName": "Events.html",
+ "attachments": []
+ },
+ {
+ "isClone": false,
+ "noteId": "MgibgPcfeuGz",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "MgibgPcfeuGz"
+ ],
+ "title": "Custom Widgets",
+ "notePosition": 80,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/markdown",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "custom-widget",
+ "isInheritable": false,
+ "position": 20
+ }
+ ],
+ "format": "html",
+ "dataFileName": "Custom Widgets.html",
+ "attachments": [],
+ "dirFileName": "Custom Widgets",
+ "children": [
+ {
+ "isClone": false,
+ "noteId": "YNxAqkI5Kg1M",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "MgibgPcfeuGz",
+ "YNxAqkI5Kg1M"
+ ],
+ "title": "Word count widget",
+ "notePosition": 10,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "6tZeKvSHEUiB",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "6f9hih2hXXZk",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "s8alTXmpFR61",
+ "isInheritable": false,
+ "position": 30
+ }
+ ],
+ "format": "html",
+ "dataFileName": "Word count widget.html",
+ "attachments": [
+ {
+ "attachmentId": "JhM9NWfebzPi",
+ "title": "image.png",
+ "role": "image",
+ "mime": "image/png",
+ "position": 10,
+ "dataFileName": "Word count widget_image.png"
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "SynTBQiBsdYJ",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "MgibgPcfeuGz",
+ "SynTBQiBsdYJ"
+ ],
+ "title": "Widget Basics",
+ "notePosition": 20,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/markdown",
+ "attributes": [
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "zEY4DaJG4YT5",
+ "isInheritable": false,
+ "position": 10
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "BFs8mudNFgCS",
+ "isInheritable": false,
+ "position": 20
+ },
+ {
+ "type": "relation",
+ "name": "internalLink",
+ "value": "GLks18SNjxmC",
+ "isInheritable": false,
+ "position": 30
+ },
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "widget-basics",
+ "isInheritable": false,
+ "position": 20
+ }
+ ],
+ "format": "html",
+ "dataFileName": "Widget Basics.html",
+ "attachments": []
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "GLks18SNjxmC",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "GLks18SNjxmC"
+ ],
+ "title": "Script API",
+ "notePosition": 90,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/markdown",
+ "attributes": [
+ {
+ "type": "label",
+ "name": "shareAlias",
+ "value": "script-api",
+ "isInheritable": false,
+ "position": 10
+ }
+ ],
+ "format": "html",
+ "dataFileName": "Script API.html",
+ "attachments": [],
+ "dirFileName": "Script API",
+ "children": [
+ {
+ "isClone": false,
+ "noteId": "Q2z6av6JZVWm",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "GLks18SNjxmC",
+ "Q2z6av6JZVWm"
+ ],
+ "title": "Frontend API",
+ "notePosition": 10,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [],
+ "format": "html",
+ "attachments": [],
+ "dirFileName": "Frontend API",
+ "children": [
+ {
+ "isClone": false,
+ "noteId": "habiZ3HU8Kw8",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "GLks18SNjxmC",
+ "Q2z6av6JZVWm",
+ "habiZ3HU8Kw8"
+ ],
+ "title": "FNote",
+ "notePosition": 10,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [],
+ "format": "html",
+ "dataFileName": "FNote.html",
+ "attachments": []
+ }
+ ]
+ },
+ {
+ "isClone": false,
+ "noteId": "MEtfsqa5VwNi",
+ "notePath": [
+ "pOsGYCXsbNQG",
+ "CdNpE2pqjmI6",
+ "GLks18SNjxmC",
+ "MEtfsqa5VwNi"
+ ],
+ "title": "Backend API",
+ "notePosition": 20,
+ "prefix": null,
+ "isExpanded": false,
+ "type": "text",
+ "mime": "text/html",
+ "attributes": [],
+ "format": "html",
+ "dataFileName": "Backend API.html",
+ "attachments": []
+ }
+ ]
}
]
}
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html
index dd9a222e60..cccd12df64 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Task Manager.html
@@ -36,8 +36,8 @@
<h3>Attributes</h3>
<p>Task template defines several <a href="../Attributes/Promoted%20Attributes.html">promoted attributes</a> -
todoDate, doneDate, tags, location. Importantly it also defines <code>~runOnAttributeChange</code> relation
- - <a href="../../Note%20Types/Code/Events.html">event</a> handler which is
- run on attribute change. This <a href="../../Scripting.html">script</a> handles
+ - <a href="../../Scripting/Events.html">event</a> handler which is run on
+ attribute change. This <a href="../../Scripting.html">script</a> handles
when e.g. we fill out the doneDate attribute - meaning the task is done
and should be moved to "Done" note and removed from TODO, locations and
tags.</p>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html
index 193cdface9..77557868ba 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.html
@@ -16,7 +16,7 @@
<p>
<img src="Weight Tracker_image.png">
</p>
- <p>The <code>Weight Tracker</code> is a <a href="../../Note%20Types/Code/Script%20API.html">Script API</a> showcase
+ <p>The <code>Weight Tracker</code> is a <a href="../../Scripting/Script%20API.html">Script API</a> showcase
present in the <a href="../Database.html">demo notes</a>.</p>
<p>By adding <code>weight</code> as a <a href="../Attributes/Promoted%20Attributes.html">promoted attribute</a> in
the <a href="../Templates.html">template</a> from which <a href="Day%20Notes.html">day notes</a> are
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html
index 77e8d336bd..9f715ddeed 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes.html
@@ -37,9 +37,8 @@
</ul>
<p>Labels are also searchable, enhancing note retrieval.</p>
<h3>Common Labels for Advanced Configuration</h3>
- <ul>
- <li>&nbsp;</li>
- </ul>
+ <p>See the corresponding section in&nbsp;<a class="reference-link" href="Attributes/Attribute%20Reference.html">Attribute Reference</a>&nbsp;for
+ a comprehensive list of attributes.</p>
<h2>Relations</h2>
<p>Relations define connections between notes, similar to links.</p>
<h3>Uses</h3>
@@ -50,12 +49,8 @@
related to the note</li>
</ul>
<h3>Common Relations</h3>
- <ul>
- <li><strong>Event-based Relations</strong>: Such as <code>runOnNoteCreation</code> or <code>runOnNoteChange</code>,
- which trigger scripts on specific actions</li>
- <li><strong>Other Relations</strong>: Include <code>template</code>, <code>renderNote</code>, <code>widget</code>,
- and sharing-related relations</li>
- </ul>
+ <p>See the corresponding section in&nbsp;<a class="reference-link" href="Attributes/Attribute%20Reference.html">Attribute Reference</a>&nbsp;for
+ a comprehensive list of relations.</p>
<h2>Multiplicity</h2>
<p>Attributes in Trilium can be "multivalued", meaning multiple attributes
with the same name can coexist.</p>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Reference.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Reference.html
index a821012afe..ebf7506015 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Reference.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Attributes/Attribute Reference.html
@@ -14,6 +14,11 @@
<div class="ck-content">
<h2>Labels</h2>
+ <aside class="admonition tip">
+ <p>Some labels presented here end with a <code>*</code>. That means that there
+ are multiple labels with the same prefix, consult the specific page linked
+ in the description of that label for more information.</p>
+ </aside>
<figure class="table" style="width:100%;">
<table class="ck-table-resized">
<colgroup>
@@ -30,9 +35,15 @@
<tr>
<td><code>disableVersioning</code>
</td>
- <td>Disables automatic creation of&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20Revisions.html">Note Revisions</a>.
- Useful for e.g. large, but unimportant notes - e.g. large JS libraries
- used for scripting.</td>
+ <td>Disables automatic creation of&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20Revisions.html">Note Revisions</a>&nbsp;for
+ a particular note. Useful for e.g. large, but unimportant notes - e.g.
+ large JS libraries used for scripting.</td>
+ </tr>
+ <tr>
+ <td><code>versioningLimit</code>
+ </td>
+ <td>Limits the maximum number of&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20Revisions.html">Note Revisions</a>&nbsp;for
+ a particular note, overriding the global settings.</td>
</tr>
<tr>
<td><code>calendarRoot</code>
@@ -50,35 +61,12 @@
<tr>
<td><code>excludeFromExport</code>
</td>
- <td>Notes (with their sub-tree) won't be included when exporting.</td>
- </tr>
- <tr>
- <td><code>run</code>
- </td>
- <td>
- <p>Defines on which events script should run. Possible values are:</p>
- <ul>
- <li><code>frontendStartup</code> - when Trilium frontend starts up (or is refreshed),
- but not on mobile.</li>
- <li><code>mobileStartup</code> - when Trilium frontend starts up (or is refreshed),
- on mobile.</li>
- <li><code>backendStartup</code> - when Trilium backend starts up</li>
- <li><code>hourly</code> - run once an hour. You can use additional label <code>runAtHour</code> to
- specify at which hour.</li>
- <li><code>daily</code> - run once a day</li>
- </ul>
- </td>
+ <td>Excludes this note and its children when exporting.</td>
</tr>
<tr>
- <td><code>runOnInstance</code>
+ <td><code>run</code>, <code>runOnInstance</code>, <code>runAtHour</code>
</td>
- <td>Define which trilium instance should run this on. Default to all instances.</td>
- </tr>
- <tr>
- <td><code>runAtHour</code>
- </td>
- <td>On which hour should this run. Should be used together with <code>#run=hourly</code>.
- Can be defined multiple times for more runs during the day.</td>
+ <td>See&nbsp;<a class="reference-link" href="../../Scripting/Events.html">Events</a>.</td>
</tr>
<tr>
<td><code>disableInclusion</code>
@@ -122,7 +110,8 @@
<td><code>hidePromotedAttributes</code>
</td>
<td>Hide&nbsp;<a class="reference-link" href="Promoted%20Attributes.html">Promoted Attributes</a>&nbsp;on
- this note.</td>
+ this note. Generally useful when defining inherited attributes, but the
+ parent note doesn't need them.</td>
</tr>
<tr>
<td><code>readOnly</code>
@@ -133,21 +122,23 @@
<tr>
<td><code>autoReadOnlyDisabled</code>
</td>
- <td>text/code notes can be set automatically into read mode when they are
- too large. You can disable this behavior on per-note basis by adding this
- label to the note</td>
+ <td>Disables automatic <a href="../../Basic%20Concepts%20and%20Features/Notes/Read-Only%20Notes.html">read-only mode</a> for
+ the given note.</td>
</tr>
<tr>
<td><code>appCss</code>
</td>
- <td>marks CSS notes which are loaded into the Trilium application and can
- thus be used to modify Trilium's looks.</td>
+ <td>Marks CSS notes which are loaded into the Trilium application and can
+ thus be used to modify Trilium's looks. See&nbsp;<a class="reference-link"
+ href="../../Theme%20development/Custom%20app-wide%20CSS.html">Custom app-wide CSS</a>&nbsp;for
+ more info.</td>
</tr>
<tr>
<td><code>appTheme</code>
</td>
- <td>marks CSS notes which are full Trilium themes and are thus available in
- Trilium options.</td>
+ <td>Marks CSS notes which are full Trilium themes and are thus available in
+ Trilium options. See&nbsp;<a class="reference-link" href="../../Theme%20development">Theme development</a>&nbsp;for
+ more information.</td>
</tr>
<tr>
<td><code>appThemeBase</code>
@@ -161,9 +152,9 @@
<tr>
<td><code>cssClass</code>
</td>
- <td>value of this label is then added as CSS class to the node representing
- given note in the tree. This can be useful for advanced theming. Can be
- used in template notes.</td>
+ <td>Value of this label is then added as CSS class to the node representing
+ given note in the&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/UI%20Elements/Note%20Tree.html">Note Tree</a>.
+ This can be useful for advanced theming. Can be used in template notes.</td>
</tr>
<tr>
<td><code>iconClass</code>
@@ -175,7 +166,8 @@
<tr>
<td><code>pageSize</code>
</td>
- <td>number of items per page in note listing</td>
+ <td>Specifies the number of items per page in&nbsp;<a class="reference-link"
+ href="../../Basic%20Concepts%20and%20Features/Notes/Note%20List.html">Note List</a>.</td>
</tr>
<tr>
<td><code>customRequestHandler</code>
@@ -190,47 +182,20 @@
<tr>
<td><code>widget</code>
</td>
- <td>marks this note as a custom widget which will be added to the Trilium
- component tree. See&nbsp;<a class="reference-link" href="../../Note%20Types/Code/Custom%20Widgets.html">Custom Widgets</a>&nbsp;for
+ <td>Marks this note as a custom widget which will be added to the Trilium
+ component tree. See&nbsp;<a class="reference-link" href="../../Scripting/Custom%20Widgets.html">Custom Widgets</a>&nbsp;for
more information.</td>
</tr>
- <tr>
- <td><code>workspace</code>
- </td>
- <td>marks this note as a workspace which allows easy hoisting</td>
- </tr>
- <tr>
- <td><code>workspaceIconClass</code>
- </td>
- <td>defines box icon CSS class which will be used in tab when hoisted to this
- note</td>
- </tr>
- <tr>
- <td><code>workspaceTabBackgroundColor</code>
- </td>
- <td>CSS color used in the note tab when hoisted to this note</td>
- </tr>
- <tr>
- <td><code>workspaceCalendarRoot</code>
- </td>
- <td>Defines per-workspace calendar root</td>
- </tr>
- <tr>
- <td><code>workspaceTemplate</code>
- </td>
- <td>This note will appear in the selection of available template when creating
- new note, but only when hoisted into a workspace containing this template</td>
- </tr>
<tr>
<td><code>searchHome</code>
</td>
- <td>new search notes will be created as children of this note</td>
+ <td>New search notes will be created as children of this note (see&nbsp;
+ <a
+ class="reference-link" href="../../Note%20Types/Saved%20Search.html">Saved Search</a>).</td>
</tr>
<tr>
- <td><code>workspaceSearchHome</code>
- </td>
- <td>new search notes will be created as children of this note when hoisted
- to some ancestor of this workspace note</td>
+ <td><code>workspace</code> and related attributes</td>
+ <td>See&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Navigation/Workspaces.html">Workspaces</a>.</td>
</tr>
<tr>
<td><code>inbox</code>
@@ -239,90 +204,35 @@
in the sidebar, notes will be created as child notes in the note marked
as with <code>#inbox</code> label.</td>
</tr>
- <tr>
- <td><code>workspaceInbox</code>
- </td>
- <td>default inbox location for new notes when hoisted to some ancestor of
- this workspace note</td>
- </tr>
<tr>
<td><code>sqlConsoleHome</code>
</td>
- <td>default location of&nbsp;<a class="reference-link" href="#root/_hidden/_help/_help_tC7s2alapj8V/_help_wX4HbRucYSDD/_help_oyIAJ9PvvwHX/_help_YKWqdJhzi2VY">SQL Console</a>&nbsp;notes</td>
- </tr>
- <tr>
- <td><code>bookmarkFolder</code>
- </td>
- <td>note with this label will appear in bookmarks as folder (allowing access
- to its children)</td>
+ <td>Default location of&nbsp;<a class="reference-link" href="#root/_hidden/_help/_help_tC7s2alapj8V/_help_wX4HbRucYSDD/_help_oyIAJ9PvvwHX/_help_YKWqdJhzi2VY">SQL Console</a>&nbsp;notes</td>
</tr>
<tr>
- <td><code>shareHiddenFromTree</code>
+ <td><code>bookmarked</code>
</td>
- <td>this note is hidden from left navigation tree, but still accessible with
- its URL</td>
+ <td>Indicates this note is a <a href="../../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.html">bookmark</a>.</td>
</tr>
<tr>
- <td><code>shareExternalLink</code>
- </td>
- <td>note will act as a link to an external website in the share tree</td>
- </tr>
- <tr>
- <td><code>shareAlias</code>
- </td>
- <td>define an alias using which the note will be available under <code>https://your_trilium_host/share/[your_alias]</code>
- </td>
- </tr>
- <tr>
- <td><code>shareOmitDefaultCss</code>
- </td>
- <td>default share page CSS will be omitted. Use when you make extensive styling
- changes.</td>
- </tr>
- <tr>
- <td><code>shareRoot</code>
- </td>
- <td>marks note which is served on /share root.</td>
- </tr>
- <tr>
- <td><code>shareDescription</code>
- </td>
- <td>define text to be added to the HTML meta tag for description</td>
- </tr>
- <tr>
- <td><code>shareRaw</code>
- </td>
- <td>note will be served in its raw format, without HTML wrapper</td>
- </tr>
- <tr>
- <td><code>shareDisallowRobotIndexing</code>
- </td>
- <td>will forbid robot indexing of this note by setting the <code>X-Robots-Tag: noindex</code> HTTP
- header.</td>
- </tr>
- <tr>
- <td><code>shareCredentials</code>
- </td>
- <td>require credentials to access this shared note. Value is expected to be
- in format <code>username:password</code>. Don't forget to make this inheritable
- to apply to child-notes/images.</td>
- </tr>
- <tr>
- <td><code>shareIndex</code>
+ <td><code>bookmarkFolder</code>
</td>
- <td>note with this label will list all roots of shared notes</td>
+ <td>Note with this label will appear in bookmarks as folder (allowing access
+ to its children). See&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.html">Bookmarks</a>&nbsp;for
+ more information.</td>
</tr>
<tr>
- <td><code>displayRelations</code>
+ <td><code>share*</code>
</td>
- <td>comma delimited names of relations which should be displayed. All other
- ones will be hidden.</td>
+ <td>See the attribute reference in&nbsp;<a class="reference-link" href="../Sharing.html">Sharing</a>.</td>
</tr>
<tr>
- <td><code>hideRelations</code>
+ <td><code>displayRelations</code>, <code>hideRelations</code>
</td>
- <td>comma delimited names of relations which should be hidden. All other ones
- will be displayed.</td>
+ <td>Comma delimited names of relations which should be displayed/hidden in
+ a&nbsp;<a class="reference-link" href="../../Note%20Types/Relation%20Map.html">Relation Map</a>&nbsp;(both
+ the note type and the&nbsp;<a class="reference-link" href="../Note%20Map%20(Link%20map%2C%20Tree%20map).html">Note Map (Link map, Tree map)</a>&nbsp;general
+ functionality).</td>
</tr>
<tr>
<td><code>titleTemplate</code>
@@ -337,15 +247,18 @@
</li>
<li><code>Log for ${now.format('YYYY-MM-DD HH:mm:ss')}</code>
</li>
- <li><code>${parentNote.title}</code> to mirror the parent's template.</li>
+ <li>to mirror the parent's template.</li>
</ul>
+ <p>See&nbsp;<a class="reference-link" href="../Default%20Note%20Title.html">Default Note Title</a>&nbsp;for
+ more info.</p>
</td>
</tr>
<tr>
<td><code>template</code>
</td>
<td>This note will appear in the selection of available template when creating
- new note</td>
+ new note. See&nbsp;<a class="reference-link" href="../Templates.html">Templates</a>&nbsp;for
+ more information.</td>
</tr>
<tr>
<td><code>toc</code>
@@ -398,7 +311,13 @@
<tr>
<td><code>hideHighlightWidget</code>
</td>
- <td>Hide Highlight List widget</td>
+ <td>Hides the&nbsp;<a class="reference-link" href="../../Note%20Types/Text/Highlights%20list.html">Highlights list</a>&nbsp;widget</td>
+ </tr>
+ <tr>
+ <td><code>hideChildrenOverview</code>
+ </td>
+ <td>Hides the&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20List.html">Note List</a>&nbsp;for
+ that particular note.</td>
</tr>
<tr>
<td><code>printLandscape</code>
@@ -411,10 +330,34 @@
</td>
<td>When exporting to PDF, changes the size of the page. Supported values: <code>A0</code>, <code>A1</code>, <code>A2</code>, <code>A3</code>, <code>A4</code>, <code>A5</code>, <code>A6</code>, <code>Legal</code>, <code>Letter</code>, <code>Tabloid</code>, <code>Ledger</code>.</td>
</tr>
+ <tr>
+ <td><code>geolocation</code>
+ </td>
+ <td>Indicates the latitude and longitude of a note, to be displayed in a&nbsp;
+ <a
+ class="reference-link" href="../../Note%20Types/Geo%20Map.html">Geo Map</a>.</td>
+ </tr>
+ <tr>
+ <td><code>calendar:*</code>
+ </td>
+ <td>Defines specific options for the&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20List/Calendar%20View.html">Calendar View</a>.</td>
+ </tr>
+ <tr>
+ <td><code>viewType</code>
+ </td>
+ <td>Sets the view of child notes (e.g. grid or list). See&nbsp;<a class="reference-link"
+ href="../../Basic%20Concepts%20and%20Features/Notes/Note%20List.html">Note List</a>&nbsp;for
+ more information.</td>
+ </tr>
</tbody>
</table>
</figure>
<h2>Relations</h2>
+ <aside class="admonition tip">
+ <p>Some relations presented here end with a <code>*</code>. That means that
+ there are multiple relations with the same prefix, consult the specific
+ page linked in the description of that relation for more information.</p>
+ </aside>
<figure class="table" style="width:100%;">
<table class="ck-table-resized">
<colgroup>
@@ -429,69 +372,10 @@
</thead>
<tbody>
<tr>
- <td><code>runOnNoteCreation</code>
- </td>
- <td>executes when note is created on backend. Use this relation if you want
- to run the script for all notes created under a specific subtree. In that
- case, create it on the subtree root note and make it inheritable. A new
- note created within the subtree (any depth) will trigger the script.</td>
- </tr>
- <tr>
- <td><code>runOnChildNoteCreation</code>
+ <td><code>runOn*</code>
</td>
- <td>executes when new note is created under the note where this relation is
- defined</td>
- </tr>
- <tr>
- <td><code>runOnNoteTitleChange</code>
- </td>
- <td>executes when note title is changed (includes note creation as well)</td>
- </tr>
- <tr>
- <td><code>runOnNoteContentChange</code>
- </td>
- <td>executes when note content is changed (includes note creation as well).</td>
- </tr>
- <tr>
- <td><code>runOnNoteChange</code>
- </td>
- <td>executes when note is changed (includes note creation as well). Does not
- include content changes</td>
- </tr>
- <tr>
- <td><code>runOnNoteDeletion</code>
- </td>
- <td>executes when note is being deleted</td>
- </tr>
- <tr>
- <td><code>runOnBranchCreation</code>
+ <td>See&nbsp;<a class="reference-link" href="../../Scripting/Events.html">Events</a>
</td>
- <td>executes when a branch is created. Branch is a link between parent note
- and child note and is created e.g. when cloning or moving note.</td>
- </tr>
- <tr>
- <td><code>runOnBranchChange</code>
- </td>
- <td>executes when a branch is updated.</td>
- </tr>
- <tr>
- <td><code>runOnBranchDeletion</code>
- </td>
- <td>executes when a branch is deleted. Branch is a link between parent note
- and child note and is deleted e.g. when moving note (old branch/link is
- deleted).</td>
- </tr>
- <tr>
- <td><code>runOnAttributeCreation</code>
- </td>
- <td>executes when new attribute is created for the note which defines this
- relation</td>
- </tr>
- <tr>
- <td><code>runOnAttributeChange</code>
- </td>
- <td>executes when the attribute is changed of a note which defines this relation.
- This is triggered also when the attribute is deleted</td>
</tr>
<tr>
<td><code>template</code>
@@ -550,73 +434,6 @@
</tbody>
</table>
</figure>
- <p>&nbsp;</p>
- <ul>
- <li><code>disableVersioning</code>: Disables automatic versioning, ideal for
- large, unimportant notes like script libraries</li>
- <li><code>versioningLimit</code>: Used to limit the number of revisions for
- a single note</li>
- <li><code>calendarRoot</code>: Marks the note as the root for&nbsp;<a class="reference-link"
- href="../Advanced%20Showcases/Day%20Notes.html">Day Notes</a>. Only one
- note should carry this label.</li>
- <li><code>excludeFromExport</code>: Excludes notes and their subtrees from
- export operations</li>
- <li><code>run</code>: Specifies events to trigger scripts (e.g., <code>frontendStartup</code>, <code>hourly</code>)</li>
- <li><code>runAtHour</code>: Defines specific hours for scripts to run, used
- with <code>#run=hourly</code>
- </li>
- <li><code>disableInclusion</code>: Prevents a script from being included in
- parent script executions</li>
- <li><code>sorted</code>: Automatically sorts child notes alphabetically by
- title</li>
- <li><code>top</code>: Keeps the note at the top of its parent's list, useful
- with <code>sorted</code>
- </li>
- <li><code>hidePromotedAttributes</code>: Hides certain attributes in the note's
- display</li>
- <li><code>readOnly</code>: Sets the note to read-only mode, applicable to
- text and code notes</li>
- <li><code>autoReadOnlyDisabled</code>: Disables automatic read-only mode for
- large notes</li>
- <li><code>appCss</code>: Marks CSS notes used to modify Trilium’s appearance</li>
- <li><code>appTheme</code>: Marks full CSS themes available in Trilium's options</li>
- <li><code>cssClass</code>: Adds a CSS class to the note's representation in
- the tree</li>
- <li><code>iconClass</code>: Adds a CSS class to the note's icon, useful for
- distinguishing notes visually. See&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Notes/Note%20Icons.html">Note Icons</a>.</li>
- <li><code>pageSize</code>: Specifies the number of items per page in note
- listings</li>
- <li><code>customRequestHandler</code> <strong>and</strong> <code>customResourceProvider</code>:
- Refer to&nbsp;<a class="reference-link" href="../Custom%20Request%20Handler.html">Custom Request Handler</a>
- </li>
- <li><code>widget</code>: Marks a note as a custom widget, added to Trilium's
- component tree</li>
- <li><code>workspace</code> <strong>and related attributes</strong>: See&nbsp;
- <a
- class="reference-link" href="../../Basic%20Concepts%20and%20Features/Navigation/Workspace.html">Workspace</a>&nbsp;for more details</li>
- <li><code>searchHome</code>: Specifies the parent for new search notes</li>
- <li><code>inbox</code>: Designates a default location for new notes created
- via the sidebar</li>
- <li><code>sqlConsoleHome</code>: Default location for SQL console notes</li>
- <li><code>bookmarked</code> <strong>and</strong> <code>bookmarkFolder</code>:
- See&nbsp;<a class="reference-link" href="../../Basic%20Concepts%20and%20Features/Navigation/Bookmarks.html">Bookmarks</a>
- </li>
- <li><code>share:[…]</code>: See&nbsp;<a class="reference-link" href="../Sharing.html">Sharing</a>
- </li>
- <li><code>keyboardShortcut</code>: Assigns a keyboard shortcut to open the
- note</li>
- <li><code>displayRelations</code> <strong>and</strong> <code>hideRelations</code>:
- Manages the display of note relations</li>
- <li><code>titleTemplate</code>: See&nbsp;<a class="reference-link" href="../Default%20Note%20Title.html">Default Note Title</a>
- </li>
- <li><code>template</code>: Makes the note available as a template</li>
- <li><code>toc</code>: Controls the visibility of the table of contents</li>
- <li><code>color</code>: Defines the color of the note in the tree and links</li>
- <li><code>hideChildrenOverview</code>: Hides child notes in the parent note's
- editor</li>
- <li><code>viewType</code>: Sets the view of child notes (grid or list)</li>
- </ul>
- <h2>Relations</h2>
</div>
</div>
</body>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html
new file mode 100644
index 0000000000..6e447278ef
--- /dev/null
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.html
@@ -0,0 +1,37 @@
+<html>
+
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="../../../style.css">
+ <base target="_parent">
+ <title data-trilium-title>Trilium instance</title>
+ </head>
+
+ <body>
+ <div class="content">
+ <h1 data-trilium-h1>Trilium instance</h1>
+
+ <div class="ck-content">
+ <p>A Trilium instance represents a server. If&nbsp;<a class="reference-link"
+ href="../../Installation%20%26%20Setup/Synchronization.html">Synchronization</a>&nbsp;is
+ set up, since multiple servers are involved (the one from the desktop client
+ and the one the synchronisation is set up with), sometimes it can be useful
+ to distinguish the instance you are running on.</p>
+ <h2>Setting the instance name</h2>
+ <p>To set up a name for the instance, modify the <code>config.ini</code>:</p><pre><code class="language-text-x-trilium-auto">[General]
+instanceName=Hello</code></pre>
+ <h2>Distinguishing the instance on back-end</h2>
+ <p>Use <code>api.getInstanceName()</code> to obtain the instance name of the
+ current server, as specified in the config file or in environment variables.</p>
+ <h2>Limiting script runs based on instance</h2>
+ <p>For a script that is run periodically or on a certain event, it's possible
+ to limit it to certain instances without having to change the code. Just
+ add <code>runOnInstance</code> and set as the value the instance name where
+ the script should run. To run on multiple named instances, simply add the
+ label multiple times.</p>
+ </div>
+ </div>
+ </body>
+
+</html>
\ No newline at end of file
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html
index 8c491ef80f..1c3bce6b6c 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Custom Request Handler.html
@@ -68,7 +68,7 @@ Content-Type: application/json
and you need to take care of this yourself.</p>
<p>Once we pass these checks we will just create the desired note using
<a
- href="../Note%20Types/Code/Script%20API.html">Script API</a>.</p>
+ href="../Scripting/Script%20API.html">Script API</a>.</p>
<h2>Custom resource provider</h2>
<p>Another common use case is that you want to just expose a file note -
in such case you create label <code>customResourceProvider</code> (value
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html
index ee8b6e01da..05a4a570ef 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Default Note Title.html
@@ -42,23 +42,31 @@
<p>The value of <code>#titleTemplate</code> is evaluated at the point of note's
creation as a JavaScript string, which means it can be enriched with the
help of JS string interpolation with dynamic data.</p>
- <p>As an example, imagine you collect server outage incidents and write some
- notes. It looks like this:</p>
+ <p>Second variable injected is <code>parentNote</code> which gives access to
+ the parent <a href="../Scripting/Script%20API/Frontend%20API/FNote.html"><code>FNote</code></a>.</p>
+ <p>See also&nbsp;<a class="reference-link" href="Templates.html">Templates</a>&nbsp;which
+ provides similar capabilities, including default note's content.</p>
+ <h3>Examples</h3>
<ul>
- <li>Incidents
+ <li>Imagine you collect server outage incidents and write some notes. It looks
+ like this:
<ul>
- <li>2022-05-09: System crash</li>
- <li>2022-05-15: Backup delay</li>
+ <li>Incidents
+ <ul>
+ <li>2022-05-09: System crash</li>
+ <li>2022-05-15: Backup delay</li>
+ </ul>
+ </li>
+ <li>You can automatize the date assignment by assigning a label <code>#titleTemplate="${now.format('YYYY-MM-DD')}: "</code> to
+ the parent note "Incidents". Whenever a new child note is created, the
+ title template is evaluated with the injected <a href="https://day.js.org/docs/en/display/format">now</a> object.</li>
</ul>
</li>
+ <li>To use a parent's attribute in the title of new notes: <code>#titleTemplate="${parentNote.getLabelValue('authorName')}'s literary works"</code>
+ </li>
+ <li>To mirror the parent's note title: <code>${parentNote.title}</code>
+ </li>
</ul>
- <p>You can automatize the date assignment by assigning a label <code>#titleTemplate="${now.format('YYYY-MM-DD')}: "</code> to
- the parent note "Incidents". Whenever a new child note is created, the
- title template is evaluated with the injected <a href="https://day.js.org/docs/en/display/format">now</a> object.</p>
- <p>Second variable injected is <a href="https://triliumnext.github.io/Notes/backend_api/BNote.html">parentNote</a>,
- an example could be <code>#titleTemplate="${parentNote.getLabelValue('authorName')}'s literary works"</code>.</p>
- <p>See also [[<a href="Templates.html">template</a>]] which provides similar
- capabilities, including default note's content.</p>
</div>
</div>
</body>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html
index 3ba0c21d52..3486a21047 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Sharing.html
@@ -17,7 +17,8 @@
documents. This feature is particularly useful for publishing content directly
from your Trilium notes, making it accessible to others online.</p>
<h2>Prerequisites</h2>
- <p>To use the sharing feature, you must have a <a href="../Installation%20%26%20Setup/Server%20Installation.html">server installation</a> of
+ <p>To use the sharing feature, you must have a&nbsp;<a class="reference-link"
+ href="../Installation%20%26%20Setup/Server%20Installation.html">Server Installation</a>&nbsp;of
Trilium. This is necessary because the notes will be hosted from the server.</p>
<h2>How to Share a Note</h2>
<ol>
@@ -64,10 +65,11 @@
<p>The default shared page is basic in design, but you can customize it using
your own CSS:</p>
<ul>
- <li><strong>Custom CSS</strong>: Link a CSS <a href="../Note%20Types/Code.html">code note</a> to
- the shared page by adding a <code>~shareCss</code> relation to the note.
- If you want this style to apply to the entire subtree, make the label inheritable.
- You can hide the CSS code note from the tree navigation by adding the <code>#shareHiddenFromTree</code> label.</li>
+ <li><strong>Custom CSS</strong>: Link a CSS&nbsp;<a class="reference-link"
+ href="../Note%20Types/Code.html">Code</a>&nbsp;note to the shared page
+ by adding a <code>~shareCss</code> relation to the note. If you want this
+ style to apply to the entire subtree, make the label inheritable. You can
+ hide the CSS code note from the tree navigation by adding the <code>#shareHiddenFromTree</code> label.</li>
<li><strong>Omitting Default CSS</strong>: For extensive styling changes,
use the <code>#shareOmitDefaultCss</code> label to avoid conflicts with Trilium's
<a
@@ -112,16 +114,6 @@ for (const attr of parentNote.attributes) {
making it easier to use Trilium as a fully-fledged website. Consider combining
this with the <code>#shareIndex</code> label, which will display a list of
all shared notes.</p>
- <h2>Additional Options</h2>
- <ul>
- <li><strong>Raw Note Sharing</strong>: Use the <code>#shareRaw</code> label
- to share a note without any HTML wrapper.</li>
- <li><strong>Disallow Robot Indexing</strong>: Add the <code>#shareDisallowRobotIndexing</code> label
- to prevent search engines from indexing the shared page by including a <code>noindex, follow</code> meta
- tag and <code>X-Robots-Tag: noindex</code> header.</li>
- <li><strong>Shared Notes Index</strong>: For text notes with the <code>#shareIndex</code> label,
- the content will display a list of all shared note roots.</li>
- </ul>
<h2>Limitations</h2>
<p>While the sharing feature is powerful, it has some limitations:</p>
<ul>
@@ -135,6 +127,84 @@ for (const attr of parentNote.attributes) {
<li><strong>Include Notes</strong>: Not supported.</li>
</ul>
<p>Some of these limitations may be addressed in future updates.</p>
+ <h2>Attribute reference</h2>
+ <figure class="table">
+ <table>
+ <thead>
+ <tr>
+ <th>Attribute</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>shareHiddenFromTree</code>
+ </td>
+ <td>this note is hidden from left navigation tree, but still accessible with
+ its URL</td>
+ </tr>
+ <tr>
+ <td><code>shareExternalLink</code>
+ </td>
+ <td>note will act as a link to an external website in the share tree</td>
+ </tr>
+ <tr>
+ <td><code>shareAlias</code>
+ </td>
+ <td>define an alias using which the note will be available under <code>https://your_trilium_host/share/[your_alias]</code>
+ </td>
+ </tr>
+ <tr>
+ <td><code>shareOmitDefaultCss</code>
+ </td>
+ <td>default share page CSS will be omitted. Use when you make extensive styling
+ changes.</td>
+ </tr>
+ <tr>
+ <td><code>shareRoot</code>
+ </td>
+ <td>marks note which is served on /share root.</td>
+ </tr>
+ <tr>
+ <td><code>shareDescription</code>
+ </td>
+ <td>define text to be added to the HTML meta tag for description</td>
+ </tr>
+ <tr>
+ <td><code>shareRaw</code>
+ </td>
+ <td>Note will be served in its raw format, without HTML wrapper. See also&nbsp;
+ <a
+ class="reference-link" href="Sharing/Serving%20directly%20the%20content%20o.html">Serving directly the content of a note</a>&nbsp;for an alternative method
+ without setting an attribute.</td>
+ </tr>
+ <tr>
+ <td><code>shareDisallowRobotIndexing</code>
+ </td>
+ <td>
+ <p>Indicates to web crawlers that the page should not be indexed of this
+ note by:</p>
+ <ul>
+ <li>Setting the <code>X-Robots-Tag: noindex</code> HTTP header.</li>
+ <li>Setting the <code>noindex, follow</code> meta tag.</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td><code>shareCredentials</code>
+ </td>
+ <td>require credentials to access this shared note. Value is expected to be
+ in format <code>username:password</code>. Don't forget to make this inheritable
+ to apply to child-notes/images.</td>
+ </tr>
+ <tr>
+ <td><code>shareIndex</code>
+ </td>
+ <td>Note with this label will list all roots of shared notes.</td>
+ </tr>
+ </tbody>
+ </table>
+ </figure>
</div>
</div>
</body>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html
index 48f7a1a189..49062292e9 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Advanced Usage/Templates.html
@@ -51,7 +51,7 @@
</p>
<p>For the template to appear in the menu, the template note must have the <code>#template</code> label.
Do not confuse this with the <code>~template</code> relation, which links
- the instance note to the template note. If you use <a href="../Basic%20Concepts%20and%20Features/Navigation/Workspace.html">workspaces</a>,
+ the instance note to the template note. If you use <a href="../Basic%20Concepts%20and%20Features/Navigation/Workspaces.html">workspaces</a>,
you can also mark templates with <code>#workspaceTemplate</code> to display
them only in the workspace.</p>
<p>Templates can also be added or changed after note creation by creating
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/1_Workspace_image.png b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/1_Workspaces_image.png
similarity index 100%
rename from src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/1_Workspace_image.png
rename to src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/1_Workspaces_image.png
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.html
index 785c84979b..cad1ec4a37 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Note Hoisting.html
@@ -22,7 +22,7 @@
<p>In addition to showing only this subtree, this also narrows both full
text search and <a href="Note%20Navigation.html">“jump to note”</a> to just
notes present in hoisted subtree.</p>
- <p>See also <a href="Workspace.html">Workspace</a> which extends this feature.</p>
+ <p>See also <a href="Workspaces.html">Workspace</a> which extends this feature.</p>
</div>
</div>
</body>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspace.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspace.html
deleted file mode 100644
index b55421d33e..0000000000
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspace.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<html>
-
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="../../../style.css">
- <base target="_parent">
- <title data-trilium-title>Workspace</title>
- </head>
-
- <body>
- <div class="content">
- <h1 data-trilium-h1>Workspace</h1>
-
- <div class="ck-content">
- <p>Workspace is a concept built up on top of <a href="Note%20Hoisting.html">note hoisting</a>.
- It is based on the idea that a user has several distinct spheres of interest.
- An example might be "Personal" and "Work", these two spheres are quite
- distinct and don't interact together. When I focus on Work, I don't really
- care about personal notes.</p>
- <p>So far workspace consists of these features:</p>
- <ul>
- <li>
- <p><a href="Note%20Hoisting.html">note hoisting</a> - you can "zoom" into
- a workspace subtree to focus only on the relevant notes</p>
- </li>
- <li>
- <p>easy entering of workspace:&nbsp;</p>
- <p>
- <img src="1_Workspace_image.png">
- </p>
- </li>
- <li>
- <p>visual identification of workspace in tabs:
- <br>
- <img src="Workspace_image.png">
- </p>
- </li>
- </ul>
- <h3>How to use workspaces</h3>
- <p>Let's say you have identified the workspaces and their subtrees. Define
- on the root of this subtree following labels:</p>
- <ul>
- <li><code>#workspace</code> - Marks this note as a workspace, button to enter
- the workspace is controlled by this</li>
- <li><code>#workspaceIconClass</code> - controls the box icon to be displayed
- in the tree and tabs, example <code>bx bx-home</code>. See <a href="https://boxicons.com/">https://boxicons.com/</a>
- </li>
- <li><code>#workspaceTabBackgroundColor</code> - Background color of the tab,
- use any CSS color format, e.g. "lightblue" or "#ddd". See <a href="https://www.w3schools.com/cssref/css_colors.asp">https://www.w3schools.com/cssref/css_colors.asp</a>.</li>
- <li><code>#workspaceCalendarRoot</code> - marking a note with this label will
- define a new per-workspace calendar. If there's no such note, the global
- calendar will be used.</li>
- <li><code>#workspaceTemplate</code> - This note will appear in the selection
- of available templates when creating a new note, but only when you are
- currently hoisted into a workspace containing this template.</li>
- </ul>
- </div>
- </div>
- </body>
-
-</html>
\ No newline at end of file
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html
new file mode 100644
index 0000000000..8248864a11
--- /dev/null
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces.html
@@ -0,0 +1,96 @@
+<html>
+
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="../../../style.css">
+ <base target="_parent">
+ <title data-trilium-title>Workspaces</title>
+ </head>
+
+ <body>
+ <div class="content">
+ <h1 data-trilium-h1>Workspaces</h1>
+
+ <div class="ck-content">
+ <p>Workspace is a concept built up on top of <a href="Note%20Hoisting.html">note hoisting</a>.
+ It is based on the idea that a user has several distinct spheres of interest.
+ An example might be "Personal" and "Work", these two spheres are quite
+ distinct and don't interact together. When I focus on Work, I don't really
+ care about personal notes.</p>
+ <p>So far workspace consists of these features:</p>
+ <ul>
+ <li><a href="Note%20Hoisting.html">note hoisting</a> - you can "zoom" into
+ a workspace subtree to focus only on the relevant notes</li>
+ <li>
+ <p>easy entering of workspace:&nbsp;</p>
+ <p>
+ <img src="1_Workspaces_image.png">
+ </p>
+ </li>
+ <li>visual identification of workspace in tabs:
+ <br>
+ <img src="Workspaces_image.png">
+ </li>
+ </ul>
+ <h3>Configuration</h3>
+ <figure class="table">
+ <table>
+ <thead>
+ <tr>
+ <th>Label</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>workspace</code>
+ </td>
+ <td>Marks this note as a workspace, button to enter the workspace is controlled
+ by this</td>
+ </tr>
+ <tr>
+ <td><code>workspaceIconClass</code>
+ </td>
+ <td>defines box icon CSS class which will be used in tab when hoisted to this
+ note</td>
+ </tr>
+ <tr>
+ <td><code>workspaceTabBackgroundColor</code>
+ </td>
+ <td>CSS color used in the note tab when hoisted to this note, use any CSS
+ color format, e.g. "lightblue" or "#ddd". See <a href="https://www.w3schools.com/cssref/css_colors.asp">https://www.w3schools.com/cssref/css_colors.asp</a>.</td>
+ </tr>
+ <tr>
+ <td><code>workspaceCalendarRoot</code>
+ </td>
+ <td>Marking a note with this label will define a new per-workspace calendar
+ for&nbsp;<a class="reference-link" href="../../Advanced%20Usage/Advanced%20Showcases/Day%20Notes.html">Day Notes</a>.
+ If there's no such note, the global calendar will be used.</td>
+ </tr>
+ <tr>
+ <td><code>workspaceTemplate</code>
+ </td>
+ <td>This note will appear in the selection of available template when creating
+ new note, but only when hoisted into a workspace containing this template</td>
+ </tr>
+ <tr>
+ <td><code>workspaceSearchHome</code>
+ </td>
+ <td>new search notes will be created as children of this note when hoisted
+ to some ancestor of this workspace note</td>
+ </tr>
+ <tr>
+ <td><code>workspaceInbox</code>
+ </td>
+ <td>default inbox location for new notes when hoisted to some ancestor of
+ this workspace note</td>
+ </tr>
+ </tbody>
+ </table>
+ </figure>
+ </div>
+ </div>
+ </body>
+
+</html>
\ No newline at end of file
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspace_image.png b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces_image.png
similarity index 100%
rename from src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspace_image.png
rename to src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Navigation/Workspaces_image.png
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html
index f0f4681f64..84d567f212 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/Notes/Note List.html
@@ -15,9 +15,16 @@
<div class="ck-content">
<p>When a note has one or more child notes, they will be listed at the end
of the note for easy navigation.</p>
- <h2>Hide the note list for a given note</h2>
- <p>If the note list is not desireable for a particular note, simply apply
- the <code>hideChildrenOverview</code> <a href="../../Advanced%20Usage/Attributes.html">label</a>.</p>
+ <h2>Configuration</h2>
+ <ul>
+ <li>To hide the note list for a particular note, simply apply the <code>hideChildrenOverview</code>
+ <a
+ href="../../Advanced%20Usage/Attributes.html">label</a>.</li>
+ <li>For some view types, such as Grid view, only a subset of notes will be
+ displayed and pagination can be used to navigate through all of them for
+ performance reasons. To adjust the number of notes per page, set <code>pageSize</code> to
+ the desired number.</li>
+ </ul>
<h2>View types</h2>
<p>By default, the notes will be displayed in a grid, however there are also
some other view types available.</p>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html
index de42d0c716..69b0c62242 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Launch Bar.html
@@ -95,7 +95,7 @@
</p>
<p>Allows defining a custom widget to be rendered inside the launcher. See&nbsp;
<a
- href="../../Scripting/Widget%20Basics.html">Widget Basics</a>&nbsp;for more information.</p>
+ href="../../Scripting/Custom%20Widgets/Widget%20Basics.html">Widget Basics</a>&nbsp;for more information.</p>
</li>
<li>
<p><strong>Spacers</strong>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.html b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.html
index 9c0980f310..678b3d6430 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Basic Concepts and Features/UI Elements/Ribbon.html
@@ -105,6 +105,9 @@
<h3>Edited notes</h3>
<p>This section pops automatically when entering a <a href="../../Advanced%20Usage/Advanced%20Showcases/Day%20Notes.html">day note</a> and
shows the notes that were edited that day.</p>
+ <p>It is possible to disable this behavior from settings, by going to&nbsp;
+ <a
+ class="reference-link" href="#root/_hidden/_options/_optionsAppearance">Appearance</a>&nbsp;settings and looking for the <em>Ribbon widgets</em> section.</p>
</div>
</div>
</body>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Events.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Events.html
deleted file mode 100644
index 4b9a0394ea..0000000000
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Events.html
+++ /dev/null
@@ -1,66 +0,0 @@
-<html>
-
- <head>
- <meta charset="utf-8">
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="../../../style.css">
- <base target="_parent">
- <title data-trilium-title>Events</title>
- </head>
-
- <body>
- <div class="content">
- <h1 data-trilium-h1>Events</h1>
-
- <div class="ck-content">
- <p><a href="../../Scripting.html">Script</a> notes can be triggered by events.
- Note that these are backend events and thus relation need to point to the
- "JS backend" code note.</p>
- <h2>Global events</h2>
- <p>Global events are attached to the script note via label. Simply create
- e.g. "run" label with some of these values and script note will be executed
- once the event occurs.</p>
- <ul>
- <li><code>run</code>
- <ul>
- <li><code>frontendStartup</code> - executes on frontend upon startup</li>
- <li><code>mobileStartup</code> - executes on mobile frontend upon startup</li>
- <li><code>backendStartup</code> - executes on backend upon startup</li>
- <li><code>hourly</code> - executes once an hour on backend</li>
- <li><code>daily</code> - executes once a day on backend</li>
- </ul>
- </li>
- </ul>
- <h2>Entity events</h2>
- <p>Other events are bound to some entity, these are defined as <a href="../../Advanced%20Usage/Attributes.html">relations</a> -
- meaning that script is triggered only if note has this script attached
- to it through relations (or it can inherit it).</p>
- <ul>
- <li><code>runOnNoteCreation</code> - executes when note is created on backend</li>
- <li><code>runOnNoteTitleChange</code> - executes when note title is changed
- (includes note creation as well)</li>
- <li><code>runOnNoteContentChange</code> - executes when note content is changed
- (includes note creation as well).</li>
- <li><code>runOnNoteChange</code> - executes when note is changed (includes
- note creation as well)</li>
- <li><code>runOnNoteDeletion</code> - executes when note is being deleted</li>
- <li><code>runOnBranchCreation</code> - executes when a branch is created. Branch
- is a link between parent note and child note and is created e.g. when cloning
- or moving note.</li>
- <li><code>runOnBranchChange</code> (since v0.62) - executes when a branch is
- changed - either expanded status or prefix are changed.</li>
- <li><code>runOnBranchDeletion</code> - executes when a branch is delete. Branch
- is a link between parent note and child note and is deleted e.g. when moving
- note (old branch/link is deleted).</li>
- <li><code>runOnChildNoteCreation</code> - executes when new note is created
- under <em>this</em> note</li>
- <li><code>runOnAttributeCreation</code> - executes when new attribute is created
- under <em>this</em> note</li>
- <li><code>runOnAttributeChange</code> - executes when attribute is changed
- under <em>this</em> note</li>
- </ul>
- </div>
- </div>
- </body>
-
-</html>
\ No newline at end of file
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html
index 378171c93f..2281ab37e8 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Saved Search.html
@@ -25,7 +25,7 @@
<h2>Location</h2>
<p>By default, saved searches are stored in the day note. However, you can
designate a different note to store saved searches by marking it with the <code>#searchHome</code> label.
- Additionally, for <a href="../Basic%20Concepts%20and%20Features/Navigation/Workspace.html">workspaces</a>,
+ Additionally, for <a href="../Basic%20Concepts%20and%20Features/Navigation/Workspaces.html">workspaces</a>,
you can use the <code>#workspaceSearchHome</code> label to specify a storage
location for saved searches within that workspace.</p>
</div>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting.html
index de90b44807..d07d5bd820 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting.html
@@ -16,7 +16,7 @@
<p>Trilium supports creating&nbsp;<a class="reference-link" href="Note%20Types/Code.html">Code</a>&nbsp;notes,
i.e. notes which allow you to store some programming code and highlight
it. Special case is JavaScript code notes which can also be executed inside
- Trilium which can in conjunction with&nbsp;<a class="reference-link" href="Note%20Types/Code/Script%20API.html">Script API</a>&nbsp;provide
+ Trilium which can in conjunction with&nbsp;<a class="reference-link" href="Scripting/Script%20API.html">Script API</a>&nbsp;provide
extra functionality.</p>
<h2>Scripting</h2>
<p>To go further I must explain basic architecture of Trilium - in its essence
@@ -58,9 +58,9 @@
<p>You can see more scripting with explanation in&nbsp;<a class="reference-link"
href="Advanced%20Usage/Advanced%20Showcases.html">Advanced Showcases</a>.</p>
<h2>Events</h2>
- <p>See&nbsp;<a class="reference-link" href="Note%20Types/Code/Events.html">Events</a>.</p>
+ <p>See&nbsp;<a class="reference-link" href="Scripting/Events.html">Events</a>.</p>
<h2>Script API</h2>
- <p>See&nbsp;<a class="reference-link" href="Note%20Types/Code/Script%20API.html">Script API</a>.</p>
+ <p>See&nbsp;<a class="reference-link" href="Scripting/Script%20API.html">Script API</a>.</p>
</div>
</div>
</body>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Custom Widgets.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets.html
similarity index 93%
rename from src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Custom Widgets.html
rename to src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets.html
index b4a0c9a3ee..240eeb80d2 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Custom Widgets.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="../../../style.css">
+ <link rel="stylesheet" href="../../style.css">
<base target="_parent">
<title data-trilium-title>Custom Widgets</title>
</head>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Widget Basics.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Widget Basics.html
similarity index 86%
rename from src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Widget Basics.html
rename to src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Widget Basics.html
index a065f635d9..07f4db3479 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Widget Basics.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Widget Basics.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="../../style.css">
+ <link rel="stylesheet" href="../../../style.css">
<base target="_parent">
<title data-trilium-title>Widget Basics</title>
</head>
@@ -33,15 +33,15 @@ module.exports = new MyWidget();</code></pre>
<ol>
<li>Create a new <code>JS Frontend</code> note in Trilium and paste in the code
above.</li>
- <li>Assign the <code>#widget</code> <a href="../Advanced%20Usage/Attributes.html">attribute</a> to
- the <a href="../Basic%20Concepts%20and%20Features/Notes.html">note</a>.</li>
+ <li>Assign the <code>#widget</code> <a href="../../Advanced%20Usage/Attributes.html">attribute</a> to
+ the <a href="../../Basic%20Concepts%20and%20Features/Notes.html">note</a>.</li>
<li>Restart Trilium or reload the window.</li>
</ol>
<p>To verify that the widget is working, open the developer tools (<code>Cmd</code> + <code>Shift</code> + <code>I</code>)
and run <code>document.querySelector("#my-widget")</code>. If the element
is found, the widget is functioning correctly. If <code>undefined</code> is
- returned, double-check that the <a href="../Basic%20Concepts%20and%20Features/Notes.html">note</a> has
- the <code>#widget</code> <a href="../Advanced%20Usage/Attributes.html">attribute</a>.</p>
+ returned, double-check that the <a href="../../Basic%20Concepts%20and%20Features/Notes.html">note</a> has
+ the <code>#widget</code> <a href="../../Advanced%20Usage/Attributes.html">attribute</a>.</p>
<h3>Step 2: Adding an UI Element</h3>
<p>Next, let's improve the widget by adding a button to it.</p><pre><code class="language-text-x-trilium-auto">const template = ``;
@@ -84,7 +84,7 @@ module.exports = new MyWidget();</code></pre>
of the left pane, alongside other action buttons.</p>
<h3>Step 4: Adding User Interaction</h3>
<p>Let’s make the button interactive by showing a message when it’s clicked.
- We'll use the <code>api.showMessage</code> method from the <a href="../Note%20Types/Code/Script%20API.html">Script API</a>.</p><pre><code class="language-text-x-trilium-auto">class MyWidget extends api.BasicWidget {
+ We'll use the <code>api.showMessage</code> method from the <a href="../Script%20API.html">Script API</a>.</p><pre><code class="language-text-x-trilium-auto">class MyWidget extends api.BasicWidget {
get position() { return 1; }
get parentWidget() { return "left-pane"; }
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Custom Widgets/Word count widget.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Word count widget.html
similarity index 90%
rename from src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Custom Widgets/Word count widget.html
rename to src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Word count widget.html
index 14543eb17f..982da8bd3a 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Custom Widgets/Word count widget.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Word count widget.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="../../../../style.css">
+ <link rel="stylesheet" href="../../../style.css">
<base target="_parent">
<title data-trilium-title>Word count widget</title>
</head>
@@ -15,9 +15,9 @@
<div class="ck-content">
<aside class="admonition tip">
<p>This widget is also present in new installations in the&nbsp;<a class="reference-link"
- href="../../../Advanced%20Usage/Database/Demo%20Notes.html">Demo Notes</a>.</p>
+ href="../../Advanced%20Usage/Database/Demo%20Notes.html">Demo Notes</a>.</p>
</aside>
- <p>Create a&nbsp;<a class="reference-link" href="../../Code.html">Code</a>&nbsp;note
+ <p>Create a&nbsp;<a class="reference-link" href="../../Note%20Types/Code.html">Code</a>&nbsp;note
of type JS frontend and <strong>give it a</strong> <code>#widget</code> <strong>label</strong>.</p><pre><code class="language-text-x-trilium-auto">/*
* This defines a custom widget which displays number of words and characters in a current text note.
* To be activated for a given note, add label 'wordCount' to the note, you can also make it inheritable and thus activate it for the whole subtree.
@@ -93,7 +93,7 @@ class WordCountWidget extends api.NoteContextAwareWidget {
}
module.exports = new WordCountWidget();</code></pre>
- <p>After you make changes it is necessary to <a href="../../../Troubleshooting/Refreshing%20the%20application.html">restart Trilium</a> so
+ <p>After you make changes it is necessary to <a href="../../Troubleshooting/Refreshing%20the%20application.html">restart Trilium</a> so
that the layout can be rebuilt.</p>
<p>At the bottom of the note you can see the resulting widget:</p>
<figure
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Custom Widgets/Word count widget_image.png b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Word count widget_image.png
similarity index 100%
rename from src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Custom Widgets/Word count widget_image.png
rename to src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Custom Widgets/Word count widget_image.png
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Events.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Events.html
new file mode 100644
index 0000000000..78e2a87106
--- /dev/null
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Events.html
@@ -0,0 +1,149 @@
+<html>
+
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="../../style.css">
+ <base target="_parent">
+ <title data-trilium-title>Events</title>
+ </head>
+
+ <body>
+ <div class="content">
+ <h1 data-trilium-h1>Events</h1>
+
+ <div class="ck-content">
+ <p><a href="../Scripting.html">Script</a> notes can be triggered by events.
+ Note that these are backend events and thus relation need to point to the
+ "JS backend" code note.</p>
+ <h2>Global events</h2>
+ <p>Global events are attached to the script note via label. Simply create
+ e.g. "run" label with some of these values and script note will be executed
+ once the event occurs.</p>
+ <figure class="table">
+ <table>
+ <thead>
+ <tr>
+ <th>Label</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>run</code>
+ </td>
+ <td>
+ <p>Defines on which events script should run. Possible values are:</p>
+ <ul>
+ <li><code>frontendStartup</code> - when Trilium frontend starts up (or is refreshed),
+ but not on mobile.</li>
+ <li><code>mobileStartup</code> - when Trilium frontend starts up (or is refreshed),
+ on mobile.</li>
+ <li><code>backendStartup</code> - when Trilium backend starts up</li>
+ <li><code>hourly</code> - run once an hour. You can use additional label <code>runAtHour</code> to
+ specify at which hour, on the back-end.</li>
+ <li><code>daily</code> - run once a day, on the back-end</li>
+ </ul>
+ </td>
+ </tr>
+ <tr>
+ <td><code>runOnInstance</code>
+ </td>
+ <td>Specifies that the script should only run on a particular&nbsp;<a class="reference-link"
+ href="../Advanced%20Usage/Configuration%20(config.ini%20or%20environment%20variables)/Trilium%20instance.html">Trilium instance</a>.</td>
+ </tr>
+ <tr>
+ <td><code>runAtHour</code>
+ </td>
+ <td>On which hour should this run. Should be used together with <code>#run=hourly</code>.
+ Can be defined multiple times for more runs during the day.</td>
+ </tr>
+ </tbody>
+ </table>
+ </figure>
+ <h2>Entity events</h2>
+ <p>Other events are bound to some entity, these are defined as <a href="../Advanced%20Usage/Attributes.html">relations</a> -
+ meaning that script is triggered only if note has this script attached
+ to it through relations (or it can inherit it).</p>
+ <figure class="table">
+ <table>
+ <thead>
+ <tr>
+ <th>Relation</th>
+ <th>Description</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td><code>runOnNoteCreation</code>
+ </td>
+ <td>executes when note is created on backend. Use this relation if you want
+ to run the script for all notes created under a specific subtree. In that
+ case, create it on the subtree root note and make it inheritable. A new
+ note created within the subtree (any depth) will trigger the script.</td>
+ </tr>
+ <tr>
+ <td><code>runOnChildNoteCreation</code>
+ </td>
+ <td>executes when new note is created under the note where this relation is
+ defined</td>
+ </tr>
+ <tr>
+ <td><code>runOnNoteTitleChange</code>
+ </td>
+ <td>executes when note title is changed (includes note creation as well)</td>
+ </tr>
+ <tr>
+ <td><code>runOnNoteContentChange</code>
+ </td>
+ <td>executes when note content is changed (includes note creation as well).</td>
+ </tr>
+ <tr>
+ <td><code>runOnNoteChange</code>
+ </td>
+ <td>executes when note is changed (includes note creation as well). Does not
+ include content changes</td>
+ </tr>
+ <tr>
+ <td><code>runOnNoteDeletion</code>
+ </td>
+ <td>executes when note is being deleted</td>
+ </tr>
+ <tr>
+ <td><code>runOnBranchCreation</code>
+ </td>
+ <td>executes when a branch is created. Branch is a link between parent note
+ and child note and is created e.g. when cloning or moving note.</td>
+ </tr>
+ <tr>
+ <td><code>runOnBranchChange</code>
+ </td>
+ <td>executes when a branch is updated. (since v0.62)</td>
+ </tr>
+ <tr>
+ <td><code>runOnBranchDeletion</code>
+ </td>
+ <td>executes when a branch is deleted. Branch is a link between parent note
+ and child note and is deleted e.g. when moving note (old branch/link is
+ deleted).</td>
+ </tr>
+ <tr>
+ <td><code>runOnAttributeCreation</code>
+ </td>
+ <td>executes when new attribute is created for the note which defines this
+ relation</td>
+ </tr>
+ <tr>
+ <td><code>runOnAttributeChange</code>
+ </td>
+ <td>executes when the attribute is changed of a note which defines this relation.
+ This is triggered also when the attribute is deleted</td>
+ </tr>
+ </tbody>
+ </table>
+ </figure>
+ </div>
+ </div>
+ </body>
+
+</html>
\ No newline at end of file
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html
index 6c3581fa33..1ad9475bae 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Frontend Basics.html
@@ -18,7 +18,7 @@
the current app and note context, and widgets that export an object to
Trilium to be used in the UI. In both cases, the frontend api of Trilium
is available to scripts running in the frontend context as global variable <code>api</code>.
- The members and methods of the api can be seen on the <a href="../Note%20Types/Code/Script%20API.html">Script API</a> page.</p>
+ The members and methods of the api can be seen on the <a href="Script%20API.html">Script API</a> page.</p>
<h2>Scripts</h2>
<p>Scripts don't have any special requirements. They can be run at will using
the execute button in the UI or they can be configured to run at certain
@@ -95,7 +95,7 @@
notes.</li>
</ul>
<h3>Tutorial</h3>
- <p>For more information on building widgets, take a look at <a href="Widget%20Basics.html">Widget Basics</a>.</p>
+ <p>For more information on building widgets, take a look at <a href="Custom%20Widgets/Widget%20Basics.html">Widget Basics</a>.</p>
</div>
</div>
</body>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Script API.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Script API.html
similarity index 93%
rename from src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Script API.html
rename to src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Script API.html
index 377897acaa..a95a5ed748 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Note Types/Code/Script API.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Script API.html
@@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="../../../style.css">
+ <link rel="stylesheet" href="../../style.css">
<base target="_parent">
<title data-trilium-title>Script API</title>
</head>
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Script API/Backend API.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Script API/Backend API.html
new file mode 100644
index 0000000000..edc416b3e2
--- /dev/null
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Script API/Backend API.html
@@ -0,0 +1,19 @@
+<html>
+
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="../../../style.css">
+ <base target="_parent">
+ <title data-trilium-title>Backend API</title>
+ </head>
+
+ <body>
+ <div class="content">
+ <h1 data-trilium-h1>Backend API</h1>
+
+ <div class="ck-content"></div>
+ </div>
+ </body>
+
+</html>
\ No newline at end of file
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Script API/Frontend API/FNote.html b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Script API/Frontend API/FNote.html
new file mode 100644
index 0000000000..e869af4592
--- /dev/null
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Scripting/Script API/Frontend API/FNote.html
@@ -0,0 +1,19 @@
+<html>
+
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <link rel="stylesheet" href="../../../../style.css">
+ <base target="_parent">
+ <title data-trilium-title>FNote</title>
+ </head>
+
+ <body>
+ <div class="content">
+ <h1 data-trilium-h1>FNote</h1>
+
+ <div class="ck-content"></div>
+ </div>
+ </body>
+
+</html>
\ No newline at end of file
diff --git a/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting.html b/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting.html
index 8b7b264d04..43580ab7a2 100644
--- a/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting.html
+++ b/src/public/app/doc_notes/en/User Guide/User Guide/Troubleshooting.html
@@ -31,7 +31,7 @@
In Linux, you can set it as follows:</p><pre><code class="language-text-x-trilium-auto">TRILIUM_START_NOTE_ID=root ./trilium</code></pre>
<h2>Broken Script Prevents Application Startup</h2>
<p>If a custom script causes Triliumto crash, and it is set as a startup
- script or in an active <a href="Note%20Types/Code/Custom%20Widgets.html">custom widget</a>,
+ script or in an active <a href="Scripting/Custom%20Widgets.html">custom widget</a>,
start Triliumin "safe mode" to prevent any custom scripts from executing:</p><pre><code class="language-text-x-trilium-auto">TRILIUM_SAFE_MODE=true ./trilium</code></pre>
<p>Depending on your Trilium distribution, you may have pre-made scripts
available: <code>trilium-safe-mode.bat</code> and <code>trilium-safe-mode.sh</code>.</p>
diff --git a/src/public/app/doc_notes/en/User Guide/navigation.html b/src/public/app/doc_notes/en/User Guide/navigation.html
index c24239bdeb..0a19e04f1e 100644
--- a/src/public/app/doc_notes/en/User Guide/navigation.html
+++ b/src/public/app/doc_notes/en/User Guide/navigation.html
@@ -173,8 +173,8 @@
<li><a href="User%20Guide/Basic%20Concepts%20and%20Features/Navigation/Note%20Hoisting.html"
target="detail">Note Hoisting</a>
</li>
- <li><a href="User%20Guide/Basic%20Concepts%20and%20Features/Navigation/Workspace.html"
- target="detail">Workspace</a>
+ <li><a href="User%20Guide/Basic%20Concepts%20and%20Features/Navigation/Workspaces.html"
+ target="detail">Workspaces</a>
</li>
<li><a href="User%20Guide/Basic%20Concepts%20and%20Features/Navigation/Similar%20Notes.html"
target="detail">Similar Notes</a>
@@ -254,19 +254,6 @@
</ul>
</li>
<li><a href="User%20Guide/Note%20Types/Code.html" target="detail">Code</a>
- <ul>
- <li><a href="User%20Guide/Note%20Types/Code/Script%20API.html" target="detail">Script API</a>
- </li>
- <li><a href="User%20Guide/Note%20Types/Code/Events.html" target="detail">Events</a>
- </li>
- <li><a href="User%20Guide/Note%20Types/Code/Custom%20Widgets.html" target="detail">Custom Widgets</a>
- <ul>
- <li><a href="User%20Guide/Note%20Types/Code/Custom%20Widgets/Word%20count%20widget.html"
- target="detail">Word count widget</a>
- </li>
- </ul>
- </li>
- </ul>
</li>
<li><a href="User%20Guide/Note%20Types/Saved%20Search.html" target="detail">Saved Search</a>
</li>
@@ -399,6 +386,11 @@
</li>
<li><a href="User%20Guide/Advanced%20Usage/Configuration%20(config.ini%20or%20e.html"
target="detail">Configuration (config.ini or environment variables)</a>
+ <ul>
+ <li><a href="User%20Guide/Advanced%20Usage/Configuration%20(config.ini%20or%20environment%20variables)/Trilium%20instance.html"
+ target="detail">Trilium instance</a>
+ </li>
+ </ul>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Bulk%20actions.html" target="detail">Bulk actions</a>
</li>
@@ -435,8 +427,6 @@
<ul>
<li><a href="User%20Guide/Scripting/Frontend%20Basics.html" target="detail">Frontend Basics</a>
</li>
- <li><a href="User%20Guide/Scripting/Widget%20Basics.html" target="detail">Widget Basics</a>
- </li>
<li>Examples
<ul>
<li><a href="User%20Guide/Scripting/Examples/New%20Task%20launcher%20button.html"
@@ -450,6 +440,31 @@
</li>
</ul>
</li>
+ <li><a href="User%20Guide/Scripting/Events.html" target="detail">Events</a>
+ </li>
+ <li><a href="User%20Guide/Scripting/Custom%20Widgets.html" target="detail">Custom Widgets</a>
+ <ul>
+ <li><a href="User%20Guide/Scripting/Custom%20Widgets/Word%20count%20widget.html"
+ target="detail">Word count widget</a>
+ </li>
+ <li><a href="User%20Guide/Scripting/Custom%20Widgets/Widget%20Basics.html"
+ target="detail">Widget Basics</a>
+ </li>
+ </ul>
+ </li>
+ <li><a href="User%20Guide/Scripting/Script%20API.html" target="detail">Script API</a>
+ <ul>
+ <li>Frontend API
+ <ul>
+ <li><a href="User%20Guide/Scripting/Script%20API/Frontend%20API/FNote.html"
+ target="detail">FNote</a>
+ </li>
+ </ul>
+ </li>
+ <li><a href="User%20Guide/Scripting/Script%20API/Backend%20API.html" target="detail">Backend API</a>
+ </li>
+ </ul>
+ </li>
</ul>
</li>
</ul>