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
chore(readme): rewrite links
Elian Dorana4b95b45ecbd
diff --git a/docs/README.md b/docs/README.mdindex be62b5370d..5c59039312 100644--- a/docs/README.md+++ b/docs/README.md@@ -16,13 +16,13 @@[](https://app.relative-ci.com/projects/Di5q7dz9daNDZ9UXi0Bp) [](https://hosted.weblate.org/engage/trilium/)-[English](./README.md) | [Chinese (Simplified)](./docs/README-ZH_CN.md) | [Chinese (Traditional)](./docs/README-ZH_TW.md) | [Russian](./docs/README-ru.md) | [Japanese](./docs/README-ja.md) | [Italian](./docs/README-it.md) | [Spanish](./docs/README-es.md)+[English](../README.md) | [Chinese (Simplified)](./README-ZH_CN.md) | [Chinese (Traditional)](./README-ZH_TW.md) | [Russian](./README-ru.md) | [Japanese](./README-ja.md) | [Italian](./README-it.md) | [Spanish](./README-es.md)Trilium Notes is a free and open-source, cross-platform hierarchical note taking application with focus on building large personal knowledge bases.See [screenshots](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) for quick overview:-<a href="https://triliumnext.github.io/Docs/Wiki/screenshot-tour"><img src="./docs/app.png" alt="Trilium Screenshot" width="1000"></a>+<a href="https://triliumnext.github.io/Docs/Wiki/screenshot-tour"><img src="./app.png" alt="Trilium Screenshot" width="1000"></a>## ⏬ Download- [Latest release](https://github.com/TriliumNext/Trilium/releases/latest) – stable version, recommended for most users.@@ -35,14 +35,14 @@ See [screenshots](https://triliumnext.github.io/Docs/Wiki/screenshot-tour) for qOur documentation is available in multiple formats:- **Online Documentation**: Browse the full documentation at [docs.triliumnotes.org](https://docs.triliumnotes.org/)- **In-App Help**: Press `F1` within Trilium to access the same documentation directly in the application-- **GitHub**: Navigate through the [User Guide](./docs/User%20Guide/User%20Guide/) in this repository+- **GitHub**: Navigate through the [User Guide](./User%20Guide/User%20Guide/) in this repository### Quick Links- [Getting Started Guide](https://docs.triliumnotes.org/)-- [Installation Instructions](./docs/User%20Guide/User%20Guide/Installation%20&%20Setup/Server%20Installation.md)-- [Docker Setup](./docs/User%20Guide/User%20Guide/Installation%20&%20Setup/Server%20Installation/1.%20Installing%20the%20server/Using%20Docker.md)-- [Upgrading TriliumNext](./docs/User%20Guide/User%20Guide/Installation%20%26%20Setup/Upgrading%20TriliumNext.md)-- [Basic Concepts and Features](./docs/User%20Guide/User%20Guide/Basic%20Concepts%20and%20Features/Notes.md)+- [Installation Instructions](./User%20Guide/User%20Guide/Installation%20&%20Setup/Server%20Installation.md)+- [Docker Setup](./User%20Guide/User%20Guide/Installation%20&%20Setup/Server%20Installation/1.%20Installing%20the%20server/Using%20Docker.md)+- [Upgrading TriliumNext](./User%20Guide/User%20Guide/Installation%20%26%20Setup/Upgrading%20TriliumNext.md)+- [Basic Concepts and Features](./User%20Guide/User%20Guide/Basic%20Concepts%20and%20Features/Notes.md)- [Patterns of Personal Knowledge Base](https://triliumnext.github.io/Docs/Wiki/patterns-of-personal-knowledge)## 🎁 Features@@ -54,7 +54,7 @@ Our documentation is available in multiple formats:* Seamless [note versioning](https://triliumnext.github.io/Docs/Wiki/note-revisions)* Note [attributes](https://triliumnext.github.io/Docs/Wiki/attributes) can be used for note organization, querying and advanced [scripting](https://triliumnext.github.io/Docs/Wiki/scripts)* UI available in English, German, Spanish, French, Romanian, and Chinese (simplified and traditional)-* Direct [OpenID and TOTP integration](./docs/User%20Guide/User%20Guide/Installation%20%26%20Setup/Server%20Installation/Multi-Factor%20Authentication.md) for more secure login+* Direct [OpenID and TOTP integration](./User%20Guide/User%20Guide/Installation%20%26%20Setup/Server%20Installation/Multi-Factor%20Authentication.md) for more secure login* [Synchronization](https://triliumnext.github.io/Docs/Wiki/synchronization) with self-hosted sync server* there's a [3rd party service for hosting synchronisation server](https://trilium.cc/paid-hosting)* [Sharing](https://triliumnext.github.io/Docs/Wiki/sharing) (publishing) notes to public internet@@ -62,7 +62,7 @@ Our documentation is available in multiple formats:* Sketching diagrams, based on [Excalidraw](https://excalidraw.com/) (note type "canvas")* [Relation maps](https://triliumnext.github.io/Docs/Wiki/relation-map) and [link maps](https://triliumnext.github.io/Docs/Wiki/link-map) for visualizing notes and their relations* Mind maps, based on [Mind Elixir](https://docs.mind-elixir.com/)-* [Geo maps](./docs/User%20Guide/User%20Guide/Note%20Types/Geo%20Map.md) with location pins and GPX tracks+* [Geo maps](./User%20Guide/User%20Guide/Note%20Types/Geo%20Map.md) with location pins and GPX tracks* [Scripting](https://triliumnext.github.io/Docs/Wiki/scripts) - see [Advanced showcases](https://triliumnext.github.io/Docs/Wiki/advanced-showcases)* [REST API](https://triliumnext.github.io/Docs/Wiki/etapi) for automation* Scales well in both usability and performance upwards of 100 000 notes@@ -71,7 +71,7 @@ Our documentation is available in multiple formats:* [Evernote](https://triliumnext.github.io/Docs/Wiki/evernote-import) and [Markdown import & export](https://triliumnext.github.io/Docs/Wiki/markdown)* [Web Clipper](https://triliumnext.github.io/Docs/Wiki/web-clipper) for easy saving of web content* Customizable UI (sidebar buttons, user-defined widgets, ...)-* [Metrics](./docs/User%20Guide/User%20Guide/Advanced%20Usage/Metrics.md), along with a [Grafana Dashboard](./docs/User%20Guide/User%20Guide/Advanced%20Usage/Metrics/grafana-dashboard.json)+* [Metrics](./User%20Guide/User%20Guide/Advanced%20Usage/Metrics.md), along with a [Grafana Dashboard](./User%20Guide/User%20Guide/Advanced%20Usage/Metrics/grafana-dashboard.json)✨ Check out the following third-party resources/communities for more TriliumNext related goodies:diff --git a/scripts/translation/manage-readme.ts b/scripts/translation/manage-readme.tsindex 457795d823..413c8ac688 100644--- a/scripts/translation/manage-readme.ts+++ b/scripts/translation/manage-readme.ts@@ -13,7 +13,11 @@ const docsDir = join(rootDir, "docs");async function handleBaseFile() {// Read the README at root level.const readmePath = join(rootDir, "README.md");- const readme = await readFile(readmePath, "utf-8");+ let readme = await readFile(readmePath, "utf-8");++ // Rewrite relative links.+ readme = readme.replaceAll("./docs/", "./");+ readme = readme.replaceAll("./README.md", "../README.md");// Copy it into docs.const outputPath = join(docsDir, "README.md");