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: Fix the remainder of hard-coded links to wiki
Elian Doran85eaf0cb52e0
diff --git a/src/public/app/services/frontend_script_api.js b/src/public/app/services/frontend_script_api.jsindex b031253700..f0e8cc30b4 100644--- a/src/public/app/services/frontend_script_api.js+++ b/src/public/app/services/frontend_script_api.js@@ -558,7 +558,7 @@ function FrontendScriptApi(startNote, currentNote, originEntity = null, $containthis.getYearNote = dateNotesService.getYearNote;/**- * Hoist note in the current tab. See https://github.com/zadam/trilium/wiki/Note-hoisting+ * Hoist note in the current tab. See https://github.com/TriliumNext/Docs/blob/main/Wiki/note-hoisting.md** @method* @param {string} noteId - set hoisted note. 'root' will effectively unhoistdiff --git a/src/public/app/widgets/attribute_widgets/attribute_detail.js b/src/public/app/widgets/attribute_widgets/attribute_detail.jsindex 0ffac8fd75..9cecf6bdcf 100644--- a/src/public/app/widgets/attribute_widgets/attribute_detail.js+++ b/src/public/app/widgets/attribute_widgets/attribute_detail.js@@ -245,7 +245,7 @@ const ATTR_HELP = {<li><code>Log for \${now.format('YYYY-MM-DD HH:mm:ss')}</code></li></ul>- See <a href="https://github.com/zadam/trilium/wiki/Default-note-title">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.`,+ 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.`,"template": "This note will appear in the selection of available template when creating new note","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","color": "defines color of the note in note tree, links etc. Use any valid CSS color value like 'red' or #a13d5f",diff --git a/src/public/app/widgets/dialogs/help.js b/src/public/app/widgets/dialogs/help.jsindex d3f8ecf4fa..2b39ef5c33 100644--- a/src/public/app/widgets/dialogs/help.js+++ b/src/public/app/widgets/dialogs/help.js@@ -23,7 +23,7 @@ const TPL = `<li><kbd>UP</kbd>, <kbd>DOWN</kbd> - go up/down in the list of notes</li><li><kbd>LEFT</kbd>, <kbd>RIGHT</kbd> - collapse/expand node</li><li><kbd data-command="backInNoteHistory">not set</kbd>, <kbd data-command="forwardInNoteHistory">not set</kbd> - go back / forwards in the history</li>- <li><kbd data-command="jumpToNote">not set</kbd> - show <a class="external" href="https://github.com/zadam/trilium/wiki/Note-navigation#jump-to-note">"Jump to" dialog</a></li>+ <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><li><kbd data-command="scrollToActiveNote">not set</kbd> - scroll to active note</li><li><kbd>Backspace</kbd> - jump to parent note</li><li><kbd data-command="collapseTree">not set</kbd> - collapse whole note tree</li>@@ -61,7 +61,7 @@ const TPL = `<ul><li><kbd data-command="createNoteAfter">not set</kbd> - create new note after the active note</li><li><kbd data-command="createNoteInto">not set</kbd> - create new sub-note into active note</li>- <li><kbd data-command="editBranchPrefix">not set</kbd> - edit <a class="external" href="https://github.com/zadam/trilium/wiki/Tree concepts#prefix">prefix</a> of active note clone</li>+ <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></ul></p></div>@@ -78,7 +78,7 @@ const TPL = `<li><kbd data-command="addNoteAboveToSelection">not set</kbd>, <kbd data-command="addNoteBelowToSelection">not set</kbd> - multi-select note above/below</li><li><kbd data-command="selectAllNotesInParent">not set</kbd> - select all notes in the current level</li><li><kbd>Shift+click</kbd> - select note</li>- <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/zadam/trilium/wiki/Cloning notes">cloning</a>)</li>+ <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><li><kbd data-command="cutNotesToClipboard">not set</kbd> - cut current (or current selection) note into clipboard (used for moving notes)</li><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><li><kbd data-command="deleteNotes">not set</kbd> - delete note / sub-tree</li>@@ -107,7 +107,7 @@ const TPL = `<div class="card"><div class="card-body">- <h5 class="card-title"><a class="external" href="https://github.com/zadam/trilium/wiki/Text-notes#autoformat">Markdown-like autoformatting</a></h5>+ <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><p class="card-text"><ul>diff --git a/src/public/app/widgets/shared_info.js b/src/public/app/widgets/shared_info.jsindex 72429272e5..560b4866a9 100644--- a/src/public/app/widgets/shared_info.js+++ b/src/public/app/widgets/shared_info.js@@ -13,7 +13,7 @@ const TPL = `}</style>- <span class="shared-text"></span> <a class="shared-link external"></a>. For help visit <a href="https://github.com/zadam/trilium/wiki/Sharing">wiki</a>.+ <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>.</div>`;export default class SharedInfoWidget extends NoteContextAwareWidget {diff --git a/src/public/app/widgets/type_widgets/book.js b/src/public/app/widgets/type_widgets/book.jsindex 4c6c54c336..5b7d615f26 100644--- a/src/public/app/widgets/type_widgets/book.js+++ b/src/public/app/widgets/type_widgets/book.js@@ -13,7 +13,7 @@ const TPL = `</style><div class="note-detail-book-empty-help alert alert-warning" style="margin: 50px; padding: 20px;">- This note of type Book doesn't have any child notes so there's nothing to display. See <a href="https://github.com/zadam/trilium/wiki/Book-note">wiki</a> for details.+ 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.</div></div>`;diff --git a/src/public/app/widgets/type_widgets/options/etapi.js b/src/public/app/widgets/type_widgets/options/etapi.jsindex a1e399711f..b96fd7b8b2 100644--- a/src/public/app/widgets/type_widgets/options/etapi.js+++ b/src/public/app/widgets/type_widgets/options/etapi.js@@ -8,7 +8,7 @@ const TPL = `<h4>ETAPI</h4><p>ETAPI is a REST API used to access Trilium instance programmatically, without UI. <br/>- See more details on <a href="https://github.com/zadam/trilium/wiki/ETAPI">wiki</a> and <a onclick="window.open('etapi/etapi.openapi.yaml')" href="etapi/etapi.openapi.yaml">ETAPI OpenAPI spec</a>.</p>+ 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><button type="button" class="create-etapi-token btn btn-sm">Create new ETAPI token</button>diff --git a/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.js b/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.jsindex 7bd6315c62..a959c5b7bb 100644--- a/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.js+++ b/src/public/app/widgets/type_widgets/options/other/revisions_snapshot_interval.js@@ -4,7 +4,7 @@ const TPL = `<div class="options-section"><h4>Note Revisions Snapshot Interval</h4>- <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/zadam/trilium/wiki/Note-revisions" class="external">wiki</a> for more info.</p>+ <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><div class="form-group"><label>Note revision snapshot time interval (in seconds)</label>diff --git a/src/public/app/widgets/type_widgets/options/password.js b/src/public/app/widgets/type_widgets/options/password.jsindex 783154718a..ca18cc2482 100644--- a/src/public/app/widgets/type_widgets/options/password.js+++ b/src/public/app/widgets/type_widgets/options/password.js@@ -37,7 +37,7 @@ const TPL = `<h4>Protected Session Timeout</h4><p>Protected session timeout is a time period after which the protected session is wiped from- the browser's memory. This is measured from the last interaction with protected notes. See <a href="https://github.com/zadam/trilium/wiki/Protected-notes" class="external">wiki</a> for more info.</p>+ 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><div class="form-group"><label>Protected session timeout (in seconds)</label>diff --git a/src/public/app/widgets/type_widgets/render.js b/src/public/app/widgets/type_widgets/render.jsindex 46784db37e..9c694385fd 100644--- a/src/public/app/widgets/type_widgets/render.js+++ b/src/public/app/widgets/type_widgets/render.js@@ -12,7 +12,7 @@ const TPL = `<div class="note-detail-render-help alert alert-warning" style="margin: 50px; padding: 20px;"><p><strong>This help note is shown because this note of type Render HTML doesn't have required relation to function properly.</strong></p>- <p>Render HTML note type is used for <a class="external" href="https://github.com/zadam/trilium/wiki/Scripts">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/zadam/trilium/wiki/Attributes">relation</a> called "renderNote" pointing to the HTML note to render.</p>+ <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></div><div class="note-detail-render-content"></div>diff --git a/src/services/backend_script_api.ts b/src/services/backend_script_api.tsindex 1c7c14e36f..0147cbec9a 100644--- a/src/services/backend_script_api.ts+++ b/src/services/backend_script_api.ts@@ -251,7 +251,7 @@ interface Api {*/sortNotes(parentNoteId: string, sortConfig: {/** 'title', 'dateCreated', 'dateModified' or a label name- * See {@link https://github.com/zadam/trilium/wiki/Sorting} for details. */+ * See {@link https://github.com/TriliumNext/Docs/blob/main/Wiki/sorting.md} for details. */sortBy?: string;reverse?: boolean;foldersFirst?: boolean;