Skip to content

Commit 280f9a9

Browse files
committed
docs: Use nicer links to Wiki
1 parent e2bdfbb commit 280f9a9

File tree

11 files changed

+18
-18
lines changed

11 files changed

+18
-18
lines changed

src/etapi/etapi.openapi.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ paths:
4848
- name: search
4949
in: query
5050
required: true
51-
description: search query string as described in https://github.com/TriliumNext/Docs/blob/main/Wiki/search.md
51+
description: search query string as described in https://triliumnext.github.io/Docs/Wiki/search.html
5252
schema:
5353
type: string
5454
examples:

src/public/app/services/frontend_script_api.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
249249

250250
/**
251251
* This is a powerful search method - you can search by attributes and their values, e.g.:
252-
* "#dateModified =* MONTH AND #log". See full documentation for all options at: https://github.com/TriliumNext/Docs/blob/main/Wiki/search.md
252+
* "#dateModified =* MONTH AND #log". See full documentation for all options at: https://triliumnext.github.io/Docs/Wiki/search.html
253253
*
254254
* @method
255255
* @param {string} searchString
@@ -261,7 +261,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
261261

262262
/**
263263
* This is a powerful search method - you can search by attributes and their values, e.g.:
264-
* "#dateModified =* MONTH AND #log". See full documentation for all options at: https://github.com/TriliumNext/Docs/blob/main/Wiki/search.md
264+
* "#dateModified =* MONTH AND #log". See full documentation for all options at: https://triliumnext.github.io/Docs/Wiki/search.html
265265
*
266266
* @method
267267
* @param {string} searchString
@@ -558,7 +558,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $contain
558558
this.getYearNote = dateNotesService.getYearNote;
559559

560560
/**
561-
* Hoist note in the current tab. See https://github.com/TriliumNext/Docs/blob/main/Wiki/note-hoisting.md
561+
* Hoist note in the current tab. See https://triliumnext.github.io/Docs/Wiki/note-hoisting.html
562562
*
563563
* @method
564564
* @param {string} noteId - set hoisted note. 'root' will effectively unhoist

src/public/app/widgets/attribute_widgets/attribute_detail.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ const ATTR_HELP = {
245245
<li><code>Log for \${now.format('YYYY-MM-DD HH:mm:ss')}</code></li>
246246
</ul>
247247
248-
See <a href="https://github.com/TriliumNext/Docs/blob/main/Wiki/default-note-title.md">wiki with details</a>, API docs for <a href="https://zadam.github.io/trilium/backend_api/Note.html">parentNote</a> and <a href="https://day.js.org/docs/en/display/format">now</a> for details.`,
248+
See <a href="https://triliumnext.github.io/Docs/Wiki/default-note-title.html">wiki with details</a>, API docs for <a href="https://zadam.github.io/trilium/backend_api/Note.html">parentNote</a> and <a href="https://day.js.org/docs/en/display/format">now</a> for details.`,
249249
"template": "This note will appear in the selection of available template when creating new note",
250250
"toc": "<code>#toc</code> or <code>#toc=show</code> will force the Table of Contents to be shown, <code>#toc=hide</code> will force hiding it. If the label doesn't exist, the global setting is observed",
251251
"color": "defines color of the note in note tree, links etc. Use any valid CSS color value like 'red' or #a13d5f",

src/public/app/widgets/dialogs/help.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const TPL = `
2323
<li><kbd>UP</kbd>, <kbd>DOWN</kbd> - go up/down in the list of notes</li>
2424
<li><kbd>LEFT</kbd>, <kbd>RIGHT</kbd> - collapse/expand node</li>
2525
<li><kbd data-command="backInNoteHistory">not set</kbd>, <kbd data-command="forwardInNoteHistory">not set</kbd> - go back / forwards in the history</li>
26-
<li><kbd data-command="jumpToNote">not set</kbd> - show <a class="external" href="https://github.com/TriliumNext/Docs/blob/main/Wiki/note-navigation.md#jump-to-note">"Jump to" dialog</a></li>
26+
<li><kbd data-command="jumpToNote">not set</kbd> - show <a class="external" href="https://triliumnext.github.io/Docs/Wiki/note-navigation.html#jump-to-note">"Jump to" dialog</a></li>
2727
<li><kbd data-command="scrollToActiveNote">not set</kbd> - scroll to active note</li>
2828
<li><kbd>Backspace</kbd> - jump to parent note</li>
2929
<li><kbd data-command="collapseTree">not set</kbd> - collapse whole note tree</li>
@@ -61,7 +61,7 @@ const TPL = `
6161
<ul>
6262
<li><kbd data-command="createNoteAfter">not set</kbd> - create new note after the active note</li>
6363
<li><kbd data-command="createNoteInto">not set</kbd> - create new sub-note into active note</li>
64-
<li><kbd data-command="editBranchPrefix">not set</kbd> - edit <a class="external" href="https://github.com/TriliumNext/Docs/blob/main/Wiki/tree-concepts.md#prefix">prefix</a> of active note clone</li>
64+
<li><kbd data-command="editBranchPrefix">not set</kbd> - edit <a class="external" href="https://triliumnext.github.io/Docs/Wiki/tree-concepts.html#prefix">prefix</a> of active note clone</li>
6565
</ul>
6666
</p>
6767
</div>
@@ -78,7 +78,7 @@ const TPL = `
7878
<li><kbd data-command="addNoteAboveToSelection">not set</kbd>, <kbd data-command="addNoteBelowToSelection">not set</kbd> - multi-select note above/below</li>
7979
<li><kbd data-command="selectAllNotesInParent">not set</kbd> - select all notes in the current level</li>
8080
<li><kbd>Shift+click</kbd> - select note</li>
81-
<li><kbd data-command="copyNotesToClipboard">not set</kbd> - copy active note (or current selection) into clipboard (used for <a class="external" href="https://github.com/TriliumNext/Docs/blob/main/Wiki/cloning-notes.md">cloning</a>)</li>
81+
<li><kbd data-command="copyNotesToClipboard">not set</kbd> - copy active note (or current selection) into clipboard (used for <a class="external" href="https://triliumnext.github.io/Docs/Wiki/cloning-notes.html#cloning-notes.md">cloning</a>)</li>
8282
<li><kbd data-command="cutNotesToClipboard">not set</kbd> - cut current (or current selection) note into clipboard (used for moving notes)</li>
8383
<li><kbd data-command="pasteNotesFromClipboard">not set</kbd> - paste note(s) as sub-note into active note (which is either move or clone depending on whether it was copied or cut into clipboard)</li>
8484
<li><kbd data-command="deleteNotes">not set</kbd> - delete note / sub-tree</li>
@@ -107,7 +107,7 @@ const TPL = `
107107
108108
<div class="card">
109109
<div class="card-body">
110-
<h5 class="card-title"><a class="external" href="https://github.com/TriliumNext/Docs/blob/main/Wiki/text-notes.md#markdown--autoformat">Markdown-like autoformatting</a></h5>
110+
<h5 class="card-title"><a class="external" href="https://triliumnext.github.io/Docs/Wiki/text-notes.html#markdown--autoformat">Markdown-like autoformatting</a></h5>
111111
112112
<p class="card-text">
113113
<ul>

src/public/app/widgets/shared_info.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const TPL = `
1313
}
1414
</style>
1515
16-
<span class="shared-text"></span> <a class="shared-link external"></a>. For help visit <a href="https://github.com/TriliumNext/Docs/blob/main/Wiki/sharing.md">wiki</a>.
16+
<span class="shared-text"></span> <a class="shared-link external"></a>. For help visit <a href="https://triliumnext.github.io/Docs/Wiki/sharing.html">wiki</a>.
1717
</div>`;
1818

1919
export default class SharedInfoWidget extends NoteContextAwareWidget {

src/public/app/widgets/type_widgets/book.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const TPL = `
1313
</style>
1414
1515
<div class="note-detail-book-empty-help alert alert-warning" style="margin: 50px; padding: 20px;">
16-
This note of type Book doesn't have any child notes so there's nothing to display. See <a href="https://github.com/TriliumNext/Docs/blob/main/Wiki/book-note.md">wiki</a> for details.
16+
This note of type Book doesn't have any child notes so there's nothing to display. See <a href="https://triliumnext.github.io/Docs/Wiki/book-note.html">wiki</a> for details.
1717
</div>
1818
</div>`;
1919

src/public/app/widgets/type_widgets/options/etapi.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const TPL = `
88
<h4>ETAPI</h4>
99
1010
<p>ETAPI is a REST API used to access Trilium instance programmatically, without UI. <br/>
11-
See more details on <a href="https://github.com/TriliumNext/Docs/blob/main/Wiki/etapi.md">wiki</a> and <a onclick="window.open('etapi/etapi.openapi.yaml')" href="etapi/etapi.openapi.yaml">ETAPI OpenAPI spec</a>.</p>
11+
See more details on <a href="https://triliumnext.github.io/Docs/Wiki/etapi.html">wiki</a> and <a onclick="window.open('etapi/etapi.openapi.yaml')" href="etapi/etapi.openapi.yaml">ETAPI OpenAPI spec</a>.</p>
1212
1313
<button type="button" class="create-etapi-token btn btn-sm">Create new ETAPI token</button>
1414

src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ const TPL = `
44
<div class="options-section">
55
<h4>Note Revisions Snapshot Interval</h4>
66
7-
<p>Note revision snapshot time interval is time in seconds after which a new note revision will be created for the note. See <a href="https://github.com/TriliumNext/Docs/blob/main/Wiki/note-revisions.md" class="external">wiki</a> for more info.</p>
7+
<p>Note revision snapshot time interval is time in seconds after which a new note revision will be created for the note. See <a href="https://triliumnext.github.io/Docs/Wiki/note-revisions.html" class="external">wiki</a> for more info.</p>
88
99
<div class="form-group">
1010
<label>Note revision snapshot time interval (in seconds)</label>

src/public/app/widgets/type_widgets/options/password.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const TPL = `
3737
<h4>Protected Session Timeout</h4>
3838
3939
<p>Protected session timeout is a time period after which the protected session is wiped from
40-
the browser's memory. This is measured from the last interaction with protected notes. See <a href="https://github.com/TriliumNext/Docs/blob/main/Wiki/protected-notes.md" class="external">wiki</a> for more info.</p>
40+
the browser's memory. This is measured from the last interaction with protected notes. See <a href="https://triliumnext.github.io/Docs/Wiki/protected-notes.html" class="external">wiki</a> for more info.</p>
4141
4242
<div class="form-group">
4343
<label>Protected session timeout (in seconds)</label>

src/public/app/widgets/type_widgets/render.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const TPL = `
1212
<div class="note-detail-render-help alert alert-warning" style="margin: 50px; padding: 20px;">
1313
<p><strong>This help note is shown because this note of type Render HTML doesn't have required relation to function properly.</strong></p>
1414
15-
<p>Render HTML note type is used for <a class="external" href="https://github.com/TriliumNext/Docs/blob/main/Wiki/scripts.md">scripting</a>. In short, you have a HTML code note (optionally with some JavaScript) and this note will render it. To make it work, you need to define a <a class="external" href="https://github.com/TriliumNext/Docs/blob/main/Wiki/attributes.md">relation</a> called "renderNote" pointing to the HTML note to render.</p>
15+
<p>Render HTML note type is used for <a class="external" href="https://triliumnext.github.io/Docs/Wiki/scripts.html">scripting</a>. In short, you have a HTML code note (optionally with some JavaScript) and this note will render it. To make it work, you need to define a <a class="external" href="https://triliumnext.github.io/Docs/Wiki/attributes.html">relation</a> called "renderNote" pointing to the HTML note to render.</p>
1616
</div>
1717
1818
<div class="note-detail-render-content"></div>

src/services/backend_script_api.ts

+3-3
Original file line numberDiff line numberDiff line change
@@ -114,13 +114,13 @@ interface Api {
114114

115115
/**
116116
* This is a powerful search method - you can search by attributes and their values, e.g.:
117-
* "#dateModified =* MONTH AND #log". See {@link https://github.com/TriliumNext/Docs/blob/main/Wiki/search.md} for full documentation for all options
117+
* "#dateModified =* MONTH AND #log". See {@link https://triliumnext.github.io/Docs/Wiki/search.html} for full documentation for all options
118118
*/
119119
searchForNotes(query: string, searchParams: SearchParams): BNote[];
120120

121121
/**
122122
* This is a powerful search method - you can search by attributes and their values, e.g.:
123-
* "#dateModified =* MONTH AND #log". See {@link https://github.com/TriliumNext/Docs/blob/main/Wiki/search.md} for full documentation for all options
123+
* "#dateModified =* MONTH AND #log". See {@link https://triliumnext.github.io/Docs/Wiki/search.html} for full documentation for all options
124124
*/
125125
searchForNote(query: string, searchParams: SearchParams): BNote | null;
126126

@@ -251,7 +251,7 @@ interface Api {
251251
*/
252252
sortNotes(parentNoteId: string, sortConfig: {
253253
/** 'title', 'dateCreated', 'dateModified' or a label name
254-
* See {@link https://github.com/TriliumNext/Docs/blob/main/Wiki/sorting.md} for details. */
254+
* See {@link https://triliumnext.github.io/Docs/Wiki/sorting.html} for details. */
255255
sortBy?: string;
256256
reverse?: boolean;
257257
foldersFirst?: boolean;

0 commit comments

Comments
 (0)