seamapi / docs

Welcome to the Seam Docs.
https://docs.seam.co
4 stars 10 forks source link

Move api-clients to api (redirects only) #321

Closed razor-x closed 2 weeks ago

razor-x commented 2 weeks ago

This PR moves all urls under /api-clients to /api using the new API matching route structure. It adds redirects for all pages that were moved and updates a few links where needed, but leaves the rest alone for another PR (links will all work due to the redirects).

Verified that all existing files got a redirect expect for these which didn't move:

Verified that all redirect targets exist.

razor-x commented 2 weeks ago

Just need to fix links in the summary pointing at /api/access_codes/unmanaged-access-codes and /api/devices/unmanaged-devices.

razor-x commented 2 weeks ago

All links are working/correct now in the nav.

razor-x commented 2 weeks ago

The redirects work, but they don't fix links that point to the old references when the link ends in .md, and this does not work: a44ca44 (#321)

Going to try to just remove the .md extension from the links to the api-clients so they use the redirects.

We will eventually remove all references to api-clients so this is just a workaround until then.