Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(demo): link to old documentation (closes #5211)
Elian Doran2b983f871e8e
diff --git a/apps/edit-docs/demo/!!!meta.json b/apps/edit-docs/demo/!!!meta.jsonindex ce5046fb11..92266fa4bf 100644--- a/apps/edit-docs/demo/!!!meta.json+++ b/apps/edit-docs/demo/!!!meta.json@@ -1,6 +1,6 @@{"formatVersion": 2,- "appVersion": "0.99.2",+ "appVersion": "0.99.3","files": [{"isClone": false,@@ -2700,6 +2700,7 @@}],"format": "html",+ "dataFileName": "Note Types.html","attachments": [],"dirFileName": "Note Types","children": [@@ -3878,7 +3879,7 @@"title": "Scripting examples","notePosition": 350,"prefix": null,- "isExpanded": false,+ "isExpanded": true,"type": "text","mime": "text/html","attributes": [diff --git a/apps/edit-docs/demo/navigation.html b/apps/edit-docs/demo/navigation.htmlindex 1d4d5d57b8..4d1371ac2c 100644--- a/apps/edit-docs/demo/navigation.html+++ b/apps/edit-docs/demo/navigation.html@@ -270,7 +270,7 @@</li></ul></li>- <li>Note Types+ <li><a href="root/Trilium%20Demo/Note%20Types.html" target="detail">Note Types</a><ul><li><a href="root/Trilium%20Demo/Note%20Types/Canvas.json" target="detail">Canvas</a></li>diff --git a/apps/edit-docs/demo/root/Miscellaneous/Day Note Template.html b/apps/edit-docs/demo/root/Miscellaneous/Day Note Template.htmlindex 8f2333bf02..a33b14490e 100644--- a/apps/edit-docs/demo/root/Miscellaneous/Day Note Template.html+++ b/apps/edit-docs/demo/root/Miscellaneous/Day Note Template.html@@ -14,6 +14,7 @@<div class="ck-content"><h2>☑️ Tasks</h2>+<ul><li data-list-item-id="e4b26220d6ce48997f1116dc1d1d83dc0">[…]</li></ul>diff --git a/apps/edit-docs/demo/root/Trilium Demo.html b/apps/edit-docs/demo/root/Trilium Demo.htmlindex 206054b925..b5b6672d6d 100644--- a/apps/edit-docs/demo/root/Trilium Demo.html+++ b/apps/edit-docs/demo/root/Trilium Demo.html@@ -14,11 +14,10 @@<div class="ck-content"><figure class="image image-style-align-right image_resized" style="width:29.84%;">- <img style="aspect-ratio:150/150;" src="Trilium Demo_icon-color.svg" width="150"- height="150">+ <img style="aspect-ratio:150/150;" src="Trilium Demo_icon-color.svg"+ width="150" height="150"></figure><p><strong>Welcome to Trilium Notes!</strong>-</p><p>This is a "demo" document packaged with Trilium to showcase some of itsfeatures and also give you some ideas on how you might structure your notes.@@ -26,22 +25,17 @@you wish.</p><p>If you need any help, visit <a href="https://triliumnotes.org">triliumnotes.org</a> orour <a href="https://github.com/TriliumNext">GitHub repository</a>-</p><h2>Cleanup</h2>-<p>Once you're finished with experimenting and want to cleanup these pages,you can simply delete them all.</p><h2>Formatting</h2>-<p>Trilium supports classic formatting like <em>italic</em>, <strong>bold</strong>, <em><strong>bold and italic</strong></em>.You can add links pointing to <a href="https://triliumnotes.org/">external pages</a> or <aclass="reference-link" href="Trilium%20Demo/Formatting%20examples">Formatting examples</a>.</p><h3>Lists</h3>-<p><strong>Ordered:</strong>-</p><ol><li data-list-item-id="e877cc655d0239b8bb0f38696ad5d8abb">First Item</li>@@ -56,7 +50,6 @@</li></ol><p><strong>Unordered:</strong>-</p><ul><li data-list-item-id="e68bf4b518a16671c314a72073c3d900a">Item</li>@@ -67,7 +60,6 @@</li></ul><h3>Block quotes</h3>-<blockquote><p>Whereof one cannot speak, thereof one must be silent”</p><p>– Ludwig Wittgenstein</p>@@ -75,9 +67,9 @@<hr><p>See also other examples like <a href="Trilium%20Demo/Formatting%20examples/School%20schedule.html">tables</a>,<a- href="Trilium%20Demo/Formatting%20examples/Checkbox%20lists.html">checkbox lists,</a> <a href="Trilium%20Demo/Formatting%20examples/Highlighting.html">highlighting</a>,+ href="Trilium%20Demo/Formatting%20examples/Checkbox%20lists.html">checkbox lists,</a> <a href="Trilium%20Demo/Formatting%20examples/Highlighting.html">highlighting</a>, <a href="Trilium%20Demo/Formatting%20examples/Code%20blocks.html">code blocks</a>and<a- href="Trilium%20Demo/Formatting%20examples/Code%20blocks.html">code blocks</a>and <a href="Trilium%20Demo/Formatting%20examples/Math.html">math examples</a>.</p>+ href="Trilium%20Demo/Formatting%20examples/Math.html">math examples</a>.</p></div></div></body>diff --git a/apps/edit-docs/demo/root/Trilium Demo/Formatting examples/Code blocks.html b/apps/edit-docs/demo/root/Trilium Demo/Formatting examples/Code blocks.htmlindex 6827fa8af4..214ef212e7 100644--- a/apps/edit-docs/demo/root/Trilium Demo/Formatting examples/Code blocks.html+++ b/apps/edit-docs/demo/root/Trilium Demo/Formatting examples/Code blocks.html@@ -21,8 +21,12 @@language, should that fail it is possible to manually adjust it. The colorscheme for the syntax highlighting is adjustable in settings. </p><pre><code class="language-application-javascript-env-frontend">function helloWorld() {++alert("Hello world");++}</code></pre><p>For larger pieces of code it is better to use a code note, which usesa fully-fledged code editor (CodeMirror). For an example of a code note,diff --git a/apps/edit-docs/demo/root/Trilium Demo/Note Types.html b/apps/edit-docs/demo/root/Trilium Demo/Note Types.htmlnew file mode 100644index 0000000000..614d566bc6--- /dev/null+++ b/apps/edit-docs/demo/root/Trilium Demo/Note Types.html@@ -0,0 +1,21 @@+<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>Note Types</title>+ </head>++ <body>+ <div class="content">+ <h1 data-trilium-h1>Note Types</h1>++ <div class="ck-content">+ <p>T</p>+ </div>+ </div>+ </body>++</html>\ No newline at end of filediff --git a/apps/edit-docs/demo/root/Trilium Demo/Scripting examples/Task manager.html b/apps/edit-docs/demo/root/Trilium Demo/Scripting examples/Task manager.htmlindex 1b48220744..266520b602 100644--- a/apps/edit-docs/demo/root/Trilium Demo/Scripting examples/Task manager.html+++ b/apps/edit-docs/demo/root/Trilium Demo/Scripting examples/Task manager.html@@ -13,9 +13,8 @@<h1 data-trilium-h1>Task manager</h1><div class="ck-content">- <p>This is a simple TODO/Task manager. You can see some description and explanation- here: <a href="https://github.com/zadam/trilium/wiki/Task-manager">https://github.com/zadam/trilium/wiki/Task-manager</a>- </p>+ <p>This is a simple TODO/Task manager. See the <a href="https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/task-manager">Trilium documentation</a> for+ information on how it works.</p><p>Please note that this is meant as scripting example only and feature/bugsupport is very limited.</p></div>diff --git a/apps/edit-docs/demo/root/Trilium Demo/Tech/Linux/Bash scripting/While loop.html b/apps/edit-docs/demo/root/Trilium Demo/Tech/Linux/Bash scripting/While loop.htmlindex 752bedbd2f..39ca1e3735 100644--- a/apps/edit-docs/demo/root/Trilium Demo/Tech/Linux/Bash scripting/While loop.html+++ b/apps/edit-docs/demo/root/Trilium Demo/Tech/Linux/Bash scripting/While loop.html@@ -16,18 +16,32 @@<p>Documentation: <a href="http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html">http://tldp.org/LDP/Bash-Beginners-Guide/html/sect_09_02.html</a></p><pre><code class="language-text-x-sh">#!/bin/bash++# This script opens 4 terminal windows.++i="0"++while [ $i -lt 4 ]++do++xterm &++i=$[$i+1]++done</code></pre></div></div>diff --git a/apps/server/src/assets/db/demo.zip b/apps/server/src/assets/db/demo.zipindex ebf3f8a7c0..b685648200 100644Binary files a/apps/server/src/assets/db/demo.zip and b/apps/server/src/assets/db/demo.zip differ