Skip to content

Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows

Refactor docs and table styling

Maximilian Roosf7a8691e03a2
diff --git a/README.md b/README.md
index dfe5037aa..d9d617522 100644
--- a/README.md
+++ b/README.md
@@ -31,8 +31,8 @@ supervision, such that it's possible to manage 5-10+ in parallel. Git worktrees
give each agent its own working directory; no stepping on each other's changes.
But the git worktree UX is clunky. Even a task as simple as starting a new
-worktree requires typing the branch name three times: `git worktree add -b feature
-../repo.feature`, then `cd ../repo.feature`.
+worktree requires typing the branch name three times: `git worktree add -b feat
+../repo.feat`, then `cd ../repo.feat`.
## Worktrunk makes git worktrees simple
@@ -51,22 +51,22 @@ Start with the core commands; add workflow automation as needed.
<tbody>
<tr>
<td>Switch worktrees</td>
- <td><code>wt switch feature</code></td>
- <td><pre>cd ../repo.feature</pre></td>
+ <td><code>wt switch feat</code></td>
+ <td><pre>cd ../repo.feat</pre></td>
</tr>
<tr>
<td>Create + start Claude</td>
- <td><code>wt switch -c -x claude feature</code></td>
- <td><pre>git worktree add -b feature ../repo.feature && \
-cd ../repo.feature && \
+ <td><code>wt switch -c -x claude feat</code></td>
+ <td><pre>git worktree add -b feat ../repo.feat && \
+cd ../repo.feat && \
claude</pre></td>
</tr>
<tr>
<td>Clean up</td>
<td><code>wt remove</code></td>
<td><pre>cd ../repo && \
-git worktree remove ../repo.feature && \
-git branch -d feature</pre></td>
+git worktree remove ../repo.feat && \
+git branch -d feat</pre></td>
</tr>
<tr>
<td>List with status</td>
diff --git a/docs/content/worktrunk.md b/docs/content/worktrunk.md
index f5cdcadc4..41a6f0dcd 100644
--- a/docs/content/worktrunk.md
+++ b/docs/content/worktrunk.md
@@ -22,8 +22,8 @@ supervision, such that it's possible to manage 5-10+ in parallel. Git worktrees
give each agent its own working directory; no stepping on each other's changes.
But the git worktree UX is clunky. Even a task as simple as starting a new
-worktree requires typing the branch name three times: `git worktree add -b feature
-../repo.feature`, then `cd ../repo.feature`.
+worktree requires typing the branch name three times: `git worktree add -b feat
+../repo.feat`, then `cd ../repo.feat`.
## Worktrunk makes git worktrees simple
@@ -42,22 +42,22 @@ Start with the core commands; add workflow automation as needed.
<tbody>
<tr>
<td>Switch worktrees</td>
- <td><code>wt switch feature</code></td>
- <td>{% rawcode() %}cd ../repo.feature{% end %}</td>
+ <td><code>wt switch feat</code></td>
+ <td>{% rawcode() %}cd ../repo.feat{% end %}</td>
</tr>
<tr>
<td>Create + start Claude</td>
- <td><code>wt switch -c -x claude feature</code></td>
- <td>{% rawcode() %}git worktree add -b feature ../repo.feature && \
-cd ../repo.feature && \
+ <td><code>wt switch -c -x claude feat</code></td>
+ <td>{% rawcode() %}git worktree add -b feat ../repo.feat && \
+cd ../repo.feat && \
claude{% end %}</td>
</tr>
<tr>
<td>Clean up</td>
<td><code>wt remove</code></td>
<td>{% rawcode() %}cd ../repo && \
-git worktree remove ../repo.feature && \
-git branch -d feature{% end %}</td>
+git worktree remove ../repo.feat && \
+git branch -d feat{% end %}</td>
</tr>
<tr>
<td>List with status</td>
diff --git a/docs/sass/custom.scss b/docs/sass/custom.scss
index 0e3769ee7..6bafdbd42 100644
--- a/docs/sass/custom.scss
+++ b/docs/sass/custom.scss
@@ -537,19 +537,18 @@ main {
// Tables - Scrollable like code blocks
// ============================================================================
-// Use border-collapse: separate + overflow: clip for border-radius to work.
-// With separate borders, we remove cell borders on table edges to avoid doubling.
-// Tables naturally expand to content width; .content handles horizontal scroll.
+// Tables use display: block + overflow-x: auto for horizontal scrolling within
+// the content area. This prevents tables from breaking out of the container.
+// border-collapse: separate + overflow: clip on inner tbody handles border-radius.
.content > table {
- display: table;
- width: max-content;
- min-width: 100%;
+ display: block;
+ overflow-x: auto;
+ width: 100%;
border-collapse: separate;
border-spacing: 0;
margin: 1rem 0;
border-radius: 0.5rem;
border: 1px solid var(--wt-color-border-subtle);
- overflow: clip;
th, td {
border: 1px solid var(--wt-color-border-subtle);