seamapi / docs

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

Create redirects for every page under `api-clients` #303

Closed razor-x closed 2 weeks ago

razor-x commented 3 weeks ago

For every rename we do in https://github.com/seamapi/docs/issues/304, we need to add a redirect to https://github.com/seamapi/docs/blob/beta/.gitbook.yaml

For example, if we do

- * [Access Control Systems](api-clients/access-control-systems/README.md)
+ * [Access Control Systems](api-clients/acs/README.md)
-  * [Systems](api-clients/access-control-systems/systems/README.md)
+  * [Systems](api-clients/acs/systems/README.md)
-    * [List Systems](api-clients/access-control-systems/systems/list-systems.md)
+    * [List Systems](api-clients/acs/systems/list.md)

Then we need to add

redirects:
  api-clients/access-control-systems: api-clients/acs/README.md
  api-clients/access-control-systems/systems: api-clients/acs/systems/README.md
  api-clients/access-control-systems/systems/list-systems: api-clients/acs/systems/list.md

We can then find/replace all links in the docs to point to the new files.

razor-x commented 3 weeks ago

Related to https://github.com/seamapi/docs/issues/304