docs(v3): add missing docs for build tags, GTK4, and icon composer#5071
docs(v3): add missing docs for build tags, GTK4, and icon composer#5071leaanthony wants to merge 1 commit intov3-alphafrom
Conversation
…mposer Document the -tags flag for wails3 build (CLI reference + building guide), add GTK4 experimental support guide with dependencies and known differences, and document the -iconcomposerinput/-macassetdir flags for icon generation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
WalkthroughDocumentation updates across four guides adding support for custom Go build tags via the Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Possibly related issues
Possibly related PRs
Suggested labels
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Pull request overview
This PR closes documentation gaps in the v3 docs around passing custom build tags, enabling experimental Linux GTK4 builds, and generating macOS Icon Composer-based icons, aligning the docs with recent v3-alpha feature work.
Changes:
- Documented
wails3 build -tagsusage and how tags flow into Taskfiles. - Added “Custom Build Tags” guidance (GTK4/server examples) and a new “GTK4 Support (Experimental)” section in Linux packaging docs.
- Expanded CLI docs for
wails3 generate iconswith Icon Composer / macOS asset catalog flags and usage.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| docs/src/content/docs/quick-start/installation.mdx | Adds an installation note pointing Linux users to optional GTK4/WebKitGTK 6.0 setup and build tag usage. |
| docs/src/content/docs/guides/cli.mdx | Documents -tags on wails3 build and adds Icon Composer / macOS asset generation flags and guidance for generate icons. |
| docs/src/content/docs/guides/build/linux.mdx | Adds a comprehensive GTK4 (experimental) section: dependencies, build commands, and behavioral differences vs GTK3. |
| docs/src/content/docs/guides/build/building.mdx | Adds a “Custom Build Tags” section with examples and links to related guides. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| :::note[Optional: GTK4 Support] | ||
| Wails also has experimental GTK4 / WebKitGTK 6.0 support. If you want to build with GTK4, install the additional dependencies for your distribution and build with `wails3 build -tags gtk4`. See [Linux Packaging - GTK4](/guides/build/linux#gtk4-support-experimental) for details. | ||
| ::: |
There was a problem hiding this comment.
This page’s Linux dependency snippets above still install WebKit2GTK 4.0 dev packages (e.g. libwebkit2gtk-4.0-dev / webkit2gtk4.0-devel), but v3’s Linux build uses pkg-config webkit2gtk-4.1 (and wails3 doctor recommends the 4.1 dev packages). Please update the earlier distro install commands to 4.1 so the quick-start instructions match actual build requirements.
Summary
-tagsflag onwails3 buildcommand and the-iconcomposerinput/-macassetdirflags onwails3 generate icons-tags gtk4,-tags server, and combined tagsThese gaps were identified by cross-referencing recent v3-alpha PRs (#4958 GTK4 support, #4968 -tags flag, #4934 icon composer) against the existing documentation.
Test plan
-tagsflag examples match actual CLI behavior🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
-tagsflag for custom Go build tagsDocumentation