Skip to content

Commit

Permalink
Feature: Netlify-native redirects over hard-coded redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
VitroidFPV committed Dec 8, 2024
1 parent 79e617a commit 8472f35
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 168 deletions.
31 changes: 31 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[[redirects]]
from = "/about"
to = "/docs/wiki/getting-started"

[[redirects]]
from = "/baro"
to = "/docs/wiki/guides/current/barometer"

[[redirects]]
from = "/development"
to = "/docs/development"

[[redirects]]
from = "/failsafe"
to = "/docs/wiki/guides/current/Failsafe"

[[redirects]]
from = "/guides"
to = "/docs/wiki/guides"

[[redirects]]
from = "/releases"
to = "/docs/category/release-notes"

[[redirects]]
from = "/setup"
to = "/docs/wiki/getting-started/setup-guide"

[[redirects]]
from = "/wiki"
to = "/docs/wiki"
18 changes: 0 additions & 18 deletions src/pages/about.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/pages/about.md

This file was deleted.

18 changes: 0 additions & 18 deletions src/pages/baro.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/pages/baro.md

This file was deleted.

18 changes: 0 additions & 18 deletions src/pages/development.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/pages/development.md

This file was deleted.

18 changes: 0 additions & 18 deletions src/pages/failsafe.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/pages/failsafe.md

This file was deleted.

18 changes: 0 additions & 18 deletions src/pages/guides.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/pages/guides.md

This file was deleted.

18 changes: 0 additions & 18 deletions src/pages/releases.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/pages/releases.md

This file was deleted.

18 changes: 0 additions & 18 deletions src/pages/setup.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/pages/setup.md

This file was deleted.

18 changes: 0 additions & 18 deletions src/pages/wiki.js

This file was deleted.

3 changes: 0 additions & 3 deletions src/pages/wiki.md

This file was deleted.

0 comments on commit 8472f35

Please sign in to comment.