Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Add redirects #142

Merged
merged 1 commit into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading