Skip to content

feat: new docs ia - #29364

Merged
charislam merged 4 commits into
masterfrom
feat/docs-new-ia
Oct 9, 2024
Merged

charislam merged 4 commits into
masterfrom
feat/docs-new-ia

Conversation

@charislam

Copy link
Copy Markdown
Contributor

New Docs IA, mainly splitting up the miscellaneous bucket that is Platform into multiple sections

@vercel

vercel Bot commented Sep 18, 2024 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 9, 2024 4:27pm
5 Skipped Deployments
Name Status Preview Comments Updated (UTC)
design-system ⬜️ Ignored (Inspect) Visit Preview Oct 9, 2024 4:27pm
studio ⬜️ Ignored (Inspect) Visit Preview Oct 9, 2024 4:27pm
studio-self-hosted ⬜️ Ignored (Inspect) Visit Preview Oct 9, 2024 4:27pm
studio-staging ⬜️ Skipped (Inspect) Oct 9, 2024 4:27pm
zone-www-dot-com ⬜️ Skipped (Inspect) Oct 9, 2024 4:27pm

@supabase

supabase Bot commented Sep 18, 2024

Copy link
Copy Markdown

No changes detected in supabase directory.
This pull request has been ignored for the connected project xguihxuzqibwxjnimxev due to its connection settings.
Go to Project Integrations Settings ↗︎ in order to change this behavior.


Branching Preview Branches by Supabase.
Learn more about Supabase for Git ↗︎.

@@ -0,0 +1,157 @@
---

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copied from the old updating and migrating guide

charislam and others added 3 commits October 9, 2024 11:42
* chore: refactor cli docs page

* Apply suggestions from code review

Co-authored-by: Charis <[email protected]>

* chore: rename schema migrations docs to overview

* chore: add back overview doc id

---------

Co-authored-by: Charis <[email protected]>
@vercel
vercel Bot temporarily deployed to Preview – studio-staging October 9, 2024 16:23 Inactive
@vercel
vercel Bot temporarily deployed to Preview – zone-www-dot-com October 9, 2024 16:23 Inactive
@charislam
charislam merged commit 41d924b into master Oct 9, 2024
@charislam
charislam deleted the feat/docs-new-ia branch October 9, 2024 16:38
encima pushed a commit that referenced this pull request Nov 19, 2024
New Docs IA, mainly splitting up the miscellaneous bucket that is Platform into multiple sections
alexisintech added a commit that referenced this pull request Oct 9, 2026
…51495)

Resolves
[DOCS-1252](https://linear.app/supabase/issue/DOCS-1252/resolve-e2e-broken-link-errors-for-the-cli-guide).

#48453 updated most `/cli` links to `/local-development`. This PR covers
the remaining `/cli` references.

## Changes

- **Delete `apps/docs/content/guides/cli.mdx`.** The file has had no
route since the October 2024 docs IA reorganization (#29364), which
moved the CLI guides under `local-development/`.
- In production, `/docs/guides/cli` redirects to
`/docs/guides/local-development` through `apps/www/lib/redirects.js`, so
the file's content never renders.
- On Vercel previews, which don't have `www` redirects, the URL returns
404. Docs E2E tests every changed guide file, so any edit to `cli.mdx`
fails the required check.
- Deleting it is safe for Docs E2E, which only scopes added or changed
files. The redirect still covers the old URL.
- **Update the connection-refused troubleshooting page** to link to
`/docs/guides/local-development` instead of the redirected
`/docs/guides/cli`.
- **Point the "Go to Local Dev / CLI" command palette entry at
`/guides/local-development`.** It routed to `/guides/cli`, which only
resolves through the `www` redirect and returns 404 on previews.
- **Remove the unused `cli` navigation menu** from
`NavigationMenu.constants.ts`. No `MenuId` resolves to it, so it was
never rendered, and its links pointed to pages that no longer exist.

Question for @czenko: 
#48453 left `cli.mdx` alone on purpose, describing it as needing a
routing or content decision. Deleting it seemed like the simplest fix,
but is there a reason to keep it? It looks like it's an artifact that
sometimes gets updated because it's being mistaken as a living document.
Also, I believe troubleshooting guides are being currently moved - this
ticket and change might coincide with the new
https://github.com/supabase/troubleshooting repository, but I didn't see
this file existing in there just yet - it's being currently being moved
in this PR
https://github.com/supabase/troubleshooting/pull/330/changes#diff-b5908c6861f711c3a38fba99aa133cdb796f26c27a35e77c674cb21f988a1046
(so I think I should do the link change in that PR and I can remove it
from this PR as to not create merge conflicts or drift). But it makes
questions come up about how broken links are handled in that repository
👀

---------

Co-authored-by: Miranda Limonczenko <[email protected]>

This branch was successfully deployed

2 active (1 outdated) and 2 inactive deployments
Preview – docs — 3702e1d7 Deployed Oct 9, 2024 by vercel[bot]
Preview – zone-www-dot-com — 3702e1d7 Deployed Oct 9, 2024 by vercel[bot]
Preview – studio-staging — 3702e1d7 Deployed Oct 9, 2024 by vercel[bot]
Preview – design-system — eaedc2e1 Deployed Sep 18, 2024 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants