forked from jellyfin/jellyfin.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
redirects.ts
42 lines (41 loc) · 1.19 KB
/
redirects.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
import * as ClientRedirects from '@docusaurus/plugin-client-redirects';
const redirects: ClientRedirects.Options['redirects'] = [
// These pages existed on the jellyfin-blog site, but were not fully configured
{
from: ['/categories', '/tags'],
to: '/posts'
},
// Jellyfin 10.8 and below linked to this subtitle docs page
{
from: ['/docs/general/server/media/subtitles', '/docs/general/server/media/subtitles.html'],
to: '/docs/general/server/media/external-files'
},
// Storage docs moved from the server guide to administrative docs
{
from: '/docs/general/server/storage',
to: '/docs/general/administration/storage'
},
// Unified client + server download pages
{
from: '/clients',
to: '/downloads/clients/'
},
{
from: '/clients/all',
to: '/downloads/clients/all'
},
// New installation documentation
{
from: '/docs/general/administration/installing',
to: '/docs/general/installation/'
},
{
from: '/docs/general/administration/install/synology',
to: '/docs/general/installation/synology'
},
{
from: '/docs/general/administration/building',
to: '/docs/general/installation/source'
}
];
export default redirects;