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.
This commit is contained in:
Thomas Camlong committed 2026-06-11 21:25:25 +02:00
1 parent 28ceb37cbf
commit 905f795b56
3 files changed
+9 -6

No files matched your search

+1 -1
View File
@@ -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).
You can get into contact with us [here](/docs/community/get-in-touch).
@@ -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
+3
View File
@@ -29,6 +29,9 @@ const config: Config = {
fasterByDefault: true,
mdx1CompatDisabledByDefault: false,
},
faster: {
swcHtmlMinimizer: false,
},
},
markdown: {