Skip to content

DO NOT MERGE: publish the java prose tree to libtmux.org - #11

Open
tony wants to merge 1 commit into
masterfrom
docs-site
Open

DO NOT MERGE: publish the java prose tree to libtmux.org#11
tony wants to merge 1 commit into
masterfrom
docs-site

Conversation

@tony

@tony tony commented Sep 6, 2026

Copy link
Copy Markdown
Contributor

/en/java/latest/ returned 403 on libtmux.org — nothing had ever published under a port version prefix, so every versioned port link on the site landed on an S3 error page. This branch publishes it. It is now live and serving 200.

What this is

A temporary DO NOT MERGE commit: docs-site is in the workflow's push trigger so the tree can be published without merging anything. Drop docs-site from that trigger in whatever change eventually merges to master — otherwise an unreviewed commit on a docs branch can overwrite the published tree.

How it works

The tree is built by libtmux/docs, not here. Its scripts/build-site.sh renders the shared concepts, guides and examples with this port's code fences, reading this checkout for the example sources those pages quote — hence the two checkouts and LIBTMUX_DOCS_CHECKOUT_JAVA.

Both references to libtmux/docs pin one full-length SHA with the release in a trailing comment, rather than a tag. This repo runs that repo's build script under a role that writes the live bucket, and a tag can be repointed. They must be bumped together — the checkout governs what runs, the uses: governs the publish contract.

Published with is-default: false, so the tree is reachable and linkable but stays out of the search index and the bare port root still falls through to the landing page.

Notes

  • The docs environment was auto-created without protection rules. Its deployment branch policy is what restricts which refs may publish and should be added.
  • Authored by the libtmux/docs session with Tony's authorization.

/en/java/latest/ 403s on the live site — nothing has published under a
port version prefix. This lets docs-site publish without merging.

libtmux/docs builds the tree: build-site.sh renders the shared prose with
this port's code fences, reading this checkout for the examples those
pages quote, which is why LIBTMUX_DOCS_CHECKOUT_JAVA points at it.

javadoc.io remains the canonical Java API reference; this is the prose
tree only.

Drop docs-site from the trigger in the change that merges to master.
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