gravitational / docs

Source code backing goteleport.com/docs
https://goteleport.com/docs
Apache License 2.0
11 stars 13 forks source link

Add automatic redirect logic #453

Open ptgott opened 7 months ago

ptgott commented 7 months ago

When we move or delete a docs page, we need to add a redirect to docs/config.json in a gravitational/docs submodule to prevent links to the page from 404ing. Let's find an alternative to static redirects to make it easier to implement large-scale information architecture changes. Ideally, if a redirect is missing, the docs site should do something more helpful than 404. For example: