Skip to content

Keep the root workspace example focused on tmux - #54

Merged
tony merged 3 commits into
mainfrom
docs-root-workspace
Sep 30, 2026
Merged

tony merged 3 commits into
mainfrom
docs-root-workspace

Conversation

@tony

@tony tony commented Sep 30, 2026 •

Copy link
Copy Markdown
Contributor

The root workspace example repeats incomplete language excerpts and long source inventories beside complete port examples. It now teaches tmux with a command file and a complete shell program, followed by compact port links and one manual citation. The eight existing port URLs lead to their owned examples, preserving source-section links and port switching.

Static redirects now retain query strings and section fragments. The shared redirect page also supplies the port-home fallback and keeps a canonical URL, noindex metadata, a visible link, and a meta refresh for browsers without JavaScript. Three unused source excerpts and their stale API backlinks are removed.

Verification covers English latest output and Linux:

  • The exact shell program and configuration pass 16 cases on tmux 3.2a and 3.7c, including invalid input, partial creation, cleanup failure, and an unchanged independent control server.
  • Deliberate foreign-language and missing-alias changes fail the content/routing check. The old static redirect demonstrably drops query strings and fragments.
  • The combined local gate passes in 51.28 seconds after correcting the assembled counterpart expectations. The previous hosted run exposed that stale assertion; it was reproduced locally before the correction. Nine built pages preserve 19 verified program/project files across HTML, clipboard payloads, Markdown, and LLM exports.
  • Four desktop/phone and light/dark browser cases pass, including eight actual copy buttons. All eight legacy routes preserve their source fragment; the JavaScript-disabled fallback works. Four filtered searches find canonical pages without indexing the aliases.

ShellCheck reports SC2329 for the cleanup function called through the EXIT trap. Native failure cases exercise that callback; the warning is not suppressed.

why: The shared workspace page repeated incomplete language excerpts and
long source inventories beside existing complete port examples.

what:
- Show a complete tmux command file and isolated shell program at the root
- Keep compact port links and the existing source-section anchors
- Redirect legacy port example paths to their owned workspace pages
- Regenerate API mentions and remove the three unused source excerpts
- Protect native program bytes and forward/reverse port routing

verification: Sixteen native cases pass on tmux 3.2a and 3.7c, including
parse errors, partial creation, shutdown errors and control isolation.
Foreign-language and missing-alias controls fail as expected. The outer
local gate passes in 47.89 seconds.
why: A static meta refresh discards an incoming section fragment and
query string. Existing workspace example citations stopped at the top
of the new page after moving to the complete port examples.

what:
- Share a redirect page between guide aliases and port-home fallbacks
- Carry the query string and fragment to the canonical destination
- Keep a noindex canonical page and JavaScript-disabled meta fallback
- Retain legacy source-section anchors on the eight workspace examples
- Exercise section links and the no-JavaScript path in the browser gate

verification: The built old Go alias drops its source-section fragment.
The fresh-source browser gate keeps the fragment and query, finds the
legacy anchor, and reaches the page with JavaScript disabled. The full
outer local gate passes in 47.51 seconds.
why: The Python workspace example now shares its task alias with the
native builder examples. The publication test still expected only the
old same-section routes and rejected the valid seven new links.

what:
- Check each canonical counterpart, including the native Internals pages
- Keep same-section expectations for other product pages and versions
- Require every expected counterpart destination to exist

Verification: Reproduced the CI assertion locally, then passed the
focused assembled-output check and the full local gate in 51.28 seconds.
@tony
tony deployed to docs-preview September 30, 2026 05:45 — with GitHub Actions Active
@tony
tony merged commit 12434d6 into main Sep 30, 2026
3 checks passed
@tony
tony deployed to docs-preview-cleanup September 30, 2026 06:01 — with GitHub Actions Active
tony added a commit that referenced this pull request Sep 30, 2026
what:
- Teach the root task with a complete tmux shell program and config
- Link compactly to the corresponding port-owned examples
- Preserve query strings and fragments through static redirects

why:
Repeated language excerpts and source inventories obscure the shared
tmux task. Complete programs belong on their port pages, and existing
links must continue to reach the intended source section.

This branch was successfully deployed

2 active deployments
docs-preview-cleanup — 4f9559e3 Deployed Sep 30, 2026 by tony via cleanup #48
docs-preview — 4f9559e3 Deployed Sep 30, 2026 by tony via publish-preview / publish #347
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant