MetaMask / mm-docs-v2

MetaMask developer documentation v2
https://docs.metamask.io
Apache License 2.0
15 stars 5 forks source link

Added redirects #70

Closed shanejonas closed 1 year ago

shanejonas commented 1 year ago

This adds support for redirects from the old site pathsto mm-docs-v2 new paths we have.

fixes #34

adonesky1 commented 1 year ago

How can I test this?

vandan commented 1 year ago

How can I test this?

Although we can't test by hitting production URLs, can it be tested by hitting the relative paths for the redirects (everything after "https://docs.metamask.io/" from the redirect list here)?

shanejonas commented 1 year ago

you need to run it with yarn build && yarn serve to see the redirects, they only work in the build with this plugin.

adonesky1 commented 1 year ago

you need to run it with yarn build && yarn serve to see the redirects, they only work in the build with this plugin.

Should we add this to the readme?

shanejonas commented 1 year ago

created a ticket about the README updates: https://github.com/MetaMask/mm-docs-v2/issues/84