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
refactor(docs): drop the HTML export, derive help meta from markdown
Elian Dorandb581e4eeb6a
diff --git a/apps/edit-docs/src/edit-docs.ts b/apps/edit-docs/src/edit-docs.tsindex 9e024228dd..3b64be2351 100644--- a/apps/edit-docs/src/edit-docs.ts+++ b/apps/edit-docs/src/edit-docs.ts@@ -1,21 +1,26 @@import debounce from "@triliumnext/client/src/services/debounce.js";-import type { AdvancedExportOptions, ExportFormat, NoteMeta, NoteMetaFile } from "@triliumnext/core";+import type { NoteMeta, NoteMetaFile } from "@triliumnext/core";import { cls } from "@triliumnext/core";-import { parseNoteMetaFile, serverTextNoteHandler, standaloneTextNoteHandler } from "./help_meta_generator.js";+import { buildHelpMeta } from "./help_meta_generator.js";import fs from "fs/promises";import { load } from "js-yaml";import path from "path";import packageJson from "../package.json" with { type: "json" };-import { extractZip, importData, initializeEditDocsCore, rewriteHelpLinks, startElectron } from "./utils.js";+import { extractZip, importData, initializeEditDocsCore, startElectron } from "./utils.js";interface NoteMapping {rootNoteId: string;path: string;- format: "markdown" | "html";+ format: "markdown";ignoredFiles?: string[];exportOnly?: boolean;+ /**+ * Where to write the in-app help tree derived from this mapping's export, if it is the one+ * backing the User Guide. Relative to the configuration file.+ */+ helpMeta?: string;}interface Config {@@ -105,7 +110,8 @@ async function loadConfig() {const CONFIG_DIR = path.dirname(CONFIG_PATH);NOTE_MAPPINGS = config.noteMappings.map((mapping) => ({...mapping,- path: path.resolve(CONFIG_DIR, mapping.path)+ path: path.resolve(CONFIG_DIR, mapping.path),+ helpMeta: mapping.helpMeta ? path.resolve(CONFIG_DIR, mapping.helpMeta) : undefined}));}@@ -150,7 +156,9 @@ async function setOptions() {optionsService.setOption("openNoteContexts", JSON.stringify([{ notePath: startNoteId, active: true }]));}-async function exportData(noteId: string, format: ExportFormat, outputPath: string, ignoredFiles?: Set<string>) {+async function exportData(mapping: NoteMapping) {+ const { path: outputPath, ignoredFiles: ignoredFileNames } = mapping;+ const ignoredFiles = ignoredFileNames ? new Set(ignoredFileNames) : undefined;const zipFilePath = "output.zip";try {@@ -160,60 +168,20 @@ async function exportData(noteId: string, format: ExportFormat, outputPath: stri// First export as zip.const { zipExportService } = (await import("@triliumnext/core"));- const exportOpts: AdvancedExportOptions = {};- if (format === "html") {- exportOpts.skipHtmlTemplate = true;- exportOpts.customRewriteLinks = (originalRewriteLinks, getNoteTargetUrl) => {- return (content: string, noteMeta: NoteMeta) => {- content = content.replace(/src="[^"]*api\/images\/([a-zA-Z0-9_]+)\/[^"]*"/g, (match, targetNoteId) => {- const url = getNoteTargetUrl(targetNoteId, noteMeta);-- return url ? `src="${url}"` : match;- });-- content = content.replace(/src="[^"]*api\/attachments\/([a-zA-Z0-9_]+)\/image\/[^"]*"/g, (match, targetAttachmentId) => {- const url = findAttachment(targetAttachmentId);-- return url ? `src="${url}"` : match;- });-- content = content.replace(/href="[^"]*#root[^"]*attachmentId=([a-zA-Z0-9_]+)\/?"/g, (match, targetAttachmentId) => {- const url = findAttachment(targetAttachmentId);-- return url ? `href="${url}"` : match;- });-- content = rewriteHelpLinks(content);-- return content;-- function findAttachment(targetAttachmentId: string) {- let url;-- const attachmentMeta = (noteMeta.attachments || []).find((attMeta) => attMeta.attachmentId === targetAttachmentId);- if (attachmentMeta) {- // easy job here, because attachment will be in the same directory as the note's data file.- url = attachmentMeta.dataFileName;- } else {- console.info(`Could not find attachment meta object for attachmentId '${targetAttachmentId}'`);- }- return url;- }- };- };- }-- await zipExportService.exportToZipFile(noteId, format, zipFilePath, exportOpts);+ await zipExportService.exportToZipFile(mapping.rootNoteId, mapping.format, zipFilePath, {});await extractZip(zipFilePath, outputPath, ignoredFiles);} finally {await fs.rm(zipFilePath, { force: true });}- const minifyMeta = (format === "html" || format === "share");- await cleanUpMeta(outputPath, minifyMeta);+ await cleanUpMeta(outputPath, mapping.helpMeta);}-async function cleanUpMeta(outputPath: string, minify: boolean) {+/**+ * Normalizes the freshly exported `!!!meta.json` so it doesn't churn between runs, and — for the+ * mapping that declares a `helpMeta` output — derives the in-app help tree from it.+ */+async function cleanUpMeta(outputPath: string, helpMetaPath?: string) {const metaPath = path.join(outputPath, "!!!meta.json");const meta = JSON.parse(await fs.readFile(metaPath, "utf-8")) as NoteMetaFile;for (const file of meta.files) {@@ -227,28 +195,14 @@ async function cleanUpMeta(outputPath: string, minify: boolean) {}el.isExpanded = false;-- // Rewrite web view URLs that point to root.- if (el.type === "webView" && minify) {- const srcAttr = el.attributes.find(attr => attr.name === "webViewSrc");- if (srcAttr.value.startsWith("/")) {- srcAttr.value = BASE_URL + srcAttr.value;- }- }}- if (minify) {- const subtree = parseNoteMetaFile(meta, serverTextNoteHandler, BASE_URL);- await fs.writeFile(metaPath, JSON.stringify(subtree));+ await fs.writeFile(metaPath, JSON.stringify(meta, null, 4));- // Generate standalone meta: webView-based, pointing to online docs.- const standaloneSubtree = parseNoteMetaFile(meta, standaloneTextNoteHandler, BASE_URL);- const standaloneMetaPath = path.resolve(__dirname, "../../standalone/src/assets/help_meta.json");- await fs.writeFile(standaloneMetaPath, JSON.stringify(standaloneSubtree));- } else {- await fs.writeFile(metaPath, JSON.stringify(meta, null, 4));+ if (helpMetaPath) {+ await fs.mkdir(path.dirname(helpMetaPath), { recursive: true });+ await fs.writeFile(helpMetaPath, JSON.stringify(buildHelpMeta(meta, BASE_URL), null, 4));}-}async function registerHandlers() {@@ -258,8 +212,7 @@ async function registerHandlers() {eraseService.eraseUnusedAttachmentsNow();for (const mapping of NOTE_MAPPINGS) {- const ignoredFiles = mapping.ignoredFiles ? new Set(mapping.ignoredFiles) : undefined;- await exportData(mapping.rootNoteId, mapping.format, mapping.path, ignoredFiles);+ await exportData(mapping);}}, 10_000);events.subscribe(events.ENTITY_CHANGED, async (e) => {diff --git a/apps/edit-docs/src/help_meta_generator.spec.ts b/apps/edit-docs/src/help_meta_generator.spec.tsindex 5078b2164d..a078dc1c0c 100644--- a/apps/edit-docs/src/help_meta_generator.spec.ts+++ b/apps/edit-docs/src/help_meta_generator.spec.ts@@ -1,308 +1,145 @@-import type { HiddenSubtreeItem } from "@triliumnext/commons";+import type { HelpMetaItem } from "@triliumnext/commons";import type { NoteMeta } from "@triliumnext/core";import { describe, expect, it } from "vitest";-import { parseNoteMetaFile, serverTextNoteHandler, standaloneTextNoteHandler } from "./help_meta_generator.js";--describe("Help meta generation (server)", () => {- it("preserves custom folder icon", () => {- const child: NoteMeta = {- isClone: false,- noteId: "yoAe4jV2yzbd",- notePath: [ "OkOZllzB3fqN", "yoAe4jV2yzbd" ],- title: "Features",- notePosition: 40,- prefix: null,- isExpanded: false,- type: "text",- mime: "text/html",- attributes: [- { type: "label", name: "iconClass", value: "bx bx-star", isInheritable: false, position: 10 }- ],- format: "html",- attachments: [],- dirFileName: "Features",- children: []- };- const root: NoteMeta = {- isClone: false, noteId: "root", notePath: ["root"], title: "Root",- notePosition: 1, prefix: null, isExpanded: false, type: "text",- mime: "text/html", attributes: [], format: "html", attachments: [],- dirFileName: "Root", children: [child]- };-- const metaFile = { formatVersion: 2, appVersion: "0.103.0", files: [root] };- const items = parseNoteMetaFile(metaFile, serverTextNoteHandler);- const icon = items[0]?.attributes?.find((a) => a.name === "iconClass");- expect(icon?.value).toBe("bx bx-star");+import { buildHelpMeta } from "./help_meta_generator.js";++const BASE_URL = "https://docs.triliumnotes.org";++/** Wraps the given notes in a "User Guide" export root, mirroring the real markdown export. */+function metaFileOf(children: NoteMeta[], rootAttributes: NoteMeta["attributes"] = []): { formatVersion: number; appVersion: string; files: NoteMeta[] } {+ const root: NoteMeta = {+ isClone: false, noteId: "root", notePath: ["root"], title: "User Guide",+ notePosition: 1, prefix: null, isExpanded: false, type: "text", mime: "text/html",+ attributes: rootAttributes, format: "markdown", attachments: [],+ dataFileName: "User Guide.md", dirFileName: "User Guide", children+ };+ return { formatVersion: 2, appVersion: "0.103.0", files: [root] };+}++const labelOf = (item: HelpMetaItem | undefined, name: string) =>+ item?.attributes?.find((a) => a.name === name)?.value;++describe("buildHelpMeta", () => {+ it("resolves structure, icons and content sources", () => {+ const page: NoteMeta = {+ isClone: false, noteId: "text1", title: "Text", type: "text", mime: "text/html",+ attributes: [{ type: "label", name: "iconClass", value: "bx bx-star", isInheritable: false, position: 10 }],+ format: "markdown", dataFileName: "Text.md", children: []+ };+ const folder: NoteMeta = {+ isClone: false, noteId: "types", title: "Note Types", type: "text", mime: "text/html",+ attributes: [], format: "markdown", dirFileName: "Note Types", children: [page]+ };++ const items = buildHelpMeta(metaFileOf([folder]));+ const folderItem = items[0];+ const pageItem = folderItem?.children?.[0];++ // A note with no data file of its own is a folder, and carries no source.+ expect(folderItem?.id).toBe("_help_types");+ expect(folderItem?.type).toBe("book");+ expect(folderItem?.source).toBeUndefined();+ expect(labelOf(folderItem, "iconClass")).toBe("bx bx-folder");++ // Sources are relative to the export directory, which already is the root note's folder,+ // so the root contributes exactly one path segment.+ expect(pageItem?.id).toBe("_help_text1");+ expect(pageItem?.type).toBe("text");+ expect(pageItem?.source).toBe("User Guide/Note Types/Text.md");+ expect(labelOf(pageItem, "iconClass")).toBe("bx bx-star");});- it("resolves a cloned note's iconClass and docName to the primary occurrence", () => {+ it("resolves a clone's icon and source to the primary occurrence", () => {// The same note is placed under two folders: a primary occurrence (isClone:false) carrying- // a custom icon, and a clone (isClone:true) with no attributes and a ".clone" data file.- // Both occurrences map to the same noteId, so the runtime hidden-subtree check enforces one- // set of attributes; if the generator emits different iconClass/docName per occurrence, that- // check flip-flops them on every run. The clone must therefore inherit the primary's values.+ // a custom icon and the real file, and a clone (isClone:true) with no attributes and a+ // ".clone" data file. Both are the same note, so both must describe it identically —+ // otherwise the clone would point at a file that only exists to satisfy the export.const primary: NoteMeta = {isClone: false, noteId: "nix", title: "Nix flake", type: "text", mime: "text/html",attributes: [{ type: "label", name: "iconClass", value: "bx bxl-tux", isInheritable: false, position: 10 }],- format: "html", dataFileName: "Nix flake.html", children: []+ format: "markdown", dataFileName: "Nix flake.md", children: []};const clone: NoteMeta = {isClone: true, noteId: "nix", title: "Nix flake", type: "text", mime: "text/html",- format: "html", dataFileName: "Nix flake.clone.html", children: []+ format: "markdown", dataFileName: "Nix flake.clone.md", children: []};const desktop: NoteMeta = {isClone: false, noteId: "desktop", title: "Desktop Installation", type: "text", mime: "text/html",- attributes: [], format: "html", dirFileName: "Desktop Installation", children: [primary]+ attributes: [], format: "markdown", dirFileName: "Desktop Installation", children: [primary]};const server: NoteMeta = {isClone: false, noteId: "server", title: "Server Installation", type: "text", mime: "text/html",- attributes: [], format: "html", dirFileName: "Server Installation", children: [clone]- };- const root: NoteMeta = {- isClone: false, noteId: "root", title: "User Guide", type: "text", mime: "text/html",- attributes: [], format: "html", dirFileName: "User Guide", children: [desktop, server]+ attributes: [], format: "markdown", dirFileName: "Server Installation", children: [clone]};- const metaFile = { formatVersion: 2, appVersion: "0.103.0", files: [root] };- const items = parseNoteMetaFile(metaFile, serverTextNoteHandler);-+ const items = buildHelpMeta(metaFileOf([desktop, server]));const primaryItem = items.find((i) => i.id === "_help_desktop")?.children?.[0];const cloneItem = items.find((i) => i.id === "_help_server")?.children?.[0];+expect(primaryItem?.id).toBe("_help_nix");expect(cloneItem?.id).toBe("_help_nix");-- const iconOf = (it?: HiddenSubtreeItem) => it?.attributes?.find((a) => a.name === "iconClass")?.value;- const docNameOf = (it?: HiddenSubtreeItem) => it?.attributes?.find((a) => a.name === "docName")?.value;-- // The clone inherits the primary's custom icon rather than falling back to "bx bx-file".- expect(iconOf(primaryItem)).toBe("bx bxl-tux");- expect(iconOf(cloneItem)).toBe("bx bxl-tux");- // Both point at the same documentation file (the primary's), not the clone's ".clone" path.- expect(docNameOf(cloneItem)).toBe(docNameOf(primaryItem));+ expect(labelOf(cloneItem, "iconClass")).toBe("bx bxl-tux");+ expect(cloneItem?.source).toBe("User Guide/Desktop Installation/Nix flake.md");+ expect(cloneItem?.source).toBe(primaryItem?.source);});- it("generates docUrl from shareAlias when baseUrl is provided", () => {- const meta: NoteMeta = {- isClone: false,- noteId: "rootNote123",- notePath: [ "rootNote123" ],- title: "User Guide",- notePosition: 1,- prefix: null,- isExpanded: false,- type: "text",- mime: "text/html",- attributes: [- { type: "label", name: "shareAlias", value: "user-guide", isInheritable: false, position: 10 }- ],- format: "html",- dataFileName: "User Guide.html",- dirFileName: "User Guide",- attachments: [],- children: [- {- isClone: false,- noteId: "childNote456",- notePath: [ "rootNote123", "childNote456" ],- title: "Feature Highlights",- notePosition: 10,- prefix: null,- isExpanded: false,- type: "text",- mime: "text/html",- attributes: [- { type: "label", name: "shareAlias", value: "feature-highlights", isInheritable: false, position: 10 }- ],- format: "html",- dataFileName: "Feature Highlights.html",- attachments: [],- children: []- }- ]+ it("derives docUrl from the share alias chain, and only when a base URL is given", () => {+ const page: NoteMeta = {+ isClone: false, noteId: "highlights", title: "Feature Highlights", type: "text", mime: "text/html",+ attributes: [{ type: "label", name: "shareAlias", value: "feature-highlights", isInheritable: false, position: 10 }],+ format: "markdown", dataFileName: "Feature Highlights.md", children: []};+ const rootAlias: NoteMeta["attributes"] = [+ { type: "label", name: "shareAlias", value: "user-guide", isInheritable: false, position: 10 }+ ];- const metaFile = { formatVersion: 2, appVersion: "0.103.0", files: [meta] };- const items = parseNoteMetaFile(metaFile, serverTextNoteHandler, "https://docs.triliumnotes.org");+ const withBase = buildHelpMeta(metaFileOf([page], rootAlias), BASE_URL);+ expect(labelOf(withBase[0], "docUrl")).toBe("https://docs.triliumnotes.org/user-guide/feature-highlights");- const child = items[0];- const docUrl = child?.attributes?.find((a) => a.name === "docUrl");- expect(docUrl?.value).toBe("https://docs.triliumnotes.org/user-guide/feature-highlights");+ const withoutBase = buildHelpMeta(metaFileOf([page], rootAlias));+ expect(labelOf(withoutBase[0], "docUrl")).toBeUndefined();});- it("omits docUrl when no baseUrl is provided", () => {- const meta: NoteMeta = {- isClone: false,- noteId: "rootNote123",- notePath: [ "rootNote123" ],- title: "User Guide",- notePosition: 1,- prefix: null,- isExpanded: false,- type: "text",- mime: "text/html",- attributes: [- { type: "label", name: "shareAlias", value: "user-guide", isInheritable: false, position: 10 }- ],- format: "html",- dataFileName: "User Guide.html",- dirFileName: "User Guide",- attachments: [],- children: [- {- isClone: false,- noteId: "childNote456",- notePath: [ "rootNote123", "childNote456" ],- title: "Feature Highlights",- notePosition: 10,- prefix: null,- isExpanded: false,- type: "text",- mime: "text/html",- attributes: [- { type: "label", name: "shareAlias", value: "feature-highlights", isInheritable: false, position: 10 }- ],- format: "html",- dataFileName: "Feature Highlights.html",- attachments: [],- children: []- }- ]+ it("keeps web views pointing at the online docs and gives them no source", () => {+ const embedded: NoteMeta = {+ isClone: false, noteId: "embedded", title: "Embedded", type: "webView", mime: "",+ attributes: [{ type: "label", name: "webViewSrc", value: "/user-guide/embedded", isInheritable: false, position: 10 }],+ format: "markdown", dataFileName: "Embedded.md", children: []};- const metaFile = { formatVersion: 2, appVersion: "0.103.0", files: [meta] };- const items = parseNoteMetaFile(metaFile, serverTextNoteHandler);-- const child = items[0];- const docUrl = child?.attributes?.find((a) => a.name === "docUrl");- expect(docUrl).toBeUndefined();- });-- it("hides note that is hidden from share tree", () => {- const meta: NoteMeta = {- isClone: false,- noteId: "yoAe4jV2yzbd",- notePath: [ "OkOZllzB3fqN", "yoAe4jV2yzbd" ],- title: "Features",- notePosition: 40,- prefix: null,- isExpanded: false,- type: "text",- mime: "text/html",- attributes: [- { type: "label", name: "shareHiddenFromTree", value: "", isInheritable: false, position: 10 }- ],- format: "html",- attachments: [],- dirFileName: "Features",- children: []- };+ const items = buildHelpMeta(metaFileOf([embedded]), BASE_URL);- const metaFile = { formatVersion: 2, appVersion: "0.103.0", files: [meta] };- const items = parseNoteMetaFile(metaFile, serverTextNoteHandler);- expect(items).toHaveLength(0);+ expect(items[0]?.type).toBe("webView");+ expect(items[0]?.source).toBeUndefined();+ // Root-relative sources are stored that way in the notes; the docs origin is applied here.+ expect(labelOf(items[0], "webViewSrc")).toBe("https://docs.triliumnotes.org/user-guide/embedded");});-});-describe("Help meta generation (standalone)", () => {- it("converts text notes with URL to webView", () => {- const child: NoteMeta = {- isClone: false,- noteId: "childNote456",- notePath: [ "rootNote123", "childNote456" ],- title: "Feature Highlights",- notePosition: 10,- prefix: null,- isExpanded: false,- type: "text",- mime: "text/html",- attributes: [- { type: "label", name: "shareAlias", value: "feature-highlights", isInheritable: false, position: 10 }- ],- format: "html",- dataFileName: "Feature Highlights.html",- attachments: [],- children: []- };- const root: NoteMeta = {- isClone: false, noteId: "root", notePath: ["root"], title: "Root",- notePosition: 1, prefix: null, isExpanded: false, type: "text",- mime: "text/html", attributes: [- { type: "label", name: "shareAlias", value: "root", isInheritable: false, position: 10 }- ], format: "html", attachments: [],- dirFileName: "Root", children: [child]+ it("keeps the mime of code notes so their content is not treated as markdown", () => {+ const script: NoteMeta = {+ isClone: false, noteId: "script", title: "Example", type: "code", mime: "application/javascript;env=backend",+ attributes: [], format: "markdown", dataFileName: "Example.js", children: []};- const metaFile = { formatVersion: 2, appVersion: "0.103.0", files: [root] };- const items = parseNoteMetaFile(metaFile, standaloneTextNoteHandler, "https://docs.triliumnotes.org");+ const items = buildHelpMeta(metaFileOf([script]));- expect(items).toHaveLength(1);- expect(items[0].type).toBe("webView");- expect(items[0].enforceAttributes).toBe(true);- expect(items[0].attributes).toContainEqual({- type: "label", name: "webViewSrc", value: "https://docs.triliumnotes.org/root/feature-highlights"- });- expect(items[0].attributes?.find(a => a.name === "docName")).toBeUndefined();+ expect(items[0]?.type).toBe("code");+ expect(items[0]?.mime).toBe("application/javascript;env=backend");+ expect(items[0]?.source).toBe("User Guide/Example.js");});- it("excludes text notes without URL", () => {- const child: NoteMeta = {- isClone: false,- noteId: "childNote456",- notePath: [ "rootNote123", "childNote456" ],- title: "Feature Highlights",- notePosition: 10,- prefix: null,- isExpanded: false,- type: "text",- mime: "text/html",- attributes: [],- format: "html",- dataFileName: "Feature Highlights.html",- attachments: [],- children: []- };- const root: NoteMeta = {- isClone: false, noteId: "root", notePath: ["root"], title: "Root",- notePosition: 1, prefix: null, isExpanded: false, type: "text",- mime: "text/html", attributes: [], format: "html", attachments: [],- dirFileName: "Root", children: [child]+ it("hides notes that are hidden from the share tree", () => {+ const hidden: NoteMeta = {+ isClone: false, noteId: "hidden", title: "Features", type: "text", mime: "text/html",+ attributes: [{ type: "label", name: "shareHiddenFromTree", value: "", isInheritable: false, position: 10 }],+ format: "markdown", dirFileName: "Features", children: []};- const metaFile = { formatVersion: 2, appVersion: "0.103.0", files: [root] };- const items = parseNoteMetaFile(metaFile, standaloneTextNoteHandler);- expect(items).toHaveLength(0);+ expect(buildHelpMeta(metaFileOf([hidden]))).toHaveLength(0);});- it("preserves folder notes", () => {- const child: NoteMeta = {- isClone: false,- noteId: "folderNote",- notePath: [ "root", "folderNote" ],- title: "Section",- notePosition: 1,- prefix: null,- isExpanded: false,- type: "text",- mime: "text/html",- attributes: [],- format: "html",- attachments: [],- dirFileName: "Section",- children: []- };- const root: NoteMeta = {- isClone: false, noteId: "root", notePath: ["root"], title: "Root",- notePosition: 1, prefix: null, isExpanded: false, type: "text",- mime: "text/html", attributes: [], format: "html", attachments: [],- dirFileName: "Root", children: [child]- };-- const metaFile = { formatVersion: 2, appVersion: "0.103.0", files: [root] };- const items = parseNoteMetaFile(metaFile, standaloneTextNoteHandler);-- expect(items).toHaveLength(1);- expect(items[0].type).toBe("book");+ it("returns nothing when the export has no files", () => {+ expect(buildHelpMeta({ formatVersion: 2, appVersion: "0.103.0", files: undefined as never })).toEqual([]);});});diff --git a/apps/edit-docs/src/help_meta_generator.ts b/apps/edit-docs/src/help_meta_generator.tsindex a16880e0a4..817860f14a 100644--- a/apps/edit-docs/src/help_meta_generator.ts+++ b/apps/edit-docs/src/help_meta_generator.ts@@ -1,157 +1,145 @@-import type { HiddenSubtreeItem } from "@triliumnext/commons";+import type { HelpMetaItem, HiddenSubtreeAttribute } from "@triliumnext/commons";import type { NoteMeta, NoteMetaFile } from "@triliumnext/core";-import path from "path";/**- * Callback that defines how a text note is represented in the help meta.- * @param item the HiddenSubtreeItem being built (mutate in place)- * @param docPath the documentation path (e.g. "User Guide/Quick Start")- * @param currentUrl the online URL for this note (if available)- * @returns true to include the item, false to exclude it+ * Builds the in-app help tree from the User Guide's markdown export meta.+ *+ * The result describes the `_help` subtree the application injects into becca, and points each+ * note at the markdown file backing it. Rendering that markdown into the page content the app+ * displays is the build's job, not this module's — here we only resolve structure, identity and+ * the labels the notes carry.+ *+ * @param noteMetaFile the `!!!meta.json` written next to the markdown export.+ * @param baseUrl root of the online documentation, used to resolve the canonical page URLs+ * (`docUrl`) and to absolutise root-relative web view sources.*/-type TextNoteHandler = (item: HiddenSubtreeItem, docPath: string, currentUrl: string | undefined) => boolean;--/**- * Server handler: text notes become `doc` type with `docName` and optional `docUrl` attributes.- */-export const serverTextNoteHandler: TextNoteHandler = (item, docPath, currentUrl) => {- item.attributes?.push({ type: "label", name: "docName", value: docPath });- if (currentUrl) {- item.attributes?.push({ type: "label", name: "docUrl", value: currentUrl });- }- return true;-};--/**- * Standalone handler: text notes become `webView` type pointing to the online docs.- * Excludes notes without an online URL.- */-export const standaloneTextNoteHandler: TextNoteHandler = (item, _docPath, currentUrl) => {- if (!currentUrl) {- return false;- }- item.type = "webView";- item.enforceAttributes = true;- item.attributes?.push({ type: "label", name: "webViewSrc", value: currentUrl });- return true;-};--/**- * Parses a NoteMetaFile into HiddenSubtreeItem[] using the given text note handler.- */-export function parseNoteMetaFile(noteMetaFile: NoteMetaFile, handleTextNote: TextNoteHandler, baseUrl?: string): HiddenSubtreeItem[] {+export function buildHelpMeta(noteMetaFile: NoteMetaFile, baseUrl?: string): HelpMetaItem[] {if (!noteMetaFile.files) {console.warn("No meta files found to parse.");return [];}const metaRoot = noteMetaFile.files[0];- const docNameRoot = "/" + (metaRoot.dirFileName ?? "");- // A note cloned into several help locations appears once per location, but the runtime- // hidden-subtree check enforces a single set of attributes per noteId. The per-occurrence- // `iconClass`/`docName` would therefore conflict and flip-flop on every check. Index the- // primary (non-clone) occurrence's values up front so every clone can reuse them.+ // A note cloned into several help locations appears once per location, but only one of the+ // occurrences is the real thing: the others carry no attributes and a ".clone" data file.+ // Index the primary occurrence's values up front so every clone can reuse them.const canonicalByNoteId = new Map<string, CanonicalOccurrence>();- indexPrimaryOccurrences(metaRoot, docNameRoot, canonicalByNoteId);+ indexPrimaryOccurrences(metaRoot, "", canonicalByNoteId);- const parsedMetaRoot = parseNoteMeta(metaRoot, handleTextNote, docNameRoot, canonicalByNoteId, baseUrl);+ // Sources are relative to the export directory, which is the root note's own directory, so+ // the walk starts empty and picks up that directory on its first step down. The documentation+ // root doubles as the parent URL every page's share alias is appended to.+ const parsedMetaRoot = parseNoteMeta(metaRoot, "", canonicalByNoteId, baseUrl, baseUrl);return parsedMetaRoot?.children ?? [];}interface CanonicalOccurrence {iconClass: string;- docPath?: string;+ source?: string;}-function parseNoteMeta(noteMeta: NoteMeta, handleTextNote: TextNoteHandler, docNameRoot: string, canonicalByNoteId: Map<string, CanonicalOccurrence>, parentUrl?: string): HiddenSubtreeItem | null {- const item: HiddenSubtreeItem = {- id: `_help_${noteMeta.noteId}`,- title: noteMeta.title ?? "",- type: "doc",- attributes: []- };-- // Handle folder notes- if (!noteMeta.dataFileName) {- item.type = "book";- }-- // Build the URL for this note+function parseNoteMeta(+ noteMeta: NoteMeta,+ sourceRoot: string,+ canonicalByNoteId: Map<string, CanonicalOccurrence>,+ baseUrl?: string,+ parentUrl?: string+): HelpMetaItem | null {+ const attributes: HiddenSubtreeAttribute[] = [];++ // Build the online URL for this note; only notes with a share alias of their own are+ // published, the rest just pass their parent's URL down to their children.const shareAlias = noteMeta.attributes?.find((a) => a.type === "label" && a.name === "shareAlias")?.value;const currentUrl = parentUrl && shareAlias ? `${parentUrl}/${shareAlias}` : parentUrl;- const noteUrl = shareAlias ? currentUrl : undefined;- // Handle attributesfor (const attribute of noteMeta.attributes ?? []) {+ if (attribute.name === "shareHiddenFromTree") {+ return null;+ }+if (attribute.name === "webViewSrc") {- item.attributes?.push({+ attributes.push({type: "label",- name: attribute.name,- value: attribute.value+ name: "webViewSrc",+ // Web views pointing inside the documentation are stored root-relative.+ value: absolutiseUrl(attribute.value, baseUrl)});}+ }- if (attribute.name === "shareHiddenFromTree") {- return null;- }+ if (shareAlias && currentUrl) {+ attributes.push({ type: "label", name: "docUrl", value: currentUrl });}- // Clones share the underlying note, so resolve their per-occurrence icon/docName to the- // primary occurrence's values; otherwise the two occurrences would enforce conflicting ones.+ // Clones share the underlying note, so resolve their icon and content file to the primary+ // occurrence's; otherwise the two occurrences would describe the same note differently.const canonical = noteMeta.isClone ? canonicalByNoteId.get(noteMeta.noteId ?? "") : undefined;- const iconClass = canonical?.iconClass ?? computeIconClass(noteMeta);+ attributes.push({+ type: "label",+ name: "iconClass",+ value: canonical?.iconClass ?? computeIconClass(noteMeta)+ });- // Handle text notes- if (noteMeta.type === "text" && noteMeta.dataFileName) {- const docPath = canonical?.docPath ?? computeDocPath(docNameRoot, noteMeta.dataFileName);- if (!handleTextNote(item, docPath, noteUrl)) {- return null;- }+ const item: HelpMetaItem = {+ id: `_help_${noteMeta.noteId}`,+ title: noteMeta.title ?? "",+ type: resolveType(noteMeta),+ attributes+ };++ if (item.type === "code") {+ item.mime = noteMeta.mime;}- // Handle web views- if (noteMeta.type === "webView") {- item.type = "webView";- item.enforceAttributes = true;+ if (item.type === "text" || item.type === "code") {+ item.source = canonical?.source ?? computeSource(sourceRoot, noteMeta.dataFileName);}- // Handle childrenif (noteMeta.children) {- const children: HiddenSubtreeItem[] = [];+ const childSourceRoot = noteMeta.dirFileName ? `${sourceRoot}/${noteMeta.dirFileName}` : sourceRoot;+ const children: HelpMetaItem[] = [];+for (const childMeta of noteMeta.children) {- const newDocNameRoot = noteMeta.dirFileName ? `${docNameRoot}/${noteMeta.dirFileName}` : docNameRoot;- const child = parseNoteMeta(childMeta, handleTextNote, newDocNameRoot, canonicalByNoteId, currentUrl);+ const child = parseNoteMeta(childMeta, childSourceRoot, canonicalByNoteId, baseUrl, currentUrl);if (child) {children.push(child);}}+item.children = children;}- // Handle note icon- item.attributes?.push({- name: "iconClass",- value: iconClass,- type: "label"- });-return item;}-/** Records the `iconClass`/`docName` of every primary (non-clone) occurrence so clones can reuse them. */-function indexPrimaryOccurrences(noteMeta: NoteMeta, docNameRoot: string, out: Map<string, CanonicalOccurrence>): void {+/**+ * A note with no data file of its own is a pure folder. Web views render a remote page, so their+ * data file (if any) is irrelevant. Everything else carries content built from its source file.+ */+function resolveType(noteMeta: NoteMeta): HelpMetaItem["type"] {+ if (noteMeta.type === "webView") {+ return "webView";+ }+ if (!noteMeta.dataFileName) {+ return "book";+ }+ return noteMeta.type === "code" ? "code" : "text";+}++/** Records the icon and content file of every primary (non-clone) occurrence, for its clones. */+function indexPrimaryOccurrences(noteMeta: NoteMeta, sourceRoot: string, out: Map<string, CanonicalOccurrence>): void {if (!noteMeta.isClone && noteMeta.noteId) {out.set(noteMeta.noteId, {iconClass: computeIconClass(noteMeta),- docPath: noteMeta.type === "text" && noteMeta.dataFileName ? computeDocPath(docNameRoot, noteMeta.dataFileName) : undefined+ source: computeSource(sourceRoot, noteMeta.dataFileName)});}if (noteMeta.children) {- const childDocNameRoot = noteMeta.dirFileName ? `${docNameRoot}/${noteMeta.dirFileName}` : docNameRoot;+ const childSourceRoot = noteMeta.dirFileName ? `${sourceRoot}/${noteMeta.dirFileName}` : sourceRoot;for (const childMeta of noteMeta.children) {- indexPrimaryOccurrences(childMeta, childDocNameRoot, out);+ indexPrimaryOccurrences(childMeta, childSourceRoot, out);}}}@@ -165,6 +153,18 @@ function computeIconClass(noteMeta: NoteMeta): string {return noteMeta.dataFileName ? "bx bx-file" : "bx bx-folder";}-function computeDocPath(docNameRoot: string, dataFileName: string): string {- return `${docNameRoot}/${path.basename(dataFileName, ".html")}`.substring(1);+function computeSource(sourceRoot: string, dataFileName?: string): string | undefined {+ if (!dataFileName) {+ return undefined;+ }+ // The walk seeds the root as an empty string, so every path picked up along the way carries a+ // leading separator that has to come back off.+ return `${sourceRoot}/${dataFileName}`.substring(1);+}++function absolutiseUrl(url: string | undefined, baseUrl?: string): string | undefined {+ if (url?.startsWith("/") && baseUrl) {+ return `${baseUrl}${url}`;+ }+ return url;}diff --git a/apps/server/src/assets/help/help_meta.json b/apps/server/src/assets/help/help_meta.jsonnew file mode 100644index 0000000000..90860c99fb--- /dev/null+++ b/apps/server/src/assets/help/help_meta.json@@ -0,0 +1,5253 @@+[+ {+ "id": "_help_BOCnjTMBCoxW",+ "title": "Feature Highlights",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/feature-highlights"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-star"+ }+ ],+ "source": "User Guide/Feature Highlights.md"+ },+ {+ "id": "_help_Otzi9La2YAUX",+ "title": "Installation & Setup",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-cog"+ }+ ],+ "children": [+ {+ "id": "_help_poXkQfguuA0U",+ "title": "Desktop Installation",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/desktop"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-desktop"+ }+ ],+ "source": "User Guide/Installation & Setup/Desktop Installation.md",+ "children": [+ {+ "id": "_help_nRqcgfTb97uV",+ "title": "Using the desktop application as a server",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/desktop/desktop-as-server"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Installation & Setup/Desktop Installation/Using the desktop application as a server.md"+ },+ {+ "id": "_help_Rp0q8bSP6Ayl",+ "title": "System Requirements",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/desktop/system-requirements"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-chip"+ }+ ],+ "source": "User Guide/Installation & Setup/Desktop Installation/System Requirements.md"+ },+ {+ "id": "_help_Un4wj2Mak2Ky",+ "title": "Nix flake",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/desktop/nix-flake"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-tux"+ }+ ],+ "source": "User Guide/Installation & Setup/Desktop Installation/Nix flake.md"+ },+ {+ "id": "_help_swSFivWk6KkA",+ "title": "Network Access",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/desktop/network-access"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-network-chart"+ }+ ],+ "source": "User Guide/Installation & Setup/Desktop Installation/Network Access.md"+ },+ {+ "id": "_help_7iwde4lsKc6O",+ "title": "Tray icon & automatic startup",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/desktop/tray-icon-and-startup"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Installation & Setup/Desktop Installation/Tray icon & automatic startup.md"+ },+ {+ "id": "_help_hvRfsDr591WP",+ "title": "Troubleshooting",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/desktop/troubleshooting"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Installation & Setup/Desktop Installation/Troubleshooting.md"+ }+ ]+ },+ {+ "id": "_help_WOcw2SLH6tbX",+ "title": "Server Installation",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-server"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation.md",+ "children": [+ {+ "id": "_help_Dgg7bR3b6K9j",+ "title": "1. Installing the server",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/installation"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-folder"+ }+ ],+ "children": [+ {+ "id": "_help_3tW6mORuTHnB",+ "title": "Packaged version for Linux",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/installation/packaged-server"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-tux"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/1. Installing the server/Packaged version for Linux.md"+ },+ {+ "id": "_help_rWX5eY045zbE",+ "title": "Using Docker",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/installation/docker"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-docker"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Docker.md"+ },+ {+ "id": "_help_moVgBcoxE3EK",+ "title": "On NixOS",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/installation/nixos"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-tux"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/1. Installing the server/On NixOS.md"+ },+ {+ "id": "_help_J1Bb6lVlwU5T",+ "title": "Manually",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/installation/manual"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-code-alt"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/1. Installing the server/Manually.md"+ },+ {+ "id": "_help_DCmT6e7clMoP",+ "title": "Using Kubernetes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/installation/kubernetes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-kubernetes"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/1. Installing the server/Using Kubernetes.md"+ },+ {+ "id": "_help_klCWNks3ReaQ",+ "title": "Multiple server instances",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/installation/multiple-instances"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-user-account"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/1. Installing the server/Multiple server instances.md"+ }+ ]+ },+ {+ "id": "_help_vcjrb3VVYPZI",+ "title": "2. Reverse proxy",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/2. Reverse proxy.md",+ "children": [+ {+ "id": "_help_ud6MShXL4WpO",+ "title": "Nginx",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/nginx"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Nginx.md"+ },+ {+ "id": "_help_fDLvzOx29Pfg",+ "title": "Apache using Docker",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/apache"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Apache using Docker.md"+ },+ {+ "id": "_help_LLzSMXACKhUs",+ "title": "Trusted proxy",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/trusted-proxy"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Trusted proxy.md"+ },+ {+ "id": "_help_5ERVJb9s4FRD",+ "title": "Traefik",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/reverse-proxy/traefik"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/2. Reverse proxy/Traefik.md"+ }+ ]+ },+ {+ "id": "_help_l2VkvOwUNfZj",+ "title": "HTTPS (TLS)",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/https"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-lock-alt"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/HTTPS (TLS).md"+ },+ {+ "id": "_help_0hzsNCP31IAB",+ "title": "Authentication",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/auth"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-user"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/Authentication.md",+ "children": [+ {+ "id": "_help_lwAX5SvbrK2g",+ "title": "Resetting your password",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/auth/password-reset"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-key"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/Authentication/Resetting your password.md"+ }+ ]+ },+ {+ "id": "_help_7DAiwaf8Z7Rz",+ "title": "Multi-factor authentication with TOTP",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/mfa"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-stopwatch"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/Multi-factor authentication with TOTP.md"+ },+ {+ "id": "_help_Un4wj2Mak2Ky",+ "title": "Nix flake",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-tux"+ }+ ],+ "source": "User Guide/Installation & Setup/Desktop Installation/Nix flake.md"+ },+ {+ "id": "_help_x1lQNKQBqLcA",+ "title": "Signing in with OpenID Connect",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/openid-connect"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-key"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect.md",+ "children": [+ {+ "id": "_help_IgkTHSaFfq6A",+ "title": "Setting up with various providers",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/openid-connect/setup"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/Signing in with OpenID Connect/Setting up with various providers.md"+ }+ ]+ },+ {+ "id": "_help_yeEaYqosGLSh",+ "title": "Third-party cloud hosting",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/cloud-hosting"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-cloud"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/Third-party cloud hosting.md"+ },+ {+ "id": "_help_iGTnKjubbXkA",+ "title": "System Requirements",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/server/system-requirements"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-chip"+ }+ ],+ "source": "User Guide/Installation & Setup/Server Installation/System Requirements.md"+ }+ ]+ },+ {+ "id": "_help_cbkrhQjrkKrh",+ "title": "Synchronization",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/synchronization"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-sync"+ }+ ],+ "source": "User Guide/Installation & Setup/Synchronization.md"+ },+ {+ "id": "_help_RDslemsQ6gCp",+ "title": "Mobile Frontend",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/mobile-frontend"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-mobile-alt"+ }+ ],+ "source": "User Guide/Installation & Setup/Mobile Frontend.md"+ },+ {+ "id": "_help_MtPxeAWVAzMg",+ "title": "Web Clipper",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/web-clipper"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-paperclip"+ }+ ],+ "source": "User Guide/Installation & Setup/Web Clipper.md"+ },+ {+ "id": "_help_n1lujUxCwipy",+ "title": "Upgrading TriliumNext",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/upgrading"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-up-arrow-alt"+ }+ ],+ "source": "User Guide/Installation & Setup/Upgrading TriliumNext.md"+ },+ {+ "id": "_help_ODY7qQn5m2FT",+ "title": "Backup",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/backup"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-hdd"+ }+ ],+ "source": "User Guide/Installation & Setup/Backup.md"+ },+ {+ "id": "_help_tAassRL4RSQL",+ "title": "Data directory",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/setup/data-directory"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-folder-open"+ }+ ],+ "source": "User Guide/Installation & Setup/Data directory.md"+ }+ ]+ },+ {+ "id": "_help_gh7bpGYxajRS",+ "title": "Basic Concepts and Features",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-help-circle"+ }+ ],+ "children": [+ {+ "id": "_help_Vc8PjrjAGuOp",+ "title": "UI Elements",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-window-alt"+ }+ ],+ "children": [+ {+ "id": "_help_x0JgW8UqGXvq",+ "title": "Vertical and horizontal layout",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/layouts"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-layout"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Vertical and horizontal layout.md"+ },+ {+ "id": "_help_x3i7MxGccDuM",+ "title": "Global menu",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/global-menu"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-menu"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Global menu.md"+ },+ {+ "id": "_help_oPVyFC7WL2Lp",+ "title": "Note Tree",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-tree-alt"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Note Tree.md",+ "children": [+ {+ "id": "_help_YtSN43OrfzaA",+ "title": "Note tree contextual menu",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/context-menu"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-menu"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Note Tree/Note tree contextual menu.md"+ },+ {+ "id": "_help_yTjUdsOi4CIE",+ "title": "Multiple selection",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/multiple-selection"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-list-plus"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Note Tree/Multiple selection.md"+ },+ {+ "id": "_help_DvdZhoQZY9Yd",+ "title": "Keyboard shortcuts",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/keyboard-shortcuts"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-keyboard"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Note Tree/Keyboard shortcuts.md"+ },+ {+ "id": "_help_wyaGBBQrl4i3",+ "title": "Hiding the subtree",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/note-tree/hiding-subtree"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-hide"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Note Tree/Hiding the subtree.md"+ }+ ]+ },+ {+ "id": "_help_BlN9DFI679QC",+ "title": "Ribbon",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/ribbon"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-dots-horizontal"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Ribbon.md"+ },+ {+ "id": "_help_3seOhtN8uLIY",+ "title": "Tabs",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/tabs"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-dock-top"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Tabs.md"+ },+ {+ "id": "_help_xYmIYSP6wE3F",+ "title": "Launch Bar",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/launch-bar"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-sidebar"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Launch Bar.md"+ },+ {+ "id": "_help_8YBEPzcpUgxw",+ "title": "Note buttons",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/note-buttons"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-dots-vertical-rounded"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Note buttons.md"+ },+ {+ "id": "_help_4TIF1oA4VQRO",+ "title": "Options",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/options"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-cog"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Options.md"+ },+ {+ "id": "_help_luNhaphA37EO",+ "title": "Split View",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/split-view"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-dock-right"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Split View.md"+ },+ {+ "id": "_help_XpOYSgsLkTJy",+ "title": "Floating buttons",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/floating-buttons"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-rectangle"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Floating buttons.md"+ },+ {+ "id": "_help_RnaPdbciOfeq",+ "title": "Right Sidebar",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-dock-right"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Right Sidebar.md",+ "children": [+ {+ "id": "_help_2dcGDhp9WFKb",+ "title": "Outline tab",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/outline"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-list-ul"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Outline tab.md"+ },+ {+ "id": "_help_uNtgN0cUKEBc",+ "title": "Attributes tab",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/attributes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-hash"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Attributes tab.md"+ },+ {+ "id": "_help_LrKznOtw9cQD",+ "title": "AI chat tab",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-bot"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/AI chat tab.md"+ },+ {+ "id": "_help_KRlZFoIH0j6p",+ "title": "Connections tab",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/right-sidebar/connections"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-network-chart"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Right Sidebar/Connections tab.md"+ }+ ]+ },+ {+ "id": "_help_r5JGHN99bVKn",+ "title": "Recent Changes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/recent-changes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-history"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Recent Changes.md"+ },+ {+ "id": "_help_ny318J39E5Z0",+ "title": "Zoom",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/zoom"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-zoom-in"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Zoom.md"+ },+ {+ "id": "_help_lgKX7r3aL30x",+ "title": "Note Tooltip",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/note-tooltip"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-message-detail"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Note Tooltip.md"+ },+ {+ "id": "_help_IjZS7iK5EXtb",+ "title": "New Layout",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-layout"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/New Layout.md",+ "children": [+ {+ "id": "_help_I6p2a06hdnL6",+ "title": "Breadcrumb",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout/breadcrumb"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-chevron-right"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/New Layout/Breadcrumb.md"+ },+ {+ "id": "_help_AlJ73vBCjWDw",+ "title": "Status bar",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/new-layout/status-bar"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-dock-bottom"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/New Layout/Status bar.md"+ }+ ]+ },+ {+ "id": "_help_SL5f1Auq7sVN",+ "title": "Note types with split view",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/note-types-with-split-view"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-card"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Note types with split view.md"+ },+ {+ "id": "_help_t596jLvPrqkS",+ "title": "Content width",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/ui/content-width"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-detail"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/UI Elements/Content width.md"+ }+ ]+ },+ {+ "id": "_help_BFs8mudNFgCS",+ "title": "Notes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-notepad"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes.md",+ "children": [+ {+ "id": "_help_l7pigIGu01K2",+ "title": "Title",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/title"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-text"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Title.md"+ },+ {+ "id": "_help_p9kXRFAkwN4o",+ "title": "Note Icons & Colors",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/note-icons"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-grid"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Note Icons & Colors.md"+ },+ {+ "id": "_help_0vhv7lsOLy82",+ "title": "Attachments",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/attachments"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-paperclip"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Attachments.md"+ },+ {+ "id": "_help_IakOLONlIfGI",+ "title": "Cloning Notes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/cloning"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-duplicate"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Cloning Notes.md",+ "children": [+ {+ "id": "_help_TBwsyfadTA18",+ "title": "Branch prefix",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/cloning/branch-prefix"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-rename"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Cloning Notes/Branch prefix.md"+ }+ ]+ },+ {+ "id": "_help_bwg0e8ewQMak",+ "title": "Protected Notes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/protected-notes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-lock-alt"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Protected Notes.md"+ },+ {+ "id": "_help_MKmLg5x6xkor",+ "title": "Archived Notes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/archived-notes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-box"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Archived Notes.md"+ },+ {+ "id": "_help_vZWERwf8U3nx",+ "title": "Note Revisions",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/note-revisions"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-history"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Note Revisions.md"+ },+ {+ "id": "_help_aGlEvb9hyDhS",+ "title": "Sorting Notes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/sorting"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-sort-up"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Sorting Notes.md"+ },+ {+ "id": "_help_NRnIZmSMc5sj",+ "title": "Printing & Exporting as PDF",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/printing-and-pdf-export"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-printer"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Printing & Exporting as PDF.md"+ },+ {+ "id": "_help_CoFPLs3dRlXc",+ "title": "Read-Only Notes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/read-only-notes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-edit-alt"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Read-Only Notes.md"+ },+ {+ "id": "_help_0ESUbbAxVnoK",+ "title": "Note List",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/note-list"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-grid"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Note List.md"+ },+ {+ "id": "_help_S0Fos78ZfcY7",+ "title": "Note Inbox",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/note-inbox"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-inbox"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Note Inbox.md"+ },+ {+ "id": "_help_5Ct4MAJTS4tQ",+ "title": "Restoring Deleted Notes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/notes/restoring-deleted-notes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-trash-alt"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Notes/Restoring Deleted Notes.md"+ }+ ]+ },+ {+ "id": "_help_wArbEsdSae6g",+ "title": "Navigation",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-navigation"+ }+ ],+ "children": [+ {+ "id": "_help_kBrnXNG3Hplm",+ "title": "Tree Concepts",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation/tree-concepts"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-pyramid"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Navigation/Tree Concepts.md"+ },+ {+ "id": "_help_MMiBEQljMQh2",+ "title": "Note Navigation",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation/note-navigation"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-navigation"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Navigation/Note Navigation.md"+ },+ {+ "id": "_help_Ms1nauBra7gq",+ "title": "Quick search",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation/quick-search"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-search-alt-2"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Navigation/Quick search.md"+ },+ {+ "id": "_help_F1r9QtzQLZqm",+ "title": "Jump to & command palette",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation/jump-to"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-send"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Navigation/Jump to & command palette.md"+ },+ {+ "id": "_help_eIg8jdvaoNNd",+ "title": "Search",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation/search"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-search-alt-2"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Navigation/Search.md"+ },+ {+ "id": "_help_u3YFHC9tQlpm",+ "title": "Bookmarks",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation/bookmarks"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-bookmarks"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Navigation/Bookmarks.md"+ },+ {+ "id": "_help_OR8WJ7Iz9K4U",+ "title": "Note Hoisting",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation/note-hoisting"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-chevrons-up"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Navigation/Note Hoisting.md"+ },+ {+ "id": "_help_ZjLYv08Rp3qC",+ "title": "Quick edit",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation/quick-edit"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-edit"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Navigation/Quick edit.md"+ },+ {+ "id": "_help_9sRHySam5fXb",+ "title": "Workspaces",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation/workspace"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-door-open"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Navigation/Workspaces.md"+ },+ {+ "id": "_help_xWtq5NUHOwql",+ "title": "Similar Notes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation/similar-notes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-bar-chart"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Navigation/Similar Notes.md"+ },+ {+ "id": "_help_McngOG2jbUWX",+ "title": "Search in note",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/navigation/search-in-note"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-search-alt-2"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Navigation/Search in note.md"+ }+ ]+ },+ {+ "id": "_help_A9Oc6YKKc65v",+ "title": "Keyboard Shortcuts",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/keyboard-shortcuts"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-keyboard"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Keyboard Shortcuts.md"+ },+ {+ "id": "_help_Wy267RK4M69c",+ "title": "Themes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/themes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-palette"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Themes.md",+ "children": [+ {+ "id": "_help_VbjZvtUek0Ln",+ "title": "Theme Gallery",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/themes/theme-gallery"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-book-reader"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Themes/Theme Gallery.md"+ },+ {+ "id": "_help_gOKqSJgXLcIj",+ "title": "Icon Packs",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/themes/icon-packs"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-package"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Themes/Icon Packs.md"+ }+ ]+ },+ {+ "id": "_help_mHbBMPDPkVV5",+ "title": "Import & Export",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/import-export"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-import"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Import & Export.md",+ "children": [+ {+ "id": "_help_Oau6X9rCuegd",+ "title": "Markdown",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/import-export/markdown"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-markdown"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Import & Export/Markdown.md",+ "children": [+ {+ "id": "_help_rJ9grSgoExl9",+ "title": "Supported syntax",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/import-export/markdown/supported-syntax"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-code-alt"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Import & Export/Markdown/Supported syntax.md"+ }+ ]+ },+ {+ "id": "_help_ckZ2uNWQmVeX",+ "title": "Importing data from other applications",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-import"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications.md",+ "children": [+ {+ "id": "_help_GnhlmrATVqcH",+ "title": "Microsoft OneNote",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/onenote"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-window-open"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Microsoft OneNote.md"+ },+ {+ "id": "_help_Y5mKeJ6dsCld",+ "title": "Notion",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/notion"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-window-open"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Notion.md"+ },+ {+ "id": "_help_nhQVuO4zvIxi",+ "title": "Google Keep",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/keep"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-window-open"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Google Keep.md"+ },+ {+ "id": "_help_syuSEKf2rUGr",+ "title": "Evernote",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/evernote"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-window-open"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote.md",+ "children": [+ {+ "id": "_help_dj3j8dG4th4l",+ "title": "Process internal links by title",+ "type": "code",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/evernote/internal-links.js"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "mime": "application/javascript;env=frontend",+ "source": "User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Evernote/Process internal links by title.js"+ }+ ]+ },+ {+ "id": "_help_83zmPBJRgfnW",+ "title": "Anytype",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/anytype"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-window-open"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Anytype.md"+ },+ {+ "id": "_help_iWD7wiIuMtgV",+ "title": "Obsidian",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/import-export/import-from-apps/obsidian"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-window-open"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Import & Export/Importing data from other applications/Obsidian.md"+ }+ ]+ }+ ]+ },+ {+ "id": "_help_rC3pL2aptaRE",+ "title": "Zen mode",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/zen-mode"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-yin-yang"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Zen mode.md"+ },+ {+ "id": "_help_YzMcWlCVeW09",+ "title": "Active content",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/concepts/active-content"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-widget"+ }+ ],+ "source": "User Guide/Basic Concepts and Features/Active content.md"+ }+ ]+ },+ {+ "id": "_help_s3YCWHBfmYuM",+ "title": "Quick Start",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/quick-start"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-run"+ }+ ],+ "source": "User Guide/Quick Start.md"+ },+ {+ "id": "_help_i6dbnitykE5D",+ "title": "FAQ",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/faq"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-question-mark"+ }+ ],+ "source": "User Guide/FAQ.md"+ },+ {+ "id": "_help_KSZ04uQ2D1St",+ "title": "Note Types",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-edit"+ }+ ],+ "source": "User Guide/Note Types.md",+ "children": [+ {+ "id": "_help_iPIMuisry3hd",+ "title": "Text",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-note"+ }+ ],+ "source": "User Guide/Note Types/Text.md",+ "children": [+ {+ "id": "_help_oSuaNgyyKnhu",+ "title": "Anchors",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/bookmarks"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-bookmark"+ }+ ],+ "source": "User Guide/Note Types/Text/Anchors.md"+ },+ {+ "id": "_help_oI7GoyilXXAr",+ "title": "Automatic replacements",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/automatic-replacements"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-reply"+ }+ ],+ "source": "User Guide/Note Types/Text/Automatic replacements.md"+ },+ {+ "id": "_help_NwBbFdNZ9h7O",+ "title": "Block quotes & admonitions",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/blockquotes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-info-circle"+ }+ ],+ "source": "User Guide/Note Types/Text/Block quotes & admonitions.md"+ },+ {+ "id": "_help_4n4oQUVbnOxa",+ "title": "Collapsible blocks",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/collapsible-blocks"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-chevron-down-circle"+ }+ ],+ "source": "User Guide/Note Types/Text/Collapsible blocks.md"+ },+ {+ "id": "_help_veGu4faJErEM",+ "title": "Content language & Right-to-left support",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/content-language"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-align-right"+ }+ ],+ "source": "User Guide/Note Types/Text/Content language & Right-to-left support.md"+ },+ {+ "id": "_help_2x0ZAX9ePtzV",+ "title": "Cut to subnote",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/cut-to-subnote"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-cut"+ }+ ],+ "source": "User Guide/Note Types/Text/Cut to subnote.md"+ },+ {+ "id": "_help_UYuUB1ZekNQU",+ "title": "Developer-specific formatting",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/developer-formatting"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-code-alt"+ }+ ],+ "source": "User Guide/Note Types/Text/Developer-specific formatting.md",+ "children": [+ {+ "id": "_help_QxEyIjRBizuC",+ "title": "Code blocks",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/developer-formatting/code-blocks"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-code"+ }+ ],+ "source": "User Guide/Note Types/Text/Developer-specific formatting/Code blocks.md"+ }+ ]+ },+ {+ "id": "_help_AgjCISero73a",+ "title": "Footnotes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/footnotes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-bracket"+ }+ ],+ "source": "User Guide/Note Types/Text/Footnotes.md"+ },+ {+ "id": "_help_5wZallV2Qo1t",+ "title": "Format Painter",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/format-painter"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-paint-roll"+ }+ ],+ "source": "User Guide/Note Types/Text/Format Painter.md"+ },+ {+ "id": "_help_nRhnJkTT8cPs",+ "title": "Formatting toolbar",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/formatting-toolbar"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-text"+ }+ ],+ "source": "User Guide/Note Types/Text/Formatting toolbar.md"+ },+ {+ "id": "_help_Gr6xFaF6ioJ5",+ "title": "General formatting",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/general-formatting"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-bold"+ }+ ],+ "source": "User Guide/Note Types/Text/General formatting.md"+ },+ {+ "id": "_help_AxshuNRegLAv",+ "title": "Highlights list",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/highlights-list"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-highlight"+ }+ ],+ "source": "User Guide/Note Types/Text/Highlights list.md"+ },+ {+ "id": "_help_mT0HEkOsz6i1",+ "title": "Images",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/images"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-image-alt"+ }+ ],+ "source": "User Guide/Note Types/Text/Images.md",+ "children": [+ {+ "id": "_help_0Ofbk1aSuVRu",+ "title": "Image references",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/images/image-references"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-file-image"+ }+ ],+ "source": "User Guide/Note Types/Text/Images/Image references.md"+ }+ ]+ },+ {+ "id": "_help_nBAXQFj20hS1",+ "title": "Include Note",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/include-note"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Note Types/Text/Include Note.md"+ },+ {+ "id": "_help_CohkqWQC1iBv",+ "title": "Insert buttons",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/insert-buttons"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-plus"+ }+ ],+ "source": "User Guide/Note Types/Text/Insert buttons.md"+ },+ {+ "id": "_help_oiVPnW8QfnvS",+ "title": "Keyboard shortcuts",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/keyboard-shortcuts"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-keyboard"+ }+ ],+ "source": "User Guide/Note Types/Text/Keyboard shortcuts.md"+ },+ {+ "id": "_help_UmgZAfcltxkS",+ "title": "Link Previews",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/link-previews"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-link-external"+ }+ ],+ "source": "User Guide/Note Types/Text/Link Previews.md"+ },+ {+ "id": "_help_QEAPj01N5f7w",+ "title": "Links",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/links"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-link-alt"+ }+ ],+ "source": "User Guide/Note Types/Text/Links.md",+ "children": [+ {+ "id": "_help_3IDVtesTQ8ds",+ "title": "External links",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/links/external-links"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-link-external"+ }+ ],+ "source": "User Guide/Note Types/Text/Links/External links.md"+ },+ {+ "id": "_help_hrZ1D00cLbal",+ "title": "Internal (reference) links",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/links/reference-links"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-link"+ }+ ],+ "source": "User Guide/Note Types/Text/Links/Internal (reference) links.md"+ },+ {+ "id": "_help_wfGXLmm7x27z",+ "title": "Backlinks",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/links/backlinks"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-link-alt"+ }+ ],+ "source": "User Guide/Note Types/Text/Links/Backlinks.md"+ }+ ]+ },+ {+ "id": "_help_S6Xx8QIWTV66",+ "title": "Lists",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/lists"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-list-ul"+ }+ ],+ "source": "User Guide/Note Types/Text/Lists.md"+ },+ {+ "id": "_help_QrtTYPmdd1qq",+ "title": "Markdown-like formatting",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/markdown-formatting"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-markdown"+ }+ ],+ "source": "User Guide/Note Types/Text/Markdown-like formatting.md"+ },+ {+ "id": "_help_YfYAtQBcfo5V",+ "title": "Math Equations",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/math-equations"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-math"+ }+ ],+ "source": "User Guide/Note Types/Text/Math Equations.md"+ },+ {+ "id": "_help_dEHYtoWWi8ct",+ "title": "Other features",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/other-features"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-grid"+ }+ ],+ "source": "User Guide/Note Types/Text/Other features.md"+ },+ {+ "id": "_help_gLt3vA97tMcp",+ "title": "Premium features",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/premium-features"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-star"+ }+ ],+ "source": "User Guide/Note Types/Text/Premium features.md"+ },+ {+ "id": "_help_ZlN4nump6EbW",+ "title": "Slash Commands",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/slash-commands"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-menu"+ }+ ],+ "source": "User Guide/Note Types/Text/Slash Commands.md"+ },+ {+ "id": "_help_oBo3iHIZnbG2",+ "title": "Spell Check",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/spellcheck"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-check-double"+ }+ ],+ "source": "User Guide/Note Types/Text/Spell Check.md"+ },+ {+ "id": "_help_BFvAtE74rbP6",+ "title": "Table of contents",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/table-of-contents"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-heading"+ }+ ],+ "source": "User Guide/Note Types/Text/Table of contents.md"+ },+ {+ "id": "_help_NdowYOC1GFKS",+ "title": "Tables",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/tables"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-table"+ }+ ],+ "source": "User Guide/Note Types/Text/Tables.md"+ },+ {+ "id": "_help_pwc194wlRzcH",+ "title": "Text Snippets",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Note Types/Text/Text Snippets.md"+ },+ {+ "id": "_help_fASfBrYnquKU",+ "title": "To-do Lists",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/text/todo-lists"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-checkbox-checked"+ }+ ],+ "source": "User Guide/Note Types/Text/To-do Lists.md"+ }+ ]+ },+ {+ "id": "_help_6f9hih2hXXZk",+ "title": "Code",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/code"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-code"+ }+ ],+ "source": "User Guide/Note Types/Code.md"+ },+ {+ "id": "_help_m523cpzocqaD",+ "title": "Saved Search",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/saved-search"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file-find"+ }+ ],+ "source": "User Guide/Note Types/Saved Search.md"+ },+ {+ "id": "_help_iRwzGnHPzonm",+ "title": "Relation Map",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/relation-map"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-network-chart"+ }+ ],+ "source": "User Guide/Note Types/Relation Map.md"+ },+ {+ "id": "_help_bdUJEHsAPYQR",+ "title": "Note Map",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/note-map"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-network-chart"+ }+ ],+ "source": "User Guide/Note Types/Note Map.md"+ },+ {+ "id": "_help_HcABDtFCkbFN",+ "title": "Render Note",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/render-note"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-extension"+ }+ ],+ "source": "User Guide/Note Types/Render Note.md"+ },+ {+ "id": "_help_s1aBHPd79XYj",+ "title": "Mermaid Diagrams",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-selection"+ }+ ],+ "source": "User Guide/Note Types/Mermaid Diagrams.md",+ "children": [+ {+ "id": "_help_RH6yLjjWJHof",+ "title": "ELK layout",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams/elk"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-network-chart"+ }+ ],+ "source": "User Guide/Note Types/Mermaid Diagrams/ELK layout.md"+ },+ {+ "id": "_help_WWgeUaBb7UfC",+ "title": "Syntax reference",+ "type": "webView",+ "attributes": [+ {+ "type": "label",+ "name": "webViewSrc",+ "value": "https://mermaid.js.org/intro/syntax-reference.html"+ },+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams/syntax-reference"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ]+ }+ ]+ },+ {+ "id": "_help_grjYqerjn243",+ "title": "Canvas",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/canvas"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-pen"+ }+ ],+ "source": "User Guide/Note Types/Canvas.md"+ },+ {+ "id": "_help_1vHRoWCEjj0L",+ "title": "Web View",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/webview"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-globe-alt"+ }+ ],+ "source": "User Guide/Note Types/Web View.md"+ },+ {+ "id": "_help_gBbsAeiuUxI5",+ "title": "Mind Map",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/mindmap"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-sitemap"+ }+ ],+ "source": "User Guide/Note Types/Mind Map.md"+ },+ {+ "id": "_help_W8vYD3Q1zjCR",+ "title": "File",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/file"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file-blank"+ }+ ],+ "source": "User Guide/Note Types/File.md",+ "children": [+ {+ "id": "_help_XJGJrpu7F9sh",+ "title": "PDFs",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/file/pdf"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-file-pdf"+ }+ ],+ "source": "User Guide/Note Types/File/PDFs.md"+ },+ {+ "id": "_help_AjqEeiDUOzj4",+ "title": "Audio & Video",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/file/audio-video"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-video"+ }+ ],+ "source": "User Guide/Note Types/File/Audio & Video.md"+ },+ {+ "id": "_help_KG48zgNY31NW",+ "title": "Office documents",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-file-doc"+ }+ ],+ "source": "User Guide/Note Types/File/Office documents.md"+ }+ ]+ },+ {+ "id": "_help_GWHEkY4I4OE3",+ "title": "Spreadsheets",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/spreadsheets"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-table"+ }+ ],+ "source": "User Guide/Note Types/Spreadsheets.md"+ },+ {+ "id": "_help_6RM1Q7ppFVoj",+ "title": "Markdown",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/markdown"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-markdown"+ }+ ],+ "source": "User Guide/Note Types/Markdown.md"+ },+ {+ "id": "_help_jludwdW7N4hg",+ "title": "Converting between note types",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/note-types/note-type-conversion"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-repost"+ }+ ],+ "source": "User Guide/Note Types/Converting between note types.md"+ }+ ]+ },+ {+ "id": "_help_GTwFsgaA0lCt",+ "title": "Collections",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/collections"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-book"+ }+ ],+ "source": "User Guide/Collections.md",+ "children": [+ {+ "id": "_help_xWbu3jpNWapp",+ "title": "Calendar",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/collections/calendar"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-calendar"+ }+ ],+ "source": "User Guide/Collections/Calendar.md"+ },+ {+ "id": "_help_2FvYrpmOXm29",+ "title": "Table",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/collections/table"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-table"+ }+ ],+ "source": "User Guide/Collections/Table.md"+ },+ {+ "id": "_help_CtBQqbwXDx1w",+ "title": "Kanban Board",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/collections/kanban-board"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-columns"+ }+ ],+ "source": "User Guide/Collections/Kanban Board.md"+ },+ {+ "id": "_help_81SGnPGMk7Xc",+ "title": "Geo Map",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/collections/geomap"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-map-alt"+ }+ ],+ "source": "User Guide/Collections/Geo Map.md"+ },+ {+ "id": "_help_zP3PMqaG71Ct",+ "title": "Presentation",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/collections/presentation"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-slideshow"+ }+ ],+ "source": "User Guide/Collections/Presentation.md"+ },+ {+ "id": "_help_8QqnMzx393bx",+ "title": "Grid View",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/collections/grid"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-grid"+ }+ ],+ "source": "User Guide/Collections/Grid View.md"+ },+ {+ "id": "_help_mULW0Q3VojwY",+ "title": "List View",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/collections/list"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-list-ul"+ }+ ],+ "source": "User Guide/Collections/List View.md"+ },+ {+ "id": "_help_CssoWBu8I7jF",+ "title": "Collection Properties",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/collections/collection-properties"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-cog"+ }+ ],+ "source": "User Guide/Collections/Collection Properties.md"+ },+ {+ "id": "_help_IF7Q6I9x7zuw",+ "title": "Dashboard",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/collections/dashboard"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-dashboard"+ }+ ],+ "source": "User Guide/Collections/Dashboard.md"+ }+ ]+ },+ {+ "id": "_help_BgmBlOIl72jZ",+ "title": "Troubleshooting",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/troubleshooting"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-bug"+ }+ ],+ "source": "User Guide/Troubleshooting.md",+ "children": [+ {+ "id": "_help_wy8So3yZZlH9",+ "title": "Reporting issues",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/troubleshooting/reporting-issues"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-bug-alt"+ }+ ],+ "source": "User Guide/Troubleshooting/Reporting issues.md"+ },+ {+ "id": "_help_x59R8J8KV5Bp",+ "title": "Anonymized Database",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/troubleshooting/anonymized-database"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-low-vision"+ }+ ],+ "source": "User Guide/Troubleshooting/Anonymized Database.md"+ },+ {+ "id": "_help_qzNzp9LYQyPT",+ "title": "Error logs",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-comment-error"+ }+ ],+ "source": "User Guide/Troubleshooting/Error logs.md",+ "children": [+ {+ "id": "_help_bnyigUA2UK7s",+ "title": "Backend (server) logs",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs/backend-logs"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-server"+ }+ ],+ "source": "User Guide/Troubleshooting/Error logs/Backend (server) logs.md"+ },+ {+ "id": "_help_9yEHzMyFirZR",+ "title": "Frontend logs",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/troubleshooting/error-logs/frontend-logs"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-window-alt"+ }+ ],+ "source": "User Guide/Troubleshooting/Error logs/Frontend logs.md"+ }+ ]+ },+ {+ "id": "_help_vdlYGAcpXAgc",+ "title": "Synchronization fails with 504 Gateway Timeout",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/troubleshooting/sync-timeout"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-error"+ }+ ],+ "source": "User Guide/Troubleshooting/Synchronization fails with 504 Gateway Timeout.md"+ },+ {+ "id": "_help_s8alTXmpFR61",+ "title": "Refreshing the application",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/troubleshooting/refreshing-app"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-refresh"+ }+ ],+ "source": "User Guide/Troubleshooting/Refreshing the application.md"+ }+ ]+ },+ {+ "id": "_help_pKK96zzmvBGf",+ "title": "Theme development",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/theme-development"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-palette"+ }+ ],+ "children": [+ {+ "id": "_help_7NfNr5pZpVKV",+ "title": "Creating a custom theme",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/theme-development/creating-custom-theme"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-color"+ }+ ],+ "source": "User Guide/Theme development/Creating a custom theme.md"+ },+ {+ "id": "_help_WFGzWeUK6arS",+ "title": "Customize the Next theme",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/theme-development/customize-next-theme"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-news"+ }+ ],+ "source": "User Guide/Theme development/Customize the Next theme.md"+ },+ {+ "id": "_help_WN5z4M8ASACJ",+ "title": "Reference",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/theme-development/reference"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-book-open"+ }+ ],+ "source": "User Guide/Theme development/Reference.md"+ },+ {+ "id": "_help_AlhDUqhENtH7",+ "title": "Custom app-wide CSS",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/theme-development/custom-appcss"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-file-css"+ }+ ],+ "source": "User Guide/Theme development/Custom app-wide CSS.md"+ },+ {+ "id": "_help_g1mlRoU8CsqC",+ "title": "Creating an icon pack",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/theme-development/creating-icon-pack"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-package"+ }+ ],+ "source": "User Guide/Theme development/Creating an icon pack.md"+ }+ ]+ },+ {+ "id": "_help_tC7s2alapj8V",+ "title": "Advanced Usage",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-rocket"+ }+ ],+ "children": [+ {+ "id": "_help_zEY4DaJG4YT5",+ "title": "Attributes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/attributes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-list-check"+ }+ ],+ "source": "User Guide/Advanced Usage/Attributes.md",+ "children": [+ {+ "id": "_help_HI6GBBIduIgv",+ "title": "Labels",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/labels"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-hash"+ }+ ],+ "source": "User Guide/Advanced Usage/Attributes/Labels.md"+ },+ {+ "id": "_help_Cq5X6iKQop6R",+ "title": "Relations",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/relations"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-transfer"+ }+ ],+ "source": "User Guide/Advanced Usage/Attributes/Relations.md"+ },+ {+ "id": "_help_bwZpz2ajCEwO",+ "title": "Attribute Inheritance",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/attribute-inheritance"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-list-plus"+ }+ ],+ "source": "User Guide/Advanced Usage/Attributes/Attribute Inheritance.md"+ },+ {+ "id": "_help_OFXdgB2nNk1F",+ "title": "Promoted Attributes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/attributes/promoted-attributes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-table"+ }+ ],+ "source": "User Guide/Advanced Usage/Attributes/Promoted Attributes.md"+ }+ ]+ },+ {+ "id": "_help_KC1HB96bqqHX",+ "title": "Templates",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/template"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-copy"+ }+ ],+ "source": "User Guide/Advanced Usage/Templates.md"+ },+ {+ "id": "_help_B2ORr7OVEZtc",+ "title": "Snippets",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/snippets"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-news"+ }+ ],+ "source": "User Guide/Advanced Usage/Snippets.md",+ "children": [+ {+ "id": "_help_VQjhl61rlWh9",+ "title": "Markdown Snippets",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/snippets/markdown-snippets"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-markdown"+ }+ ],+ "source": "User Guide/Advanced Usage/Snippets/Markdown Snippets.md"+ },+ {+ "id": "_help_IEgsWp5hHH35",+ "title": "Code Snippets",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/snippets/code-snippets"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-code-alt"+ }+ ],+ "source": "User Guide/Advanced Usage/Snippets/Code Snippets.md"+ },+ {+ "id": "_help_pwc194wlRzcH",+ "title": "Text Snippets",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Note Types/Text/Text Snippets.md"+ }+ ]+ },+ {+ "id": "_help_BCkXAVs63Ttv",+ "title": "Note Map (Link map, Tree map)",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/note-map"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-network-chart"+ }+ ],+ "source": "User Guide/Advanced Usage/Note Map (Link map, Tree map).md"+ },+ {+ "id": "_help_R9pX4DGra2Vt",+ "title": "Sharing",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/sharing"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-share-alt"+ }+ ],+ "source": "User Guide/Advanced Usage/Sharing.md",+ "children": [+ {+ "id": "_help_Qjt68inQ2bRj",+ "title": "Serving directly the content of a note",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/serving-raw"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-code"+ }+ ],+ "source": "User Guide/Advanced Usage/Sharing/Serving directly the content of a note.md"+ },+ {+ "id": "_help_ycBFjKrrwE9p",+ "title": "Exporting static HTML for web publishing",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/static-html"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-file-html"+ }+ ],+ "source": "User Guide/Advanced Usage/Sharing/Exporting static HTML for web publishing.md"+ },+ {+ "id": "_help_sLIJ6f1dkJYW",+ "title": "Reverse proxy configuration",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/reverse-proxy"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-world"+ }+ ],+ "source": "User Guide/Advanced Usage/Sharing/Reverse proxy configuration.md"+ },+ {+ "id": "_help_Ad7Ku5gOHrDU",+ "title": "Custom share template",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/sharing/custom-share-template"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-nodejs"+ }+ ],+ "source": "User Guide/Advanced Usage/Sharing/Custom share template.md"+ }+ ]+ },+ {+ "id": "_help_5668rwcirq1t",+ "title": "Advanced Showcases",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-component"+ }+ ],+ "source": "User Guide/Advanced Usage/Advanced Showcases.md",+ "children": [+ {+ "id": "_help_l0tKav7yLHGF",+ "title": "Day Notes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/day-notes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-calendar"+ }+ ],+ "source": "User Guide/Advanced Usage/Advanced Showcases/Day Notes.md"+ },+ {+ "id": "_help_R7abl2fc6Mxi",+ "title": "Weight Tracker",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/weight-tracker"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-line-chart"+ }+ ],+ "source": "User Guide/Advanced Usage/Advanced Showcases/Weight Tracker.md"+ },+ {+ "id": "_help_xYjQUYhpbUEW",+ "title": "Task Manager",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/advanced-showcases/task-manager"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-calendar-check"+ }+ ],+ "source": "User Guide/Advanced Usage/Advanced Showcases/Task Manager.md"+ }+ ]+ },+ {+ "id": "_help_i16PM6A7GXdU",+ "title": "Customizing to-do task states",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/customizing-to-do-task-states"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-list-check"+ }+ ],+ "source": "User Guide/Advanced Usage/Customizing to-do task states.md"+ },+ {+ "id": "_help_J5Ex1ZrMbyJ6",+ "title": "Custom Request Handler",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/custom-request-handler"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-globe"+ }+ ],+ "source": "User Guide/Advanced Usage/Custom Request Handler.md"+ },+ {+ "id": "_help_d3fAXQ2diepH",+ "title": "Custom Resource Providers",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/custom-resource-providers"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-file-plus"+ }+ ],+ "source": "User Guide/Advanced Usage/Custom Resource Providers.md"+ },+ {+ "id": "_help_pgxEVkzLl1OP",+ "title": "ETAPI (REST API)",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/etapi"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-extension"+ }+ ],+ "source": "User Guide/Advanced Usage/ETAPI (REST API).md",+ "children": [+ {+ "id": "_help_9qPsTWBorUhQ",+ "title": "API Reference",+ "type": "webView",+ "attributes": [+ {+ "type": "label",+ "name": "webViewSrc",+ "value": "https://docs.triliumnotes.org/rest-api/etapi/"+ },+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/etapi/api-reference"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ]+ }+ ]+ },+ {+ "id": "_help_47ZrP6FNuoG8",+ "title": "Default Note Title",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/default-note-title"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-edit-alt"+ }+ ],+ "source": "User Guide/Advanced Usage/Default Note Title.md"+ },+ {+ "id": "_help_wX4HbRucYSDD",+ "title": "Database",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/database"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-data"+ }+ ],+ "source": "User Guide/Advanced Usage/Database.md",+ "children": [+ {+ "id": "_help_oyIAJ9PvvwHX",+ "title": "Manually altering the database",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/database/manual-editing"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-edit"+ }+ ],+ "source": "User Guide/Advanced Usage/Database/Manually altering the database.md",+ "children": [+ {+ "id": "_help_YKWqdJhzi2VY",+ "title": "SQL Console",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/database/manual-editing/sql-console"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-data"+ }+ ],+ "source": "User Guide/Advanced Usage/Database/Manually altering the database/SQL Console.md"+ }+ ]+ },+ {+ "id": "_help_6tZeKvSHEUiB",+ "title": "Demo Notes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/database/demo-notes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-package"+ }+ ],+ "source": "User Guide/Advanced Usage/Database/Demo Notes.md"+ }+ ]+ },+ {+ "id": "_help_Gzjqa934BdH4",+ "title": "Configuration (config.ini or environment variables)",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/configuration"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-cog"+ }+ ],+ "source": "User Guide/Advanced Usage/Configuration (config.ini or environment variables).md",+ "children": [+ {+ "id": "_help_c5xB8m4g2IY6",+ "title": "Trilium instance",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/configuration/trilium-instance"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-windows"+ }+ ],+ "source": "User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Trilium instance.md"+ },+ {+ "id": "_help_LWtBjFej3wX3",+ "title": "Cross-Origin Resource Sharing (CORS)",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/configuration/cors"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-lock"+ }+ ],+ "source": "User Guide/Advanced Usage/Configuration (config.ini or environment variables)/Cross-Origin Resource Sharing (CORS).md"+ }+ ]+ },+ {+ "id": "_help_ivYnonVFBxbQ",+ "title": "Bulk Actions",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/bulk-actions"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-list-plus"+ }+ ],+ "source": "User Guide/Advanced Usage/Bulk Actions.md"+ },+ {+ "id": "_help_4FahAwuGTAwC",+ "title": "Note source",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/note-source"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-code"+ }+ ],+ "source": "User Guide/Advanced Usage/Note source.md"+ },+ {+ "id": "_help_1YeN2MzFUluU",+ "title": "Technologies used",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/technologies"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-pyramid"+ }+ ],+ "source": "User Guide/Advanced Usage/Technologies used.md",+ "children": [+ {+ "id": "_help_MI26XDLSAlCD",+ "title": "CKEditor",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/technologies/ckeditor"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Advanced Usage/Technologies used/CKEditor.md"+ }+ ]+ },+ {+ "id": "_help_m1lbrzyKDaRB",+ "title": "Note ID",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/note-id"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-hash"+ }+ ],+ "source": "User Guide/Advanced Usage/Note ID.md"+ },+ {+ "id": "_help_0vTSyvhPTAOz",+ "title": "Internal API",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/internal-api"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-component"+ }+ ],+ "children": [+ {+ "id": "_help_z8O2VG4ZZJD7",+ "title": "API Reference",+ "type": "webView",+ "attributes": [+ {+ "type": "label",+ "name": "webViewSrc",+ "value": "https://docs.triliumnotes.org/rest-api/internal/"+ },+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/internal-api/api-reference"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ]+ }+ ]+ },+ {+ "id": "_help_2mUhVmZK8RF3",+ "title": "Hidden Notes",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/hidden-notes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-hide"+ }+ ],+ "source": "User Guide/Advanced Usage/Hidden Notes.md"+ },+ {+ "id": "_help_uYF7pmepw27K",+ "title": "Metrics",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/metrics"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-data"+ }+ ],+ "source": "User Guide/Advanced Usage/Metrics.md",+ "children": [+ {+ "id": "_help_bOP3TB56fL1V",+ "title": "grafana-dashboard.json",+ "type": "code",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/metrics/grafana-dashboard"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "mime": "application/json",+ "source": "User Guide/Advanced Usage/Metrics/grafana-dashboard.json"+ }+ ]+ },+ {+ "id": "_help_64ZTlUPgEPtW",+ "title": "Safe mode",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/safe-mode"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-virus-block"+ }+ ],+ "source": "User Guide/Advanced Usage/Safe mode.md"+ },+ {+ "id": "_help_HAIOFBoYIIdO",+ "title": "Nightly release",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/nightly-release"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-moon"+ }+ ],+ "source": "User Guide/Advanced Usage/Nightly release.md"+ },+ {+ "id": "_help_ZmT9ln8XJX2o",+ "title": "Read-only database",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/read-only-db"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-book-reader"+ }+ ],+ "source": "User Guide/Advanced Usage/Read-only database.md"+ },+ {+ "id": "_help_TiQbQDgP8L5t",+ "title": "Text Extraction (OCR)",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/advanced-usage/ocr"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Advanced Usage/Text Extraction (OCR).md"+ }+ ]+ },+ {+ "id": "_help_GBBMSlVSOIGP",+ "title": "AI",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/llm"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-bot"+ }+ ],+ "source": "User Guide/AI.md",+ "children": [+ {+ "id": "_help_bkPZAMT7d2sR",+ "title": "Providers",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/llm/providers"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-cog"+ }+ ],+ "source": "User Guide/AI/Providers.md"+ },+ {+ "id": "_help_cRRrdZjgyhNc",+ "title": "Privacy",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-lock-alt"+ }+ ],+ "source": "User Guide/AI/Privacy.md"+ },+ {+ "id": "_help_KOWBFgsZXJAD",+ "title": "MCP",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/llm/mcp"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-network-chart"+ }+ ],+ "source": "User Guide/AI/MCP.md"+ }+ ]+ },+ {+ "id": "_help_CdNpE2pqjmI6",+ "title": "Scripting",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-file-js"+ }+ ],+ "source": "User Guide/Scripting.md",+ "children": [+ {+ "id": "_help_yIhgI5H7A2Sm",+ "title": "Frontend Basics",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-window"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics.md",+ "children": [+ {+ "id": "_help_MgibgPcfeuGz",+ "title": "Custom Widgets",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-widget"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Custom Widgets.md",+ "children": [+ {+ "id": "_help_SynTBQiBsdYJ",+ "title": "Widget Basics",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/widget-basics"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Custom Widgets/Widget Basics.md"+ },+ {+ "id": "_help_GhurYZjh8e1V",+ "title": "Note context aware widget",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/note-context-aware-widget"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Custom Widgets/Note context aware widget.md"+ },+ {+ "id": "_help_M8IppdwVHSjG",+ "title": "Right pane widget",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/right-pane-widget"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Custom Widgets/Right pane widget.md"+ },+ {+ "id": "_help_YNxAqkI5Kg1M",+ "title": "Word count widget",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/word-count"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Custom Widgets/Word count widget.md"+ },+ {+ "id": "_help_VqGQnnPGnqAU",+ "title": "CSS",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/css"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Custom Widgets/CSS.md"+ },+ {+ "id": "_help_gMkgcLJ6jBkg",+ "title": "Troubleshooting",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/custom-widget/troubleshooting"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Custom Widgets/Troubleshooting.md"+ }+ ]+ },+ {+ "id": "_help_es8OU2GuguFU",+ "title": "Examples",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-code-alt"+ }+ ],+ "children": [+ {+ "id": "_help_TjLYAo3JMO8X",+ "title": "\"New Task\" launcher button",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/new-task-button"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-task"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Examples/New Task launcher button.md"+ },+ {+ "id": "_help_7kZPMD0uFwkH",+ "title": "Downloading responses from Google Forms",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/responses-from-google-forms"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Examples/Downloading responses from Google Forms.md"+ },+ {+ "id": "_help_DL92EjAaXT26",+ "title": "Using promoted attributes to configure scripts",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/examples/promoted-attributes-config"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Examples/Using promoted attributes to configure scripts.md"+ }+ ]+ },+ {+ "id": "_help_4Gn3psZKsfSm",+ "title": "Launch Bar Widgets",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-dock-left"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Launch Bar Widgets.md",+ "children": [+ {+ "id": "_help_IPArqVfDQ4We",+ "title": "Note Title Widget",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets/note-title"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Note Title Widget.md"+ },+ {+ "id": "_help_gcI7RPbaNSh3",+ "title": "Analog Watch",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/launch-bar-widgets/analog-watch"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Launch Bar Widgets/Analog Watch.md"+ }+ ]+ },+ {+ "id": "_help_KLsqhjaqh1QW",+ "title": "Preact",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-react"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Preact.md",+ "children": [+ {+ "id": "_help_Bqde6BvPo05g",+ "title": "Component libraries",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/component-libraries"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-component"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Preact/Component libraries.md"+ },+ {+ "id": "_help_ykYtbM9k3a7B",+ "title": "Hooks",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/hooks"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-question-mark"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Preact/Hooks.md"+ },+ {+ "id": "_help_Sg9GrCtyftZf",+ "title": "CSS",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/css"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-file-css"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Preact/CSS.md"+ },+ {+ "id": "_help_RSssb9S3xgSr",+ "title": "Built-in components",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/builtin-components"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxs-component"+ }+ ],+ "source": "User Guide/Scripting/Frontend Basics/Preact/Built-in components.md",+ "children": [+ {+ "id": "_help_i9B4IW7b6V6z",+ "title": "Widget showcase",+ "type": "code",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/frontend-basics/preac/builtin-components/widget-showcase"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "mime": "text/jsx",+ "source": "User Guide/Scripting/Frontend Basics/Preact/Built-in components/Widget showcase.jsx"+ }+ ]+ }+ ]+ }+ ]+ },+ {+ "id": "_help_SPirpZypehBG",+ "title": "Backend scripts",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/backend-basics"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-server"+ }+ ],+ "source": "User Guide/Scripting/Backend scripts.md",+ "children": [+ {+ "id": "_help_fZ2IGYFXjkEy",+ "title": "Server-side imports",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/backend-basics/server-imports"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Backend scripts/Server-side imports.md"+ },+ {+ "id": "_help_GPERMystNGTB",+ "title": "Events",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/backend-basics/events"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-rss"+ }+ ],+ "source": "User Guide/Scripting/Backend scripts/Events.md"+ }+ ]+ },+ {+ "id": "_help_wqXwKJl6VpNk",+ "title": "Common concepts",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/common-concepts"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bxl-nodejs"+ }+ ],+ "children": [+ {+ "id": "_help_hA834UaHhSNn",+ "title": "Script bundles",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/common-concepts/bundles"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-package"+ }+ ],+ "source": "User Guide/Scripting/Common concepts/Script bundles.md"+ }+ ]+ },+ {+ "id": "_help_GLks18SNjxmC",+ "title": "Script API",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/script-api"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-code-curly"+ }+ ],+ "source": "User Guide/Scripting/Script API.md",+ "children": [+ {+ "id": "_help_Q2z6av6JZVWm",+ "title": "Frontend API",+ "type": "webView",+ "attributes": [+ {+ "type": "label",+ "name": "webViewSrc",+ "value": "https://docs.triliumnotes.org/script-api/frontend"+ },+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/script-api/frontend-api"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-folder"+ }+ ],+ "children": [+ {+ "id": "_help_habiZ3HU8Kw8",+ "title": "FNote",+ "type": "webView",+ "attributes": [+ {+ "type": "label",+ "name": "webViewSrc",+ "value": "https://docs.triliumnotes.org/script-api/frontend/interfaces/FNote.html"+ },+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/script-api/frontend-api/fnote"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ]+ }+ ]+ },+ {+ "id": "_help_MEtfsqa5VwNi",+ "title": "Backend API",+ "type": "webView",+ "attributes": [+ {+ "type": "label",+ "name": "webViewSrc",+ "value": "https://docs.triliumnotes.org/script-api/backend"+ },+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/script-api/backend-api"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ]+ },+ {+ "id": "_help_GFXVHyblVN3d",+ "title": "Electron API",+ "type": "webView",+ "attributes": [+ {+ "type": "label",+ "name": "webViewSrc",+ "value": "https://docs.triliumnotes.org/script-api/electron"+ },+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/script-api/electron-api"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-window-alt"+ }+ ]+ },+ {+ "id": "_help_ApVHZ8JY5ofC",+ "title": "Day.js",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/script-api/day.js"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-calendar"+ }+ ],+ "source": "User Guide/Scripting/Script API/Day.js.md"+ }+ ]+ },+ {+ "id": "_help_vElnKeDNPSVl",+ "title": "Logging",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/logging"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-terminal"+ }+ ],+ "source": "User Guide/Scripting/Logging.md"+ },+ {+ "id": "_help_cNpC0ITcfX0N",+ "title": "Breaking changes",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/breaking-changes"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-up-arrow-alt"+ }+ ],+ "children": [+ {+ "id": "_help_YeOa2l7Pu39I",+ "title": "v0.104.0: Disabling the Node integration in Electron",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/disabling-node-integration"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Breaking changes/v0.104.0 Disabling the Node integration in Electron.md"+ },+ {+ "id": "_help_fqAK6opjUagR",+ "title": "v0.103.0: Removal of axios",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/axios-removal"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Breaking changes/v0.103.0 Removal of axios.md"+ },+ {+ "id": "_help_pAJ0jWz16xFm",+ "title": "v0.103.0: `cheerio` is now deprecated",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/cheerio-deprecated"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Breaking changes/v0.103.0 `cheerio` is now deprecated.md"+ },+ {+ "id": "_help_72dxvnbnkDFY",+ "title": "v0.102.0: Upgrade to jQuery 4.0.0",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/breaking-changes/jquery4"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Scripting/Breaking changes/v0.102.0 Upgrade to jQuery 4.0.0.md"+ }+ ]+ },+ {+ "id": "_help_fiHicjpHjIRJ",+ "title": "Security",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/scripts/security"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-shield"+ }+ ],+ "source": "User Guide/Scripting/Security.md"+ }+ ]+ },+ {+ "id": "_help_Fm0j45KqyHpU",+ "title": "Miscellaneous",+ "type": "book",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/misc"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-info-circle"+ }+ ],+ "children": [+ {+ "id": "_help_WFbFXrgnDyyU",+ "title": "Privacy Policy",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/misc/privacy-policy"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Miscellaneous/Privacy Policy.md"+ },+ {+ "id": "_help_NcsmUYZRWEW4",+ "title": "Patterns of personal knowledge",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/misc/patterns-of-personal-knowledge"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Miscellaneous/Patterns of personal knowledge.md"+ },+ {+ "id": "_help_d1Ap6Pg6IjaJ",+ "title": "License",+ "type": "text",+ "attributes": [+ {+ "type": "label",+ "name": "docUrl",+ "value": "https://docs.triliumnotes.org/user-guide/misc/license"+ },+ {+ "type": "label",+ "name": "iconClass",+ "value": "bx bx-file"+ }+ ],+ "source": "User Guide/Miscellaneous/License.md"+ }+ ]+ }+]\ No newline at end of filediff --git a/edit-docs-config.yaml b/edit-docs-config.yamlindex 728523c5ca..44e20c88d1 100644--- a/edit-docs-config.yaml+++ b/edit-docs-config.yaml@@ -4,17 +4,10 @@ noteMappings:- rootNoteId: "pOsGYCXsbNQG"path: "docs/User Guide"format: "markdown"-- - rootNoteId: "pOsGYCXsbNQG"- path: "apps/server/src/assets/doc_notes/en/User Guide"- format: "html"- ignoredFiles:- - "index.html"- - "navigation.html"- - "style.css"- - "User Guide.html"- exportOnly: true-+ # The markdown export is the single source of the in-app help: this derives the note tree+ # the application injects, and the build renders the page content from the same files.+ helpMeta: "apps/server/src/assets/help/help_meta.json"+- rootNoteId: "jdjRLhLV3TtI"path: "docs/Developer Guide"format: "markdown"diff --git a/packages/commons/src/index.ts b/packages/commons/src/index.tsindex 42a9d03a14..81ef5074f6 100644--- a/packages/commons/src/index.ts+++ b/packages/commons/src/index.ts@@ -3,6 +3,7 @@ export * from "./lib/katex_macros.js";export * from "./lib/options_interface.js";export * from "./lib/keyboard_actions_interface.js";export * from "./lib/hidden_subtree.js";+export * from "./lib/help_meta.js";export * from "./lib/rows.js";export * from "./lib/test-utils.js";export * from "./lib/attachment_roles.js";diff --git a/packages/commons/src/lib/help_meta.ts b/packages/commons/src/lib/help_meta.tsnew file mode 100644index 0000000000..cd5026aea2--- /dev/null+++ b/packages/commons/src/lib/help_meta.ts@@ -0,0 +1,32 @@+import type { HiddenSubtreeAttribute } from "./hidden_subtree.js";++/**+ * One note of the in-app help (User Guide) tree, as prepared by `edit-docs` from the User+ * Guide's markdown export and consumed by both the server and the standalone build.+ *+ * The shape is deliberately that of a virtual subtree item — the help notes are injected into+ * becca by a virtual note provider and never persisted — plus {@link source}, which tells the+ * build which file backs each note. `source` is a build concern and never becomes a note+ * attribute.+ */+export interface HelpMetaItem {+ /** Note ID, always prefixed with `_help_`. */+ id: string;+ title: string;+ /**+ * `text` and `code` notes carry content built from {@link source}; `book` is a folder with+ * no content of its own; `webView` embeds a remote page given by its `webViewSrc` label.+ */+ type: "text" | "code" | "book" | "webView";+ /** Only meaningful for `code` notes; text pages are `text/html` once rendered. */+ mime?: string;+ /** Labels the note carries in the application, e.g. `iconClass`, `docUrl`, `webViewSrc`. */+ attributes?: HiddenSubtreeAttribute[];+ children?: HelpMetaItem[];+ /**+ * Content source, relative to the markdown export root (e.g. `User Guide/Note Types/Text.md`).+ * Absent for folders and web views, which have no file of their own. Clones point at the+ * primary occurrence's file rather than their own `.clone` copy.+ */+ source?: string;+}