From 70ed1d7abb5db1e92aed273525142b59b73e15cb Mon Sep 17 00:00:00 2001
From: Elian Doran
Date: Thu, 30 Oct 2025 08:33:54 +0200
Subject: [PATCH] chore(website): fix URLs pointing to documentation
---
apps/website/src/download-helper.ts | 6 +--
apps/website/src/pages/Home/index.tsx | 58 +++++++++++++--------------
2 files changed, 32 insertions(+), 32 deletions(-)
diff --git a/apps/website/src/download-helper.ts b/apps/website/src/download-helper.ts
index 92cdec7b1..2b4af9ef6 100644
--- a/apps/website/src/download-helper.ts
+++ b/apps/website/src/download-helper.ts
@@ -127,7 +127,7 @@ export function getDownloadMatrix(t: TFunction<"translation", undefined>): Downl
docker: {
title: t("download_helper_server_docker.title"),
description: t("download_helper_server_docker.description"),
- helpUrl: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Installation%20%26%20Setup/Server%20Installation/1.%20Installing%20the%20server/Using%20Docker.html",
+ helpUrl: "https://docs.triliumnotes.org/user-guide/setup/server/installation/docker",
quickStartCode: "docker pull triliumnext/trilium\ndocker run -p 8080:8080 -d -v ./data:/home/node/trilium-data triliumnext/trilium",
downloads: {
dockerhub: {
@@ -143,7 +143,7 @@ export function getDownloadMatrix(t: TFunction<"translation", undefined>): Downl
linux: {
title: t("download_helper_server_linux.title"),
description: t("download_helper_server_linux.description"),
- helpUrl: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Installation%20%26%20Setup/Server%20Installation/1.%20Installing%20the%20server/Packaged%20version%20for%20Linux.html",
+ helpUrl: "https://docs.triliumnotes.org/user-guide/setup/server/installation/packaged-server",
downloads: {
tarX64: {
recommended: true,
@@ -157,7 +157,7 @@ export function getDownloadMatrix(t: TFunction<"translation", undefined>): Downl
},
nixos: {
name: t("download_helper_server_linux.download_nixos"),
- url: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Installation%20&%20Setup/Server%20Installation/1.%20Installing%20the%20server/On%20NixOS"
+ url: "https://docs.triliumnotes.org/user-guide/setup/server/installation/nixos"
}
}
},
diff --git a/apps/website/src/pages/Home/index.tsx b/apps/website/src/pages/Home/index.tsx
index b26d43621..fab19eebc 100644
--- a/apps/website/src/pages/Home/index.tsx
+++ b/apps/website/src/pages/Home/index.tsx
@@ -102,9 +102,9 @@ function OrganizationBenefitsSection() {
<>
- {t("organization_benefits.note_structure_description")}
- {t("organization_benefits.attributes_description")}
- {t("organization_benefits.hoisting_description")}
+ {t("organization_benefits.note_structure_description")}
+ {t("organization_benefits.attributes_description")}
+ {t("organization_benefits.hoisting_description")}
>
@@ -117,12 +117,12 @@ function ProductivityBenefitsSection() {
<>
- {t("productivity_benefits.revisions_content")}
- {t("productivity_benefits.sync_content")}
- {t("productivity_benefits.protected_notes_content")}
- {t("productivity_benefits.jump_to_content")}
- {t("productivity_benefits.search_content")}
- {t("productivity_benefits.web_clipper_content")}
+ {t("productivity_benefits.revisions_content")}
+ {t("productivity_benefits.sync_content")}
+ {t("productivity_benefits.protected_notes_content")}
+ {t("productivity_benefits.jump_to_content")}
+ {t("productivity_benefits.search_content")}
+ {t("productivity_benefits.web_clipper_content")}
>
@@ -138,42 +138,42 @@ function NoteTypesSection() {
title: t("note_types.text_title"),
imageUrl: "/type_text.webp",
iconSvg: textNoteIcon,
- moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Text/index.html",
+ moreInfo: "https://docs.triliumnotes.org/user-guide/note-types/text",
description: t("note_types.text_description")
},
{
title: t("note_types.code_title"),
imageUrl: "/type_code.webp",
iconSvg: codeIcon,
- moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Code.html",
+ moreInfo: "https://docs.triliumnotes.org/user-guide/note-types/code",
description: t("note_types.code_description")
},
{
title: t("note_types.file_title"),
imageUrl: "/type_file.webp",
iconSvg: fileIcon,
- moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/File.html",
+ moreInfo: "https://docs.triliumnotes.org/user-guide/note-types/file",
description: t("note_types.file_description")
},
{
title: t("note_types.canvas_title"),
imageUrl: "/type_canvas.webp",
iconSvg: canvasIcon,
- moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Canvas.html",
+ moreInfo: "https://docs.triliumnotes.org/user-guide/note-types/canvas",
description: t("note_types.canvas_description")
},
{
title: t("note_types.mermaid_title"),
imageUrl: "/type_mermaid.webp",
iconSvg: mermaidIcon,
- moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Mermaid%20Diagrams/index.html",
+ moreInfo: "https://docs.triliumnotes.org/user-guide/note-types/mermaid-diagrams",
description: t("note_types.mermaid_description")
},
{
title: t("note_types.mindmap_title"),
imageUrl: "/type_mindmap.webp",
iconSvg: mindmapIcon,
- moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Mind%20Map.html",
+ moreInfo: "https://docs.triliumnotes.org/user-guide/note-types/mindmap",
description: t("note_types.mindmap_description")
}
]} />
@@ -181,11 +181,11 @@ function NoteTypesSection() {
,
- ,
- ,
- ,
-
+ ,
+ ,
+ ,
+ ,
+
]}
/>
@@ -199,10 +199,10 @@ function ExtensibilityBenefitsSection() {
<>
- {t("extensibility_benefits.import_export_description")}
- {t("extensibility_benefits.share_description")}
- {t("extensibility_benefits.scripting_description")}
- {t("extensibility_benefits.api_description")}
+ {t("extensibility_benefits.import_export_description")}
+ {t("extensibility_benefits.share_description")}
+ {t("extensibility_benefits.scripting_description")}
+ {t("extensibility_benefits.api_description")}
>
@@ -218,35 +218,35 @@ function CollectionsSection() {
title: t("collections.calendar_title"),
imageUrl: "/collection_calendar.webp",
iconSvg: calendarIcon,
- moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Collections/Calendar%20View.html",
+ moreInfo: "https://docs.triliumnotes.org/user-guide/collections/calendar",
description: t("collections.calendar_description")
},
{
title: t("collections.table_title"),
iconSvg: tableIcon,
imageUrl: "/collection_table.webp",
- moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Collections/Table%20View.html",
+ moreInfo: "https://docs.triliumnotes.org/user-guide/collections/table",
description: t("collections.table_description")
},
{
title: t("collections.board_title"),
iconSvg: boardIcon,
imageUrl: "/collection_board.webp",
- moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Collections/Board%20View.html",
+ moreInfo: "https://docs.triliumnotes.org/user-guide/collections/kanban-board",
description: t("collections.board_description")
},
{
title: t("collections.geomap_title"),
iconSvg: geomapIcon,
imageUrl: "/collection_geomap.webp",
- moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Collections/Geo%20Map%20View.html",
+ moreInfo: "https://docs.triliumnotes.org/user-guide/collections/geomap",
description: t("collections.geomap_description")
},
{
title: t("collections.presentation_title"),
iconSvg: presentationIcon,
imageUrl: "/collection_presentation.webp",
- moreInfo: "https://docs.triliumnotes.org/User%20Guide/User%20Guide/Note%20Types/Collections/Presentation%20View.html",
+ moreInfo: "https://docs.triliumnotes.org/user-guide/collections/presentation",
description: t("collections.presentation_description")
}
]} />