-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
redirects.config.ts
116 lines (101 loc) · 6.58 KB
/
redirects.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
export default {
// fromExtensions: [ 'html', 'htm' ], // /myPage.html -> /myPage
// toExtensions: [ 'exe', 'zip' ], // /myAsset -> /myAsset.zip (if latter exists)
redirects: [
// { from: '/community/events-and-articles.html', to: '' },
// { from: '/community/index.html', to: '' },
// { from: '/community/sponsors.html', to: '' },
// { from: '/support.html', to: '' },
{ from: '/privacy-policy/', to: '/legal/privacy-policy/' },
{ from: '/license/', to: '/legal/license/' },
{ from: '/handbook/api-testing/blended-testing/', to: '/handbook/web-testing/blended-testing/' },
{ from: '/handbook/about/', to: '/handbook/getting-started/' },
{ from: '/handbook/about/architecture/', to: '/handbook/getting-started/architecture' },
{ from: '/handbook/about/installation/', to: '/handbook/getting-started/installation' },
{ from: '/handbook/about/serenity-js-v3/', to: '/handbook/getting-started/upgrading-to-serenity-js-3' },
{ from: '/handbook/getting-started/serenity-js-with-webdriverio/', to: '/handbook/test-runners/webdriverio' },
// Old changelog
{ from: '/changelog/', to: '/releases/' },
{ from: '/changelog/3.24.0/', to: 'https://github.com/serenity-js/serenity-js/releases/tag/v3.24.0' },
{ from: '/changelog/3.21.0/', to: 'https://github.com/serenity-js/serenity-js/releases/tag/v3.21.0' },
{ from: '/changelog/3.15.0/', to: 'https://github.com/serenity-js/serenity-js/releases/tag/v3.15.0' },
{ from: '/changelog/3.3.0/', to: 'https://github.com/serenity-js/serenity-js/releases/tag/v3.3.0/' },
{ from: '/changelog/3.2.0/', to: 'https://github.com/serenity-js/serenity-js/releases/tag/v3.2.0/' },
// Serenity/JS v2 website
{
from: '/handbook/thinking-in-serenity-js/screenplay-pattern.html',
to: '/handbook/design/screenplay-pattern'
},
{ from: '/contributing/', to: '/community/contributing/' },
{ from: '/contributing.html', to: '/community/contributing/' },
{ from: '/handbook/about.html', to: '/handbook/getting-started' },
{ from: '/handbook/demo.html', to: '/handbook/getting-started' },
{ from: '/handbook/design/abilities.html', to: '/api/core/class/Ability' },
{
from: [
'/handbook/design/actors.html',
'/handbook/thinking-in-serenity-js/actors-and-asynchrony.html'
], to: '/api/core/class/Actor'
},
{ from: '/handbook/design/errors.html', to: '/api/core/class/RuntimeError' },
{ from: '/handbook/design/interactions.html', to: '/api/core/class/Interaction' },
{ from: '/handbook/design/questions.html', to: '/api/core/class/Question' },
{
from: [
'/handbook/design/screenplay-pattern.html',
'/design/screenplay-pattern.html'
], to: '/handbook/design/screenplay-pattern'
},
{ from: '/handbook/design/tasks.html', to: '/api/core/class/Task' },
{ from: '/handbook/design/the-trouble-with-test-scripts.html', to: '/handbook/design' },
{ from: '/handbook/integration/architecture.html', to: '/handbook/getting-started/architecture' },
{ from: '/handbook/integration/installation.html', to: '/handbook/getting-started/installation' },
{
from: '/handbook/integration/jira-and-other-issue-trackers.html',
to: '/handbook/integration/jira-and-other-issue-trackers'
},
{ from: '/handbook/integration/runtime-dependencies.html', to: '/handbook/getting-started/installation' },
{ from: '/handbook/integration/serenityjs-and-cucumber.html', to: '/handbook/test-runners/cucumber' },
{ from: '/handbook/integration/serenityjs-and-jasmine.html', to: '/handbook/test-runners/jasmine' },
{ from: '/handbook/integration/serenityjs-and-mocha.html', to: '/handbook/test-runners/mocha' },
{ from: '/handbook/integration/serenityjs-and-protractor.html', to: '/handbook/test-runners/protractor' },
{ from: '/handbook/release-notes/index.html', to: '/releases/' },
{
from: [
'/handbook/integration/serenity-2-migration-guide.html',
'/handbook/release-notes/serenity-js-2.html',
'/handbook/release-notes/serenity-js-3.html'
], to: '/handbook/getting-started/upgrading-to-serenity-js-3'
},
{ from: '/handbook/release-notes/versioning.html', to: '/releases/versioning' },
{ from: '/handbook/reporting/artifact-archiver.html', to: '/handbook/reporting/artifact-archiver' },
{ from: '/handbook/reporting/console-reporter.html', to: '/handbook/reporting/console-reporter' },
{ from: '/handbook/reporting/serenity-bdd-reporter.html', to: '/handbook/reporting/serenity-bdd-reporter' },
{ from: '/handbook/reporting/stream-reporter.html', to: '/handbook/reporting/stream-reporter' },
{ from: '/handbook/thinking-in-serenity-js/assertions.html', to: '/handbook/design/assertions' },
{
from: [
'/handbook/thinking-in-serenity-js/hello-serenity-js.html',
'/handbook/why-serenityjs.html'
], to: '/handbook'
},
{ from: '/handbook/thinking-in-serenity-js/index.html', to: '/handbook/design/' },
{ from: '/handbook/thinking-in-serenity-js/test-runners.html', to: '/handbook/test-runners/' },
{ from: '/handbook/thinking-in-serenity-js/testing-rest-apis.html', to: '/handbook/api-testing/' },
{ from: '/handbook/thinking-in-serenity-js/testing-web-uis.html', to: '/handbook/web-testing/' },
{ from: '/license.html', to: '/legal/license/' },
{ from: '/changelog.html', to: '/releases' },
// Serenity/JS v2 API docs
{ from: '/modules/assertions', to: '/api/assertions' },
{ from: '/modules/console-reporter', to: '/api/console-reporter' },
{ from: '/modules/core', to: '/api/core' },
{ from: '/modules/cucumber', to: '/api/cucumber' },
{ from: '/modules/jasmine', to: '/api/jasmine' },
{ from: '/modules/local-server', to: '/api/local-server' },
{ from: '/modules/mocha', to: '/api/mocha' },
{ from: '/modules/protractor', to: '/api/protractor' },
{ from: '/modules/rest', to: '/api/rest' },
{ from: '/modules/serenity-bdd', to: '/api/serenity-bdd' },
{ from: '/modules/webdriverio', to: '/api/webdriverio' },
],
}