From 905f795b5607744d0aeec4bb65d84aabd1505047 Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Thu, 11 Jun 2026 21:25:25 +0200 Subject: [PATCH] fix(docs): disable swcHtmlMinimizer and fix broken links The SWC HTML minifier rejects slightly invalid HTML that browsers tolerate, breaking the build on every page. Disable it while keeping all other Docusaurus Faster optimizations. Also fix broken relative links in after-the-installation.mdx and donate.mdx by using absolute paths. --- apps/docs/docs/community/donate.mdx | 2 +- .../docs/getting-started/after-the-installation.mdx | 10 +++++----- apps/docs/docusaurus.config.ts | 3 +++ 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/apps/docs/docs/community/donate.mdx b/apps/docs/docs/community/donate.mdx index b21c62230..aeb95dcac 100644 --- a/apps/docs/docs/community/donate.mdx +++ b/apps/docs/docs/community/donate.mdx @@ -22,4 +22,4 @@ Homarr is completely free to use. We'd highly appreciate if you consider donatin ## Where to donate We accept donations on our official [OpenCollective](https://opencollective.com/homarr). You may also sponsor us directly by providing a useful service / product to us other means. -You can get into contact with us [here](./get-in-touch). \ No newline at end of file +You can get into contact with us [here](/docs/community/get-in-touch). \ No newline at end of file diff --git a/apps/docs/docs/getting-started/after-the-installation.mdx b/apps/docs/docs/getting-started/after-the-installation.mdx index 6ad808c6e..4ad231754 100644 --- a/apps/docs/docs/getting-started/after-the-installation.mdx +++ b/apps/docs/docs/getting-started/after-the-installation.mdx @@ -21,7 +21,7 @@ import manageImportDecryptionToken from "./img/old-homarr-import-decryption-toke :::tip -Read our [glossary](./glossary) if you are new to Homarr. +Read our [glossary](/docs/getting-started/glossary) if you are new to Homarr. ::: @@ -345,12 +345,12 @@ When you first open a board, a tour highlights the board header elements: search You're done with the basic setup 🔥. Now it's time to organize and customize even more. We highly recommend you to experiment with different options, styles and configurations. See these curated pages for your next steps: -- Create new apps using the [apps management](../management/apps/) -- Customize your board or add more boards using the [boards management](../management/boards/) -- Integrate software that you use using the [integrations management](../management/integrations) +- Create new apps using the [apps management](/docs/management/apps/) +- Customize your board or add more boards using the [boards management](/docs/management/boards/) +- Integrate software that you use using the [integrations management](/docs/management/integrations/) - Choose from our beautiful and interactive [widgets](/docs/category/widgets) - See [all supported integrations](/docs/category/integrations) -- Integrate with Homarr with your own application using [the API](../management/api/) +- Integrate with Homarr with your own application using [the API](/docs/management/api/) :::danger diff --git a/apps/docs/docusaurus.config.ts b/apps/docs/docusaurus.config.ts index 5017528bb..432c882d2 100644 --- a/apps/docs/docusaurus.config.ts +++ b/apps/docs/docusaurus.config.ts @@ -29,6 +29,9 @@ const config: Config = { fasterByDefault: true, mdx1CompatDisabledByDefault: false, }, + faster: { + swcHtmlMinimizer: false, + }, }, markdown: {