Skip to content

Commit 9808167

Browse files
Merge pull request #809 from AvaloniaUI/luke-fix-get-started-redirects
Update get-started-redirects.js
2 parents 527be4f + 46be4f1 commit 9808167

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

redirects/get-started-redirects.js

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const redirects = [
2-
{ to: '/docs/get-started/',
2+
{ to: '/docs/get-started',
33
from: [
44
'/docs/get-started/install',
55
'/docs/get-started/set-up-an-editor',
@@ -9,17 +9,15 @@ const redirects = [
99
'/docs/reference/jetbrains-rider-ide/jetbrains-rider-setup',
1010
],
1111
},
12-
{ to: '/docs/get-started/starter-tutorial/',
12+
{ to: '/docs/get-started/starter-tutorial',
1313
from: [
1414
'/docs/get-started/test-drive/index',
1515
'/docs/get-started/test-drive/introduction',
1616
'/docs/get-started/test-drive/create-a-project',
1717
],
1818
},
1919
{ to: '/docs/get-started/starter-tutorial/adding-a-control',
20-
from: [
21-
'/docs/get-started/test-drive/add-a-control',
22-
],
20+
from: '/docs/get-started/test-drive/add-a-control',
2321
},
2422
{ to: '/docs/get-started/starter-tutorial/adding-some-layout',
2523
from: [
@@ -34,14 +32,10 @@ const redirects = [
3432
],
3533
},
3634
{ to: '/docs/get-started/starter-tutorial/establishing-events-and-responses',
37-
from: [
38-
'/docs/get-started/test-drive/respond-to-an-event',
39-
],
35+
from: '/docs/get-started/test-drive/respond-to-an-event',
4036
},
4137
{ to: '/docs/get-started/starter-tutorial/converting-data',
42-
from: [
43-
'/docs/get-started/test-drive/code-with-controls',
44-
],
38+
from: '/docs/get-started/test-drive/code-with-controls',
4539
},
4640
];
4741

0 commit comments

Comments
 (0)