chore(docs): update meta and sync import/export

This commit is contained in:
Elian Doran 2025-03-19 20:06:02 +02:00
parent 957642caaa
commit 80066fd2f5
No known key found for this signature in database
8 changed files with 3147 additions and 3209 deletions

File diff suppressed because it is too large Load Diff

View File

@ -39,7 +39,7 @@ Unlike other Book view types, the Calendar view also allows some kind of interac
The following attributes can be added to the book type:
<div class="joplin-table-wrapper"><table><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><code>#calendar:hideWeekends</code></td><td>When present (regardless of value), it will hide Saturday and Sundays from the calendar.</td></tr><tr><td><code>#calendar:weekNumbers</code></td><td>When present (regardless of value), it will show the number of the week on the calendar.</td></tr><tr><td><code>#calendar:view</code></td><td><p>Which view to display in the calendar:</p><ul><li><code>timeGridWeek</code> for the <em>week</em> view;</li><li><code>dayGridMonth</code> for the <em>month</em> view;</li><li><code>multiMonthYear</code> for the <em>year</em> view;</li><li><code>listMonth</code> for the <em>list</em> view.</li></ul><p>Any other value will be dismissed and the default view (month) will be used instead.</p><p>The value of this label is automatically updated when changing the view using the UI buttons.</p></td></tr><tr><td><code>~child:template</code></td><td>Defines the template for newly created notes in the calendar (via dragging or clicking).</td></tr></tbody></table></div>
<table><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><code>#calendar:hideWeekends</code></td><td>When present (regardless of value), it will hide Saturday and Sundays from the calendar.</td></tr><tr><td><code>#calendar:weekNumbers</code></td><td>When present (regardless of value), it will show the number of the week on the calendar.</td></tr><tr><td><code>#calendar:view</code></td><td><p>Which view to display in the calendar:</p><ul><li><code>timeGridWeek</code> for the <em>week</em> view;</li><li><code>dayGridMonth</code> for the <em>month</em> view;</li><li><code>multiMonthYear</code> for the <em>year</em> view;</li><li><code>listMonth</code> for the <em>list</em> view.</li></ul><p>Any other value will be dismissed and the default view (month) will be used instead.</p><p>The value of this label is automatically updated when changing the view using the UI buttons.</p></td></tr><tr><td><code>~child:template</code></td><td>Defines the template for newly created notes in the calendar (via dragging or clicking).</td></tr></tbody></table>
In addition, the first day of the week can be either Sunday or Monday and can be adjusted from the application settings.
@ -104,7 +104,7 @@ By default, events are displayed on the calendar by their note title. However, i
To do so, assign `#calendar:title` to the child note (not the calendar/book note), with the value being `name` where `name` can be any label (make not to add the `#` prefix). The attribute can also come through inheritance such as a template attribute. If the note does not have the requested label, the title of the note will be used instead.
<div class="joplin-table-wrapper"><table><thead><tr><th>&nbsp;</th><th>&nbsp;</th></tr></thead><tbody><tr><td><pre><code class="language-text-x-trilium-auto">#startDate=2025-02-11 #endDate=2025-02-13 #name="My vacation" #calendar:title="name"</code></pre></td><td><img src="5_Calendar View_image.png"></td></tr></tbody></table></div>
<table><thead><tr><th>&nbsp;</th><th>&nbsp;</th></tr></thead><tbody><tr><td><pre><code class="language-text-x-trilium-auto">#startDate=2025-02-11 #endDate=2025-02-13 #name="My vacation" #calendar:title="name"</code></pre></td><td><img src="5_Calendar View_image.png"></td></tr></tbody></table>
### Using a relation attribute as event title

View File

@ -46,7 +46,7 @@ These types were inspired by GitHub's support for this feature and there are cur
The Markdown syntax for admonitions as supported by Trilium is the one that GitHub uses, which is as follows:
```markdown
```
> [!NOTE]
> This is a note.

File diff suppressed because it is too large Load Diff

View File

@ -31,13 +31,12 @@
<p>Unlike other Book view types, the Calendar view also allows some kind
of interaction, such as moving events around as well as creating new ones.</p>
<h2>Creating a calendar</h2>
<figure class="table">
<table>
<thead>
<tr>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th></th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
@ -60,8 +59,8 @@
</tr>
</tbody>
</table>
</figure>
<h2>Creating a new event/note</h2>
<h2>Creating a new event/note</h2>
<ul>
<li>Clicking on a day will create a new child note and assign it to that particular
day.
@ -93,8 +92,6 @@
</ul>
<h2>Configuring the calendar</h2>
<p>The following attributes can be added to the book type:</p>
<div>
<figure class="table">
<table>
<thead>
<tr>
@ -140,14 +137,10 @@
</tr>
</tbody>
</table>
</figure>
</div>
<p>In addition, the first day of the week can be either Sunday or Monday
and can be adjusted from the application settings.</p>
<h2>Configuring the calendar events</h2>
<p>For each note of the calendar, the following attributes can be used:</p>
<figure
class="table">
<table>
<thead>
<tr>
@ -213,15 +206,15 @@
<td><code>#calendar:displayedAttributes</code>
</td>
<td>Allows displaying the value of one or more attributes in the calendar
like this:&nbsp;&nbsp;&nbsp;
like this:   
<br>
<br>
<img src="9_Calendar View_image.png">&nbsp;
<img src="9_Calendar View_image.png"> 
<br>
<br><code>#weight="70" #Mood="Good" #calendar:displayedAttributes="weight,Mood"</code>&nbsp;
<br><code>#weight="70" #Mood="Good" #calendar:displayedAttributes="weight,Mood"</code> 
<br>
<br>It can also be used with relations, case in which it will display the
title of the target note:&nbsp;&nbsp;
title of the target note:  
<br>
<br><code>~assignee=@My assignee #calendar:displayedAttributes="assignee"</code>
</td>
@ -253,8 +246,8 @@
</tr>
</tbody>
</table>
</figure>
<h2>How the calendar works</h2>
<h2>How the calendar works</h2>
<p>
<img src="11_Calendar View_image.png">
</p>
@ -302,13 +295,11 @@
be any label (make not to add the <code>#</code> prefix). The attribute can
also come through inheritance such as a template attribute. If the note
does not have the requested label, the title of the note will be used instead.</p>
<figure
class="table">
<table>
<thead>
<tr>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th> </th>
<th> </th>
</tr>
</thead>
<tbody>
@ -321,19 +312,18 @@
</tr>
</tbody>
</table>
</figure>
<h3>Using a relation attribute as event title</h3>
<h3>Using a relation attribute as event title</h3>
<p>Similarly to using an attribute, use <code>#calendar:title</code> and set
it to <code>name</code> where <code>name</code> is the name of the relation
to use.</p>
<p>Moreover, if there are more relations of the same name, they will be displayed
as multiple events coming from the same note.</p>
<figure class="table">
<table>
<thead>
<tr>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
@ -346,18 +336,16 @@
</tr>
</tbody>
</table>
</figure>
<p>Note that it's even possible to have a <code>#calendar:title</code> on the
target note (e.g. “John Smith”) which will try to render an attribute of
it. Note that it's not possible to use a relation here as well for safety
reasons (an accidental recursion &nbsp;of attributes could cause the application
reasons (an accidental recursion  of attributes could cause the application
to loop infinitely).</p>
<figure class="table">
<table>
<thead>
<tr>
<th>&nbsp;</th>
<th>&nbsp;</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
@ -370,7 +358,6 @@
</tr>
</tbody>
</table>
</figure>
</div>
</div>
</body>

View File

@ -65,7 +65,7 @@
them.</p>
<h2>Markdown support</h2>
<p>The Markdown syntax for admonitions as supported by Trilium is the one
that GitHub uses, which is as follows:</p><pre><code class="language-text-x-gfm">&gt; [!NOTE]
that GitHub uses, which is as follows:</p><pre><code class="language-text-x-trilium-auto">&gt; [!NOTE]
&gt; This is a note.
&gt; [!TIP]

View File

@ -9,6 +9,73 @@
<ul>
<li><a href="User%20Guide.html" target="detail">User Guide</a>
<ul>
<li>Advanced Usage
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Attributes.html" target="detail">Attributes</a>
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Attributes/Attribute%20Inheritance.html"
target="detail">Attribute Inheritance</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Attributes/Promoted%20Attributes.html"
target="detail">Promoted Attributes</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Attributes/Template.html" target="detail">Template</a>
</li>
</ul>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Relation%20Map.html" target="detail">Relation Map</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Note%20Map.html" target="detail">Note Map</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Sharing.html" target="detail">Sharing</a>
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Sharing/Serving%20directly%20the%20content%20o.html"
target="detail">Serving directly the content of a note</a>
</li>
</ul>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Advanced%20Showcases.html" target="detail">Advanced Showcases</a>
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Advanced%20Showcases/Day%20Notes.html"
target="detail">Day Notes</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Advanced%20Showcases/Weight%20Tracker.html"
target="detail">Weight Tracker</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Advanced%20Showcases/Task%20Manager.html"
target="detail">Task Manager</a>
</li>
</ul>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Custom%20Request%20Handler.html"
target="detail">Custom Request Handler</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Custom%20Resource%20Providers.html"
target="detail">Custom Resource Providers</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/ETAPI%20(REST%20API).html" target="detail">ETAPI (REST API)</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Default%20Note%20Title.html" target="detail">Default Note Title</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Database.html" target="detail">Database</a>
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Database/Manually%20altering%20the%20database.html"
target="detail">Manually altering the database</a>
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Database/Manually%20altering%20the%20database/SQL%20Console.html"
target="detail">SQL Console</a>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Configuration%20(config.ini%20or%20e.html"
target="detail">Configuration (config.ini or environment variables)</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Bulk%20actions.html" target="detail">Bulk actions</a>
</li>
</ul>
</li>
<li>Installation &amp; Setup
<ul>
<li><a href="User%20Guide/Installation%20%26%20Setup/Desktop%20Installation.html"
@ -235,73 +302,6 @@
</li>
</ul>
</li>
<li>Advanced Usage
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Attributes.html" target="detail">Attributes</a>
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Attributes/Attribute%20Inheritance.html"
target="detail">Attribute Inheritance</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Attributes/Promoted%20Attributes.html"
target="detail">Promoted Attributes</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Attributes/Template.html" target="detail">Template</a>
</li>
</ul>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Relation%20Map.html" target="detail">Relation Map</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Note%20Map.html" target="detail">Note Map</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Sharing.html" target="detail">Sharing</a>
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Sharing/Serving%20directly%20the%20content%20o.html"
target="detail">Serving directly the content of a note</a>
</li>
</ul>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Advanced%20Showcases.html" target="detail">Advanced Showcases</a>
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Advanced%20Showcases/Day%20Notes.html"
target="detail">Day Notes</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Advanced%20Showcases/Weight%20Tracker.html"
target="detail">Weight Tracker</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Advanced%20Showcases/Task%20Manager.html"
target="detail">Task Manager</a>
</li>
</ul>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Custom%20Request%20Handler.html"
target="detail">Custom Request Handler</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Custom%20Resource%20Providers.html"
target="detail">Custom Resource Providers</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/ETAPI%20(REST%20API).html" target="detail">ETAPI (REST API)</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Default%20Note%20Title.html" target="detail">Default Note Title</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Database.html" target="detail">Database</a>
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Database/Manually%20altering%20the%20database.html"
target="detail">Manually altering the database</a>
<ul>
<li><a href="User%20Guide/Advanced%20Usage/Database/Manually%20altering%20the%20database/SQL%20Console.html"
target="detail">SQL Console</a>
</li>
</ul>
</li>
</ul>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Configuration%20(config.ini%20or%20e.html"
target="detail">Configuration (config.ini or environment variables)</a>
</li>
<li><a href="User%20Guide/Advanced%20Usage/Bulk%20actions.html" target="detail">Bulk actions</a>
</li>
</ul>
</li>
<li>Theme development
<ul>
<li><a href="User%20Guide/Theme%20development/Creating%20a%20custom%20theme.html"

View File

@ -25,7 +25,6 @@
border-radius: 0.5em;
padding: 1em;
margin: 1.25em 0;
margin-right: 14px;
position: relative;
overflow: hidden;
}