-
Notifications
You must be signed in to change notification settings - Fork 24
/
_redirects
72 lines (61 loc) · 6.78 KB
/
_redirects
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
# These rules will change if you change your site’s custom domains or HTTPS settings
# Force-included in Jekyll `_site` folder per https://www.netlify.com/docs/redirects
# Redirect default Netlify subdomain to primary domain
https://dita-ot.netlify.com/* https://www.dita-ot.org/:splat 301!
# Preserve publicly shared links to relocated topics https://github.com/dita-ot/website/issues/43
/3.0/dev_ref/html-customization-plugin-bundle-css.html /3.0/topics/html-customization-plugin-bundle-css.html 301!
/3.0/dev_ref/migration.html /3.0/topics/migration.html 301!
/3.0/dev_ref/plugin-newtranstype.html /3.0/topics/plugin-newtranstype.html 301!
/dev/dev_ref/html-customization-properties-file.html /dev/topics/html-customization-properties-file.html 301!
/dev/dev_ref/map-first-preprocessing.html /dev/reference/map-first-preprocessing.html 301!
/dev/dev_ref/migrating-ant-to-dita.html /dev/topics/migrating-ant-to-dita.html 301!
/dev/dev_ref/migration.html /dev/topics/migration.html 301!
/dev/dev_ref/pdf-customization-best-practices.html /dev/topics/plugin-best-practices.html 301!
/dev/dev_ref/plugin-addgeneratedtext.html /dev/topics/plugin-addgeneratedtext.html 301!
/dev/parameters/lib-configuration-properties.html /dev/parameters/configuration-properties-file.html 301!
/dev/parameters/lib-plugin-properties.html /dev/parameters/plugin-properties-file.html 301!
/dev/parameters/local-properties.html /dev/parameters/local-properties-file.html 301!
/dev/topics/extending-the-ot.html /dev/topics/customizing.html 301!
/dev/topics/rebuilding-the-dita-ot-documentation.html /dev/topics/rebuilding-docs.html 301!
# Redirect old installation URL (linked from DITA-OT Gradle Plugin docs)
# Fixed in DITA-OT Gradle Plugin docs source repo with https://github.com/eerohele/dita-ot-gradle/pull/22,
# but the change was apparently never deployed to site https://eerohele.github.io/dita-ot-gradle
/dev/getting-started/installing-client.html /dev/topics/installing-client.html 301!
# Redirect spurious resource requests (Top 404s)
/dev/user-guide/dita2markdown.html /dev/topics/dita2markdown.html 301!
/2.0/parameters/ant-parameters-javahelp-transformation.html /2.0/readme/ant-parameters-javahelp-transformation.html 301!
# Redirect formerly-uppercase filenames https://github.com/dita-ot/website/issues/282
/dev/reference/DITA-features-in-docs.html /dev/reference/docs-dita-features.html 301!
/dev/reference/DITA_spec-support.html /dev/reference/dita-spec-support.html 301!
/dev/reference/DITA_v1-2-support.html /dev/reference/dita-v1-2-support.html 301!
/dev/reference/DITA_v1-3-support.html /dev/reference/dita-v1-3-support.html 301!
/dev/reference/html5.html /dev/reference/html5-processing.html 301!
/dev/reference/XhtmlCHM.html /dev/reference/htmlhelp-processing.html 301!
/dev/reference/XhtmlCommon.html /dev/reference/common-html-processing.html 301!
/dev/reference/XhtmlDefault.html /dev/reference/xhtml-processing.html 301!
/dev/reference/XhtmlEclipse.html /dev/reference/eclipsehelp-processing.html 301!
/dev/reference/XhtmlWithNavigation.html /dev/reference/html-based-processing.html 301!
/dev/topics/using-plugin-URI-extension.html /dev/topics/referencing-other-plugins.html 301!
# Redirect deep links with message IDs first & catch lowercase variants
/dev/topics/DITA-messages.html* /dev/topics/error-messages.html:splat 301!
/dev/topics/dita-messages.html* /dev/topics/error-messages.html:splat 301!
/dev/topics/DITA-messages.html /dev/topics/error-messages.html 301!
# Point XML namespace for project files to corresponding docs topic
/project /dev/topics/using-project-files.html 301!
# Retain & redirect slack subdomain for convenience https://github.com/dita-ot/website/pull/291
https://slack.dita-ot.org https://join.slack.com/t/dita-ot/shared_invite/enQtODMxNjQ0MzAyMDg3LWZhZjk4NmM3MmU4YWI4MTM2NTVkMDg3ZmY4MjA1YzM0ZWI3NmY3NTc5ZmY5NzQ2MGU1NjA4YWIwMTJlMWUyNTY 301!
http://slack.dita-ot.org https://join.slack.com/t/dita-ot/shared_invite/enQtODMxNjQ0MzAyMDg3LWZhZjk4NmM3MmU4YWI4MTM2NTVkMDg3ZmY4MjA1YzM0ZWI3NmY3NTc5ZmY5NzQ2MGU1NjA4YWIwMTJlMWUyNTY 301!
# Redirect topics merged or renamed for 3.5
/dev/topics/alternative-input-formats.html /dev/topics/input-formats.html 301!
/dev/topics/customizing.html /dev/topics/custom-plugins.html 301!
/dev/topics/log-files.html /dev/topics/logging.html 301!
/dev/topics/plugin-applications.html /dev/topics/plugin-use-cases.html 301!
/dev/topics/plugin-best-practices.html /dev/topics/plugin-coding-conventions.html 301!
/dev/topics/plugin-sample.html /dev/topics/plugin-configfile.html 301!
# Redirect to pretty URLs for chapter landing pages and preserve any fragment IDs
/dev/index.html* /dev/:splat 301!
/dev/release-notes/index.html* /dev/release-notes/:splat 301!
/dev/parameters/index.html* /dev/parameters/:splat 301!
/dev/reference/index.html* /dev/reference/:splat 301!
# Plug-in registry SPA
/plugins/* /plugins.html 200