Skip to content

Commit 85eaf0c

Browse files
committed
docs: Fix the remainder of hard-coded links to wiki
1 parent c1fcb10 commit 85eaf0c

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

src/public/app/services/frontend_script_api.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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/zadam/trilium/wiki/Note-hoisting
561+
* Hoist note in the current tab. See https://github.com/TriliumNext/Docs/blob/main/Wiki/note-hoisting.md
562562
*
563563
* @method
564564
* @param {string} noteId - set hoisted note. 'root' will effectively unhoist

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

Lines changed: 1 addition & 1 deletion
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/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.`,
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.`,
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

Lines changed: 4 additions & 4 deletions
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/zadam/trilium/wiki/Note-navigation#jump-to-note">"Jump to" dialog</a></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>
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/zadam/trilium/wiki/Tree concepts#prefix">prefix</a> of active note clone</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>
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/zadam/trilium/wiki/Cloning notes">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://github.com/TriliumNext/Docs/blob/main/Wiki/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/zadam/trilium/wiki/Text-notes#autoformat">Markdown-like autoformatting</a></h5>
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>
111111
112112
<p class="card-text">
113113
<ul>

src/public/app/widgets/shared_info.js

Lines changed: 1 addition & 1 deletion
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/zadam/trilium/wiki/Sharing">wiki</a>.
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>.
1717
</div>`;
1818

1919
export default class SharedInfoWidget extends NoteContextAwareWidget {

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

Lines changed: 1 addition & 1 deletion
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/zadam/trilium/wiki/Book-note">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://github.com/TriliumNext/Docs/blob/main/Wiki/book-note.md">wiki</a> for details.
1717
</div>
1818
</div>`;
1919

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

Lines changed: 1 addition & 1 deletion
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/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>
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>
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

Lines changed: 1 addition & 1 deletion
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/zadam/trilium/wiki/Note-revisions" 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://github.com/TriliumNext/Docs/blob/main/Wiki/note-revisions.md" 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

Lines changed: 1 addition & 1 deletion
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/zadam/trilium/wiki/Protected-notes" 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://github.com/TriliumNext/Docs/blob/main/Wiki/protected-notes.md" 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

Lines changed: 1 addition & 1 deletion
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/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>
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>
1616
</div>
1717
1818
<div class="note-detail-render-content"></div>

src/services/backend_script_api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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/zadam/trilium/wiki/Sorting} for details. */
254+
* See {@link https://github.com/TriliumNext/Docs/blob/main/Wiki/sorting.md} for details. */
255255
sortBy?: string;
256256
reverse?: boolean;
257257
foldersFirst?: boolean;

0 commit comments

Comments
 (0)