Skip to content

docs(stacks): rewrite stacks section as full product documentation#10970

Merged
mergify[bot] merged 1 commit intomainfrom
devs/jd/worktree-stacks/I82cec436ccacfeccbf29498db92057983dc337ea
Apr 10, 2026
Merged

docs(stacks): rewrite stacks section as full product documentation#10970
mergify[bot] merged 1 commit intomainfrom
devs/jd/worktree-stacks/I82cec436ccacfeccbf29498db92057983dc337ea

Conversation

@jd
Copy link
Copy Markdown
Member

@jd jd commented Apr 9, 2026

Replace the single /stacks page with a 7-page product section:

  • Landing page with product pitch and DocsetGrid
  • Concepts (Change-Id, branch mapping, PR chaining)
  • Setup (CLI install, hook verification, config)
  • Creating Stacks (end-to-end tutorial)
  • Updating Stacks (amend, reorder, squash, add, remove)
  • Reviewing Stacks (reviewer's guide)
  • Team Adoption (rollout guide, comparison with alternatives)

Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com

@jd
Copy link
Copy Markdown
Member Author

jd commented Apr 9, 2026

This pull request is part of a stack:

  1. docs(stacks): rewrite stacks section as full product documentation (#10970) 👈

@mergify mergify bot had a problem deploying to Mergify Merge Protections April 9, 2026 12:57 Failure
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 9, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 🤖 Continuous Integration

Wonderful, this rule succeeded.
  • all of:
    • check-success = build
    • check-success = lint
    • check-success = test
    • any of:
      • check-success = test-broken-links
      • label = ignore-broken-links
    • any of:
      • check-success=Cloudflare Pages
      • -head-repo-full-name~=^Mergifyio/

🟢 👀 Review Requirements

Wonderful, this rule succeeded.
  • any of:
    • #approved-reviews-by >= 2
    • author = dependabot[bot]
    • author = mergify-ci-bot

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert)(?:\(.+\))?:

🟢 🔎 Reviews

Wonderful, this rule succeeded.
  • #changes-requested-reviews-by = 0
  • #review-requested = 0
  • #review-threads-unresolved = 0

🟢 📕 PR description

Wonderful, this rule succeeded.
  • body ~= (?ms:.{48,})

@jd jd force-pushed the devs/jd/worktree-stacks/I82cec436ccacfeccbf29498db92057983dc337ea branch from 83a663a to c0e3f4a Compare April 9, 2026 14:52
@mergify mergify bot had a problem deploying to Mergify Merge Protections April 9, 2026 14:52 Failure
@jd jd marked this pull request as ready for review April 9, 2026 15:01
Copilot AI review requested due to automatic review settings April 9, 2026 15:01
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR rewrites the existing single-page Stacks documentation into a full multi-page product section and updates navigation/UI components to support the new docs structure.

Changes:

  • Adds a full “Stacks” documentation section (overview + 6 subpages) with diagrams and screenshots.
  • Updates site navigation to include a dedicated “Stacks” sidebar group with child pages.
  • Introduces a new StackMapping diagram component and tweaks GitGraph linear rendering sizing/padding for better layout.

Reviewed changes

Copilot reviewed 10 out of 14 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
src/content/navItems.tsx Adds a “Stacks” nav group with subpages; removes the old single-link entry.
src/content/images/stack-comment.png Adds screenshot used in Stacks reviewer/overview docs.
src/content/images/github-delete-head-branches.png Adds screenshot used in Stacks setup prerequisites.
src/content/docs/stacks.mdx Replaces the old Stacks page with a landing page + docset grid + diagrams.
src/content/docs/stacks/concepts.mdx Adds “Concepts” page covering Change-Id, branch mapping, PR chaining, and smart updates.
src/content/docs/stacks/setup.mdx Adds “Setup” page with prerequisites, setup steps, verification, and config options.
src/content/docs/stacks/creating.mdx Adds “Creating Stacks” tutorial including screenshots and CLI workflow.
src/content/docs/stacks/updating.mdx Adds “Updating Stacks” guide for amend/edit/reorder/add/drop/squash and post-merge behavior.
src/content/docs/stacks/reviewing.mdx Adds reviewer guide explaining stacked PR navigation and workflow.
src/content/docs/stacks/team.mdx Adds team adoption/rollout guidance and comparison table.
src/components/StackMapping.astro New SVG diagram component for explaining commit→branch→PR mapping.
src/components/GitGraph.astro Adjusts linear layout padding and adds dynamic max-width sizing for rendered SVGs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jd jd force-pushed the devs/jd/worktree-stacks/I720770b645e7a50ee7fcb8288fa1651675fda44a branch from 97a81ca to 6af92de Compare April 9, 2026 15:11
@jd jd force-pushed the devs/jd/worktree-stacks/I82cec436ccacfeccbf29498db92057983dc337ea branch from c0e3f4a to b62096a Compare April 9, 2026 15:11
@mergify mergify bot had a problem deploying to Mergify Merge Protections April 9, 2026 15:11 Failure
@mergify mergify bot requested a review from a team April 9, 2026 15:13
sileht
sileht previously approved these changes Apr 10, 2026
@mergify mergify bot requested a review from a team April 10, 2026 06:03
Base automatically changed from devs/jd/worktree-stacks/I720770b645e7a50ee7fcb8288fa1651675fda44a to main April 10, 2026 07:04
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 10, 2026

@jd this pull request is now in conflict 😩

@mergify mergify bot added the conflict label Apr 10, 2026
Replace the single /stacks page with a 7-page product section:
- Landing page with product pitch and DocsetGrid
- Concepts (Change-Id, branch mapping, PR chaining)
- Setup (CLI install, hook verification, config)
- Creating Stacks (end-to-end tutorial)
- Updating Stacks (amend, reorder, squash, add, remove)
- Reviewing Stacks (reviewer's guide)
- Team Adoption (rollout guide, comparison with alternatives)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Change-Id: I82cec436ccacfeccbf29498db92057983dc337ea
Claude-Session-Id: a911b6ad-5466-48a4-b4d3-85198ebc7c28
@jd jd force-pushed the devs/jd/worktree-stacks/I82cec436ccacfeccbf29498db92057983dc337ea branch from b62096a to f9fcb6d Compare April 10, 2026 07:07
@mergify mergify bot removed the conflict label Apr 10, 2026
@mergify mergify bot dismissed sileht’s stale review April 10, 2026 07:07

Pull request has been modified.

@mergify mergify bot deployed to Mergify Merge Protections April 10, 2026 07:07 Active
@mergify mergify bot requested a review from a team April 10, 2026 07:28
@mergify
Copy link
Copy Markdown
Contributor

mergify bot commented Apr 10, 2026

Merge Queue Status

This pull request spent 2 minutes 56 seconds in the queue, including 2 minutes 33 seconds running CI.

Required conditions to merge

mergify bot added a commit that referenced this pull request Apr 10, 2026
@mergify mergify bot added the queued label Apr 10, 2026
@mergify mergify bot merged commit 103a2eb into main Apr 10, 2026
9 of 14 checks passed
@mergify mergify bot deleted the devs/jd/worktree-stacks/I82cec436ccacfeccbf29498db92057983dc337ea branch April 10, 2026 07:44
@mergify mergify bot removed the queued label Apr 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants