Skip to content

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

Add Contributing section to README and social icons to docs footer (#131)

Maximilian Roos3bbd168ba4c8
diff --git a/README.md b/README.md
index 850d1b9b9..34fb5f14b 100644
--- a/README.md
+++ b/README.md
@@ -140,4 +140,11 @@ $ wt config shell install
<!-- END AUTO-GENERATED -->
+## Contributing
+
+- ⭐ Star the repo
+- πŸ› [Open an issue](https://github.com/max-sixty/worktrunk/issues) with feedback or feature requests
+- πŸ’‘ What worktree friction does Worktrunk not yet solve? [Tell us](https://github.com/max-sixty/worktrunk/issues)
+- πŸ“£ Share: [X](https://twitter.com/intent/tweet?text=Worktrunk%20%E2%80%94%20CLI%20for%20git%20worktree%20management&url=https%3A%2F%2Fworktrunk.dev) Β· [Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Fworktrunk.dev&title=Worktrunk%20%E2%80%94%20CLI%20for%20git%20worktree%20management) Β· [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fworktrunk.dev)
+
> ## πŸ“š Full documentation at [worktrunk.dev](https://worktrunk.dev) πŸ“š
diff --git a/docs/content/faq.md b/docs/content/faq.md
index df914083d..0b602c70d 100644
--- a/docs/content/faq.md
+++ b/docs/content/faq.md
@@ -133,13 +133,6 @@ $ cargo install worktrunk --no-default-features
This disables bash syntax highlighting in command output but keeps all core functionality. The syntax highlighting feature requires C99 compiler support and can fail on older systems or minimal Docker images.
-## How can I contribute?
-
-- Star the repo
-- Try it out and [open an issue](https://github.com/max-sixty/worktrunk/issues) with feedback
-- Send to a friend
-- Post about it on [X](https://twitter.com/intent/tweet?text=Worktrunk%20%E2%80%94%20CLI%20for%20git%20worktree%20management&url=https%3A%2F%2Fgithub.com%2Fmax-sixty%2Fworktrunk), [Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Fgithub.com%2Fmax-sixty%2Fworktrunk&title=Worktrunk%20%E2%80%94%20CLI%20for%20git%20worktree%20management), or [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fgithub.com%2Fmax-sixty%2Fworktrunk)
-
## Running tests (for contributors)
### Quick tests
@@ -155,3 +148,11 @@ Shell integration tests require bash, zsh, and fish:
```bash
$ cargo test --test integration --features shell-integration-tests
```
+
+## How can I contribute?
+
+- Star the repo
+- Try it out and [open an issue](https://github.com/max-sixty/worktrunk/issues) with feedback
+- What worktree friction does Worktrunk not yet solve? [Tell us](https://github.com/max-sixty/worktrunk/issues)
+- Send to a friend
+- Post about it on [X](https://twitter.com/intent/tweet?text=Worktrunk%20%E2%80%94%20CLI%20for%20git%20worktree%20management&url=https%3A%2F%2Fworktrunk.dev), [Reddit](https://www.reddit.com/submit?url=https%3A%2F%2Fworktrunk.dev&title=Worktrunk%20%E2%80%94%20CLI%20for%20git%20worktree%20management), or [LinkedIn](https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fworktrunk.dev)
diff --git a/docs/sass/custom.scss b/docs/sass/custom.scss
index f2ba2ff36..1f0c5edfd 100644
--- a/docs/sass/custom.scss
+++ b/docs/sass/custom.scss
@@ -668,20 +668,35 @@ footer {
padding: 1.5rem 0;
border-top: 1px solid var(--wt-color-border-subtle);
display: flex;
- flex-direction: row;
justify-content: center;
- gap: 2rem;
- flex-wrap: wrap;
background-color: var(--wt-color-bg-soft);
+}
+
+.footer-social {
+ display: flex;
+ gap: 0.75rem;
a {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 40px;
+ height: 40px;
+ border-radius: 50%;
color: var(--wt-color-text-muted);
- font-size: 0.9rem;
- transition: all 150ms;
+ background: var(--wt-color-bg);
+ border: 1px solid var(--wt-color-border-subtle);
+ transition: color 150ms, border-color 150ms, background 150ms;
- &:hover {
+ &:hover,
+ &:focus-visible {
color: var(--wt-color-text);
- text-decoration: underline;
+ border-color: var(--wt-color-accent);
+ background: var(--wt-color-accent-soft);
+ }
+
+ svg {
+ flex-shrink: 0;
}
}
}
@@ -1188,25 +1203,6 @@ input:focus-visible {
color: var(--wt-color-text);
}
-// Footer link underlines
-footer a {
- position: relative;
-
- &::after {
- content: "";
- position: absolute;
- left: 0;
- bottom: -1px;
- width: 0;
- height: 1px;
- background: var(--wt-color-text-muted);
- transition: width 200ms ease-out;
- }
-
- &:hover::after {
- width: 100%;
- }
-}
// Nav item hover underlines
header nav .nav-item {
diff --git a/docs/templates/base.html b/docs/templates/base.html
index c74662084..7477c2b28 100644
--- a/docs/templates/base.html
+++ b/docs/templates/base.html
@@ -162,10 +162,33 @@
</main>
<footer>
- <span><a href="https://github.com/max-sixty/worktrunk">GitHub</a></span>
- <span><a href="https://crates.io/crates/worktrunk">Crates.io</a></span>
- <span><a href="/">Documentation</a></span>
- <span><a href="https://github.com/max-sixty/worktrunk/issues">Issues</a></span>
+ <div class="footer-social">
+ <a href="https://github.com/max-sixty/worktrunk" aria-label="GitHub" title="GitHub">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
+ <path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0024 12c0-6.63-5.37-12-12-12z"/>
+ </svg>
+ </a>
+ <a href="https://crates.io/crates/worktrunk" aria-label="Crates.io" title="Crates.io">
+ <svg width="20" height="20" viewBox="0 0 512 512" fill="currentColor">
+ <path d="M239.1 6.3l-208 78c-18.7 7-31.1 25-31.1 45v225.1c0 18.2 10.3 34.8 26.5 42.9l208 104c13.5 6.8 29.4 6.8 42.9 0l208-104c16.3-8.1 26.5-24.8 26.5-42.9V129.3c0-20-12.4-37.9-31.1-44.9l-208-78C262.4 2.2 249.6 2.2 239.1 6.3zM256 68.4l192 72v1.1l-192 78-192-78v-1.1l192-72zm32 356V275.5l160-65v160.4l-160 53.5z"/>
+ </svg>
+ </a>
+ <a href="https://twitter.com/intent/tweet?text=Worktrunk%20%E2%80%94%20CLI%20for%20git%20worktree%20management&url=https%3A%2F%2Fworktrunk.dev" aria-label="Share on X" title="Share on X">
+ <svg width="18" height="18" viewBox="0 0 24 24" fill="currentColor">
+ <path d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"/>
+ </svg>
+ </a>
+ <a href="https://www.reddit.com/submit?url=https%3A%2F%2Fworktrunk.dev&title=Worktrunk%20%E2%80%94%20CLI%20for%20git%20worktree%20management" aria-label="Share on Reddit" title="Share on Reddit">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
+ <path d="M12 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12 12 12 0 0 0 12-12A12 12 0 0 0 12 0zm5.01 4.744c.688 0 1.25.561 1.25 1.249a1.25 1.25 0 0 1-2.498.056l-2.597-.547-.8 3.747c1.824.07 3.48.632 4.674 1.488.308-.309.73-.491 1.207-.491.968 0 1.754.786 1.754 1.754 0 .716-.435 1.333-1.01 1.614a3.111 3.111 0 0 1 .042.52c0 2.694-3.13 4.87-7.004 4.87-3.874 0-7.004-2.176-7.004-4.87 0-.183.015-.366.043-.534A1.748 1.748 0 0 1 4.028 12c0-.968.786-1.754 1.754-1.754.463 0 .898.196 1.207.49 1.207-.883 2.878-1.43 4.744-1.487l.885-4.182a.342.342 0 0 1 .14-.197.35.35 0 0 1 .238-.042l2.906.617a1.214 1.214 0 0 1 1.108-.701zM9.25 12C8.561 12 8 12.562 8 13.25c0 .687.561 1.248 1.25 1.248.687 0 1.248-.561 1.248-1.249 0-.688-.561-1.249-1.249-1.249zm5.5 0c-.687 0-1.248.561-1.248 1.25 0 .687.561 1.248 1.249 1.248.688 0 1.249-.561 1.249-1.249 0-.687-.562-1.249-1.25-1.249zm-5.466 3.99a.327.327 0 0 0-.231.094.33.33 0 0 0 0 .463c.842.842 2.484.913 2.961.913.477 0 2.105-.056 2.961-.913a.361.361 0 0 0 .029-.463.33.33 0 0 0-.464 0c-.547.533-1.684.73-2.512.73-.828 0-1.979-.196-2.512-.73a.326.326 0 0 0-.232-.095z"/>
+ </svg>
+ </a>
+ <a href="https://www.linkedin.com/sharing/share-offsite/?url=https%3A%2F%2Fworktrunk.dev" aria-label="Share on LinkedIn" title="Share on LinkedIn">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
+ <path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/>
+ </svg>
+ </a>
+ </div>
</footer>
</body>