Skip to content

docs: add recipes landing page - #10413

Closed
sundeep-dayalan wants to merge 5 commits into
vitest-dev:mainfrom
sundeep-dayalan:docs/recipes-index-page
Closed

sundeep-dayalan wants to merge 5 commits into
vitest-dev:mainfrom
sundeep-dayalan:docs/recipes-index-page

Conversation

@sundeep-dayalan

Copy link
Copy Markdown

Summary

Adds a landing page at /guide/recipes/ that lists all 11 recipes grouped by category, with a one-sentence description of each. Also adds a link to the sidebar "Recipes" group so the section header navigates to the index page.

Closes #10381

What changed

  • docs/guide/recipes/index.md — new landing page with recipes grouped into four categories: Setup and Teardown, Async and Concurrency, Assertions, Watch Mode and Browser
  • docs/.vitepress/config.ts — added link: '/guide/recipes/' to the Recipes sidebar section

Test plan

  • Run pnpm docs locally and verify the Recipes sidebar header is now clickable and navigates to the index page
  • Confirm each recipe link on the index page resolves correctly

Add an index page at /guide/recipes/ that lists all recipes grouped by
category (setup/teardown, async/concurrency, assertions, watch/browser)
with a one-sentence description of each recipe's purpose.

Also add `link` to the sidebar Recipes group so clicking the section
header navigates to the new index page.

Closes vitest-dev#10381

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings May 21, 2026 03:11
@netlify

netlify Bot commented May 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for vitest-dev ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 0482745
🔍 Latest deploy log https://app.netlify.com/projects/vitest-dev/deploys/6a11eaed141d4800084c60d8
😎 Deploy Preview https://deploy-preview-10413--vitest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@sundeep-dayalan

Copy link
Copy Markdown
Author

This is my PR. I reviewed the changes and they look correct to me.

Copilot AI left a comment

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.

Pull request overview

Adds a new “Recipes” landing page under the Guide and makes the “Recipes” sidebar section header navigable to that index page, improving discoverability of the existing recipe docs.

Changes:

  • Added /guide/recipes/ index page that groups 11 recipes into 4 categories with short descriptions.
  • Updated VitePress sidebar config so the “Recipes” group header links to the new landing page.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
docs/guide/recipes/index.md New recipes landing page with categorized links and descriptions.
docs/.vitepress/config.ts Makes the Recipes sidebar group header clickable by adding a link to the index page.

Comment thread docs/guide/recipes/index.md Resolved
Replace <div class="recipes-grid"> wrappers (which suppress markdown
parsing in VitePress and rely on a non-existent CSS class) with standard
markdown bullet lists. All links and descriptions now render correctly.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sundeep-dayalan sundeep-dayalan mentioned this pull request May 21, 2026
1 of 4 tasks

@sheremet-va sheremet-va left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Doesn't look like referenced Astro example - https://docs.astro.build/en/recipes/

We don't want a list of them, it's already in the sidebar

@sheremet-va sheremet-va added the maybe automated User is likely an AI agent, or the content was generated by an AI assistant without user control label May 23, 2026
@github-actions

Copy link
Copy Markdown

Hello @sundeep-dayalan. Your PR has been labeled maybe automated because it appears to have been fully generated by AI with no human involvement. It will be closed automatically in 3 days unless a real person responds.

If you're a real person behind this contribution, please:

  • Confirm you've personally reviewed and stand behind its content
  • Make sure it follows our contribution guidelines and uses the correct GitHub template
  • Disclose any AI tools you used (e.g. Claude, Copilot, Codex)

If you believe this was flagged by mistake, leave a comment.

These measures help us reduce maintenance burden and keep the team's work efficient. See our AI contributions policy for more context.

@sundeep-dayalan

Copy link
Copy Markdown
Author

This is my PR. I reviewed the changes and I used Claude for coding assistant

@sheremet-va sheremet-va removed the maybe automated User is likely an AI agent, or the content was generated by an AI assistant without user control label May 23, 2026
@sheremet-va sheremet-va closed this Jun 1, 2026
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docs: Recipes Follow-Up

3 participants