Skip to content

Commit e1499f0

Browse files
committed
Broken link fixes
1 parent 91f67ff commit e1499f0

File tree

3 files changed

+1378
-628
lines changed

3 files changed

+1378
-628
lines changed

website/docusaurus.config.js

Lines changed: 31 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,29 @@ module.exports = {
66
favicon: "img/favicon.ico",
77
organizationName: "nodegui", // Usually your GitHub org/user name.
88
projectName: "react-nodegui", // Usually your repo name.
9+
onBrokenLinks: "warn",
10+
onDuplicateRoutes: "warn",
911
themeConfig: {
1012
navbar: {
1113
title: "React NodeGui",
1214
logo: {
1315
alt: "NodeGui Logo",
14-
src: "img/logo-circle.png"
16+
src: "img/logo-circle.png",
1517
},
16-
links: [
18+
items: [
1719
{ to: "docs/guides/getting-started", label: "Docs", position: "right" },
1820
{
1921
to: "docs/api/interfaces/buttonprops",
2022
label: "API",
21-
position: "right"
23+
position: "right",
2224
},
2325
{ to: "blog", label: "Blog", position: "right" },
2426
{
2527
href: "https://github.com/nodegui/react-nodegui",
2628
label: "GitHub",
27-
position: "right"
28-
}
29-
]
29+
position: "right",
30+
},
31+
],
3032
},
3133
footer: {
3234
style: "dark",
@@ -35,66 +37,66 @@ module.exports = {
3537
title: "Docs",
3638
items: [
3739
{ to: "docs/guides/getting-started", label: "Getting Started" },
38-
{ to: "docs/api/interfaces/buttonprops", label: "API" }
39-
]
40+
{ to: "docs/api/interfaces/buttonprops", label: "API" },
41+
],
4042
},
4143
{
4244
title: "Community",
4345
items: [
4446
{
4547
label: "Spectrum",
46-
href: "https://spectrum.chat/nodegui"
48+
href: "https://spectrum.chat/nodegui",
4749
},
4850
{
4951
label: "Twitter",
50-
to: "https://twitter.com/node_gui"
52+
to: "https://twitter.com/node_gui",
5153
},
5254
{
5355
label: "Medium",
54-
to: "https://medium.com/nodegui"
55-
}
56-
]
56+
to: "https://medium.com/nodegui",
57+
},
58+
],
5759
},
5860
{
5961
title: "More",
6062
items: [
6163
{
6264
label: "Blog",
63-
to: "blog"
65+
to: "blog",
6466
},
6567
{
6668
label: "NodeGui",
67-
to: "https://nodegui.org"
69+
to: "https://nodegui.org",
6870
},
6971
{
7072
label: "FAQ",
71-
to: "https://nodegui.org/faq"
72-
}
73-
]
74-
}
73+
to: "https://nodegui.org/faq",
74+
},
75+
],
76+
},
7577
],
76-
copyright: `Copyright © ${new Date().getFullYear()} NodeGui`
78+
copyright: `Copyright © ${new Date().getFullYear()} NodeGui`,
7779
},
7880
googleAnalytics: {
79-
trackingID: "UA-145065218-2"
81+
trackingID: "UA-145065218-2",
8082
},
8183
algolia: {
8284
apiKey: "6ab12d669678aeba3bdf10b89f0c8db3",
8385
indexName: "nodegui_react",
84-
algoliaOptions: {} // Optional, if provided by Algolia
85-
}
86+
algoliaOptions: {}, // Optional, if provided by Algolia
87+
},
8688
},
8789
presets: [
8890
[
8991
"@docusaurus/preset-classic",
9092
{
9193
docs: {
92-
sidebarPath: require.resolve("./sidebars.js")
94+
sidebarPath: require.resolve("./sidebars.js"),
9395
},
9496
theme: {
95-
customCss: require.resolve("./src/css/custom.css")
96-
}
97-
}
98-
]
99-
]
97+
customCss: require.resolve("./src/css/custom.css"),
98+
},
99+
},
100+
],
101+
],
100102
};

website/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
"deploy": "docusaurus deploy"
1111
},
1212
"dependencies": {
13-
"@docusaurus/core": "^2.0.0-alpha.48",
14-
"@docusaurus/plugin-google-analytics": "^2.0.0-alpha.48",
15-
"@docusaurus/preset-classic": "^2.0.0-alpha.48",
13+
"@docusaurus/core": "^2.0.0-alpha.64",
14+
"@docusaurus/plugin-google-analytics": "^2.0.0-alpha.64",
15+
"@docusaurus/preset-classic": "^2.0.0-alpha.64",
1616
"classnames": "^2.2.6",
1717
"react": "^16.8.4",
1818
"react-dom": "^16.8.4",

0 commit comments

Comments
 (0)