Skip to content

Commit

Permalink
Add redirects (#142)
Browse files Browse the repository at this point in the history
  • Loading branch information
drwpow authored Nov 6, 2023
1 parent 385d324 commit 29ab64d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions docs/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/docs/getting-started /guides/getting-started 301
/docs/guides/best-practices /guides/tokens 301
/docs/guides/design-tokens /guides/tokens 301
/docs/guides/figma /integrations/figma 301
/docs/guides/modes /guides/modes 301
/docs/integrations/css /integrations/css 301
/docs/integrations/custom-plugins /advanced/plugin-api 301
/docs/integrations/js /integrations/js 301
/docs/integrations/sass /integrations/sass 301
/docs/integrations/tailwind /integrations/tailwind 301
/docs/integrations/tokens-studio /integrations/figma 301
/docs/reference/about /advanced/about 301
/docs/reference/cli /guides/cli 301
/docs/reference/config /advanced/config 301
/docs/tokens /tokens/color 301
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"dev": "vitepress dev",
"build": "vitepress build",
"build": "del .vitepress/dist && vitepress build && cp _redirects .vitepress/dist",
"preview": "vitepress preview"
},
"dependencies": {
Expand Down

0 comments on commit 29ab64d

Please sign in to comment.