Skip to content

Give each way to install the command line tool a page of its own - #25

Merged
abashev merged 1 commit into
mainfrom
abashev/install-pages
Nov 29, 2026
Merged

abashev merged 1 commit into
mainfrom
abashev/install-pages

Conversation

@abashev

@abashev abashev commented Nov 29, 2026

Copy link
Copy Markdown
Contributor

The Command line page had grown into four ways to install (Homebrew, apt, Scoop, mise), the manual download and the usage reference, behind one entry in the navigation and one card on Get started. A reader could not tell from the navigation that brew install, scoop install and apt install exist.

What changes

  • Command line becomes a section, like Library rules. get-started/command-line.md moves to get-started/command-line/index.md, so /get-started/command-line/ keeps its URL: the formatter's README and the 21.1.2 release notes link to it. The index keeps Format and check, Options and Exit codes, with their anchors, and gets a card for each way to install.
  • One page each for mise, Homebrew, Scoop, apt and Download. The text comes from the sections they replace. Download holds the file table, the native binary, the runnable jar and Verify the download.
  • Get started shows a card for each, in groups: In the build, On the command line, In the editor, In CI. These are the four places the page's first sentence already named; with five more cards, a flat grid would not show which belong together. The sentence now lists them in the order of the navigation.
  • The apt page gives the fingerprint of the repository's key, 5098 A90C 44ED 5129 8CB5 C476 D8F1 EFB5 9EE1 EB3C, and says it is not the release key that About describes. I compared it with the key that https://apt.openjavaformat.dev/key.asc serves, and with openjavaformat/apt's README.
  • Links to the old sections are repointed: #apt and #verify-the-download now go to apt.md and download.md, and the links to the page from the home page, About, AI agents, Migrate, Playground, IntelliJ IDEA and GitHub Action go to the section index or to Download.

Left alone

  • The anchors #homebrew, #apt, #scoop, #mise, #download and #verify-the-download no longer exist on /get-started/command-line/, and there is no redirect. Nothing in this repository, open-java-format, open-java-format-action, fmt-maven-plugin or the READMEs of the tap, the bucket and the apt repository links to them; a link from elsewhere would land at the top of the page.
  • About's Verify a download still names only the release key.
  • Icons: there are none for mise and Scoop in the theme, so mise has Lucide's wrench and Scoop the Windows logo.

Checked

  • zensical build --clean --strict passes.
  • Every internal link and anchor of the built site resolved in a script check over the HTML, which also fails on a missing page and a missing anchor. The link added after that, from the apt page to About, I checked on its own.
  • Looked at Get started, the Command line index and the mise page in a browser at desktop width, with the navigation on pages of the section and outside it.

The Command line page held four ways to install (Homebrew, apt, Scoop, mise), the manual
download and the usage reference, and the navigation showed one entry for all of it.

Command line is now a section, as Library rules is: its index keeps the usage (Format and
check, Options, Exit codes) at the same URL, and mise, Homebrew, Scoop, apt and Download
each have a page. Get started shows a card for each, grouped under In the build, On the
command line, In the editor and In CI. The apt page gives the fingerprint of the
repository's signing key, which is not the release key.

Links to the old sections of the page now point to the pages that hold them.
@abashev
abashev merged commit 3949a50 into main Nov 29, 2026
2 checks passed
@abashev
abashev deleted the abashev/install-pages branch November 29, 2026 09:00
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