forked from carbon-design-system/carbon-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrewrite.conf
41 lines (32 loc) · 1.87 KB
/
rewrite.conf
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
# Guidelines rewrites
rewrite /guidelines/iconography/(.*) /guidelines/icons/\$1 permanent;
rewrite /guidelines/layout /guidelines/2x-grid/basics/\$1 permanent;
rewrite /guidelines/content/glossary /guidelines/content/action-labels permanent;
# Experimental -> Cloud, Data, and AI
rewrite /experimental/cards/(.*) https://pages.github.ibm.com/CDAI-design/CDAI-design-website/components/card/\$1 permanent;
rewrite /experimental/dashboard-widgets/(.*) https://pages.github.ibm.com/CDAI-design/CDAI-design-website/components/widget/\$1 permanent;
rewrite /experimental/order-summary-template/(.*) https://pages.github.ibm.com/CDAI-design/CDAI-design-website/patterns/order-summary/\$1 permanent;
# Experimental -> community
rewrite /experimental/(.*) /community/patterns/\$1 permanent;
# Community index
rewrite /community/components /community/component-index permanent;
# IA Updates 8/2020
# All about Carbon
rewrite /get-started/about-carbon /all-about-carbon/what-is-carbon permanent;
rewrite /contributing/governance /all-about-carbon/how-we-work permanent;
# Designing
rewrite /get-started/design/(.*) /designing/get-started/kits/\$1 permanent;
# Contributions rewrites
rewrite /how-to-contribute/(.*) /contributing/\$1 permanent;
# What's happening
rewrite /updates/whats-new /whats-happening/changelog-and-roadmap permanent;
rewrite /updates/work-in-progress /whats-happening/work-in-progress permanent;
# Help
rewrite /updates/migration-guide/(.*) /help/migration-guide/\$1 permanent;
rewrite /help/support /help/contact-us permanent;
# Developing
rewrite /get-started/develop/(.*) /developing/frameworks/\$1 permanent;
rewrite /resources /developing/developer-resources permanent;
rewrite /tutorial/angular/(.*) /developing/angular-tutorial/\$1 permanent;
rewrite /tutorial/react/(.*) /developing/react-tutorial/\$1 permanent;
rewrite /tutorial/vue/(.*) /developing/vue-tutorial/\$1 permanent;