Skip to content

docs(contributing): added section about how we handle page routing#4806

Open
flippedcoder wants to merge 4 commits into
mainfrom
mm/page-routing-guidelines
Open

docs(contributing): added section about how we handle page routing#4806
flippedcoder wants to merge 4 commits into
mainfrom
mm/page-routing-guidelines

Conversation

@flippedcoder

@flippedcoder flippedcoder commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

What does this PR do?

We were inconsistently using the slug field in the frontmatter and it causes unexpected issues with redirects. This aims to clarify when and why to use the slug field.

Notes to reviewers

┆Attachments: EDU-6635 docs(contributing): added section about how we handle page routing

@flippedcoder flippedcoder self-assigned this Jul 1, 2026
@vercel

vercel Bot commented Jul 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Jul 2, 2026 11:01pm

Request Review

@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

📖 Docs PR preview links

This PR does not change any pages in /docs. If you make updates, links to the modified pages will appear here.

Comment thread CONTRIBUTING.md Outdated

If you are considering using a custom slug, answer these questions first:

- Does the page _need_ a custom URL? If so, why?

@lennessyy lennessyy Jul 1, 2026

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think it would be more helpful for us to define what, if any, valid reasons there are to have slugs?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I'm with you on this, but I haven't been able to figure out a good reason for the slugs, other than "convenience." And because it'll break a lot of links if we remove them.

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.

Yeah... I wasn't sure if we even want to recommend using slugs at all. I did make an update to this so let me know what y'all think. But honestly, I'm leaning towards removing it and just saying we don't recommend using slugs at all.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think the update is good for now. We should think through if our current slugs are needed in any case (or if we could just move things around) and if so, we can update the doc

@flippedcoder flippedcoder marked this pull request as ready for review July 2, 2026 19:42
@flippedcoder flippedcoder requested a review from a team as a code owner July 2, 2026 19:42
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.

4 participants