Skip to content

doc: comline doc open, doc --open - #123

Merged
Kinflou merged 1 commit into
mainfrom
doc/open
Nov 2, 2026
Merged

Kinflou merged 1 commit into
mainfrom
doc/open

Conversation

@Kinflou

@Kinflou Kinflou commented Nov 2, 2026

Copy link
Copy Markdown
Member

Adds comline doc open [FORMAT] and comline doc --open.

  • open opens <out>/<format>/index.html / index.md / index.json with the system's default handler (--out read as in comline doc). No format: html if configured, else the first configured one.
  • A missing index is rendered first (as comline doc --format F); an existing one is opened as is, with one line saying so and how to refresh.
  • HTML honours $BROWSER. With no display or a failing handler it prints the absolute path and a hint and exits 0.
  • comline doc without a subcommand is unchanged.
  • Uses opener =0.9.0 (released 2026-09-29), default features off (reveal pulls in D-Bus).
  • Re-pins generation (Type and Value columns, page titles; generation#106), comline-rust (Pin core, codegen and both generators for connections #94) and comline-typescript (conformance: move the runtime pin to conformance spec 0.2 #113), and the tests/fixtures/generators pins. Generated code is byte-identical; only the doc renderers changed.
  • Updates docs/cli.md.

…mline-rust and comline-typescript revs with the Type/Value columns
@Kinflou
Kinflou merged commit 05aa648 into main Nov 2, 2026
2 checks passed
@Kinflou
Kinflou deleted the doc/open branch November 2, 2026 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant