Skip to content

Commit df52398

Browse files
committed
2 parents b213667 + c2946af commit df52398

File tree

5 files changed

+38
-20
lines changed

5 files changed

+38
-20
lines changed

docs/docusaurus.config.ts

+22-4
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const config: Config = {
109109
label: 'Timeline',
110110
position: 'right'
111111
},
112-
112+
113113
// {to: '/blog', label: 'Blog', position: 'left'},
114114
// {
115115
// label: 'Website',
@@ -135,7 +135,7 @@ const config: Config = {
135135
className: 'header-github-link',
136136
'aria-label': 'GitHub repository'
137137
},
138-
138+
139139
],
140140
},
141141
footer: {
@@ -233,7 +233,7 @@ const config: Config = {
233233
srcDark: 'img/logos/UptimeIndustries-logo-green.svg',
234234
height: 100
235235
},
236-
236+
237237
},
238238
prism: {
239239
theme: prismThemes.github,
@@ -276,8 +276,26 @@ const config: Config = {
276276
sidebar: {
277277
autoCollapseCategories: false
278278
}
279-
}
279+
},
280280
} satisfies Preset.ThemeConfig,
281+
282+
plugins: [
283+
[
284+
'@docusaurus/plugin-client-redirects',
285+
{
286+
redirects: [
287+
{
288+
to: '/datasheets/',
289+
from: ['/data-sheets/'],
290+
},
291+
{
292+
to: '/blade/getting-started/assembly/',
293+
from: ['/getting-started/']
294+
},
295+
],
296+
},
297+
],
298+
]
281299
};
282300

283301
export default config;

docs/package.json

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
},
1717
"dependencies": {
1818
"@docusaurus/core": "^3.5.2",
19+
"@docusaurus/plugin-client-redirects": "^3.5.2",
1920
"@docusaurus/preset-classic": "^3.5.2",
2021
"@mdx-js/react": "^3.0.1",
2122
"clsx": "^2.1.1",

docs/src/pages/data-sheets.tsx

-8
This file was deleted.

docs/src/pages/getting-started.tsx

-8
This file was deleted.

docs/yarn.lock

+15
Original file line numberDiff line numberDiff line change
@@ -1230,6 +1230,21 @@
12301230
react-helmet-async "*"
12311231
react-loadable "npm:@docusaurus/react-loadable@6.0.0"
12321232

1233+
"@docusaurus/plugin-client-redirects@^3.5.2":
1234+
version "3.5.2"
1235+
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-client-redirects/-/plugin-client-redirects-3.5.2.tgz#ace1549e30cfca42dbc625f92920ea66a3cd7b1d"
1236+
integrity sha512-GMU0ZNoVG1DEsZlBbwLPdh0iwibrVZiRfmdppvX17SnByCVP74mb/Nne7Ss7ALgxQLtM4IHbXi8ij90VVjAJ+Q==
1237+
dependencies:
1238+
"@docusaurus/core" "3.5.2"
1239+
"@docusaurus/logger" "3.5.2"
1240+
"@docusaurus/utils" "3.5.2"
1241+
"@docusaurus/utils-common" "3.5.2"
1242+
"@docusaurus/utils-validation" "3.5.2"
1243+
eta "^2.2.0"
1244+
fs-extra "^11.1.1"
1245+
lodash "^4.17.21"
1246+
tslib "^2.6.0"
1247+
12331248
"@docusaurus/plugin-content-blog@3.5.2":
12341249
version "3.5.2"
12351250
resolved "https://registry.yarnpkg.com/@docusaurus/plugin-content-blog/-/plugin-content-blog-3.5.2.tgz#649c07c34da7603645f152bcebdf75285baed16b"

0 commit comments

Comments
 (0)