Skip to content

Commit 1d394c6

Browse files
committed
home page updates
1 parent bc4dba7 commit 1d394c6

2 files changed

Lines changed: 21 additions & 3 deletions

File tree

docs/src/content/docs/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,11 @@ GitHub understands stacks end-to-end: the pull request UI shows a **stack map**
5353
<Image src={stackNavigator} alt="The stack navigator in a pull request header" />
5454
</div>
5555

56-
## How It Works
56+
## Working with Stacks
5757

58-
The `gh stack` CLI handles the local workflow: creating branches, managing rebases, pushing to GitHub, and creating PRs with the correct base branches. On GitHub, the PR UI gives reviewers the context they need — a stack map for navigation, focused diffs for each layer, and proper rules enforcement.
58+
**While the `gh stack` CLI makes the local workflow seamless, it is entirely optional.** You can create and manage Stacked PRs directly via the GitHub UI, the API, or your standard Git workflow. If you choose to use the CLI, it handles creating branches, managing rebases, pushing to GitHub, and creating PRs with the correct base branches. On GitHub, the PR UI gives reviewers the context they need — a stack map for navigation, focused diffs for each layer, and proper rules enforcement.
5959

60-
When you're ready to merge, you can merge all or a part of the stack. Each PR can be merged directly or through the merge queue. After a merge, the remaining PRs in the stack are automatically rebased so the lowest unmerged PR targets the base branch.
60+
When you're ready to merge, you can merge all or a part of the stack. Each PR can be merged directly or through the merge queue. **If you want to merge multiple PRs at once (e.g., the bottom two PRs in a stack), simply wait for CI to pass on those specific layers, and you can merge them in a single step.** After a merge, the remaining PRs in the stack are automatically rebased so the lowest unmerged PR targets the updated base branch.
6161

6262
## Get Started
6363

docs/src/styles/custom.css

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,16 @@ header starlight-theme-select {
248248
margin-right: auto;
249249
}
250250

251+
.hero .tagline code {
252+
font-size: 0.9em;
253+
letter-spacing: -0.02em;
254+
word-spacing: -0.1em;
255+
padding: 0.15em 0.4em;
256+
border-radius: 6px;
257+
background: rgba(110, 118, 129, 0.15);
258+
font-weight: 500;
259+
}
260+
251261
/* Center the action button group */
252262
.hero .sl-flex .sl-flex {
253263
justify-content: center !important;
@@ -596,6 +606,14 @@ a.sl-link-button[data-variant='primary']:hover,
596606
/* Code blocks and tables — let Starlight/ExpressiveCode handle layout.
597607
Colors flow through the --sl-color-* variables set above. */
598608

609+
/* Light mode copy button: make icon visible on light code blocks */
610+
:root[data-theme='light'] .expressive-code .copy button {
611+
background-color: rgba(175, 184, 193, 0.3) !important;
612+
}
613+
:root[data-theme='light'] .expressive-code .copy button::after {
614+
background-color: #1f2328 !important;
615+
}
616+
599617
/* Blockquotes — light color adjustments only */
600618
.sl-markdown-content blockquote {
601619
color: #9198a1;

0 commit comments

Comments
 (0)