Skip to content

Commit 38ab065

Browse files
committed
Enable worker cache as recommended
1 parent 08348ae commit 38ab065

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

docusaurus.config.js

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,12 @@ const darkCodeTheme = require("prism-react-renderer").themes.dracula;
99
/** @type {import('@docusaurus/types').Config} */
1010
const config = {
1111
future: {
12-
experimental_faster: true,
12+
v4: {
13+
removeLegacyPostBuildHeadAttribute: true, // required
14+
},
15+
experimental_faster: {
16+
ssgWorkerThreads: true,
17+
},
1318
},
1419

1520
title: "Flathub Documentation",
@@ -78,14 +83,7 @@ const config = {
7883
hashed: true,
7984
},
8085
],
81-
[
82-
require.resolve("@gabrielcsapo/docusaurus-plugin-matomo"),
83-
{
84-
matomoUrl: "https://webstats.gnome.org/",
85-
siteId: "40",
86-
siteUrl: "https://docs.flathub.org/",
87-
},
88-
],
86+
"docusaurus-plugin-matomo",
8987
[
9088
require.resolve("@docusaurus/plugin-client-redirects"),
9189
{
@@ -128,6 +126,10 @@ const config = {
128126
content: "flatpak, flathub, packaging, tool, linux, desktop, apps",
129127
},
130128
],
129+
matomo: {
130+
matomoUrl: "https://webstats.gnome.org/",
131+
siteId: "40",
132+
},
131133
navbar: {
132134
title: "Flathub",
133135
logo: {

0 commit comments

Comments
 (0)