Skip to content

Reorganize docs around a short README front door - #162

Merged
lance0 merged 5 commits into
masterfrom
docs/front-door
Oct 16, 2026
Merged

lance0 merged 5 commits into
masterfrom
docs/front-door

Conversation

@lance0

@lance0 lance0 commented Oct 16, 2026 •

Copy link
Copy Markdown
Owner

The README is now a short front door (464 → 135 lines). Detail moves to pages with one home per fact, and every doc claim was checked against the code.

What moved where

Content Was Now
Install channels, permissions, completions, WSL2, troubleshooting README docs/INSTALL.md (new)
Download verification end of FEATURES.md docs/INSTALL.md#verify-a-download
Docker image details README, FEATURES, SCRIPTING docs/INSTALL.md#docker
Known issues/limitations README KNOWN_ISSUES.md
Keybindings, themes README and FEATURES FEATURES only
Real-world use cases README sections README "What it finds" list linking to FEATURES
Doc index (none) docs/README.md

Every removed README heading keeps its anchor as an <a id> placeholder (#installation, #from-cratesio-recommended, #permissions-linux, #shell-completions, #keybindings, #themes, #troubleshooting, #known-limitations, #real-world-use-cases, each use case, and the rest). FEATURES keeps #download-verification and #docker. Relative links and anchors across all Markdown files resolve.

Fixes to doc claims that were wrong

  • SCRIPTING jq recipes used fields the JSON export does not have (is_destination, loss_percent, avg_ms, nat_detected) and indexed responders (an object keyed by IP) by position. They were rewritten and tested against a real --json trace. Exit code 0 does not mean the destination was reached; the docs now say so.
  • The PeeringDB cache refresh key is Ctrl+R, not r.
  • Replay speed range is 0.1x to 1000x, not 0.5x to 5x.
  • --flows examples without -p udp/tcp had no effect, because the default auto mode picks ICMP.
  • --pmtud only probes in ICMP mode and conflicts with --size.
  • --resolve-all keeps both address families.
  • On macOS the config file is under ~/Library/Application Support.
  • Release archives include aarch64-unknown-linux-musl.
  • The interface flag is --interface; -i is the interval flag.
  • KNOWN_ISSUES had entries that are already fixed in code (BSD 500µs delay, NetBSD IPv4 PMTUD, TCP ignoring --rate). They moved to Resolved. The ping_group_range claim is removed because ttl doesn't use it.
  • ARCHITECTURE module tree and struct details now match the code.
  • SECURITY supported range is now 0.23.x.

Additions

  • FEATURES: a table of contents, Detection Indicators, Config File, overlay keys, and a CLI reference that matches --help.

Synced with #163 and #164 (merged from master)

  • Indicators match the TUI legend and --help: unbracketed title badges (PAUSED, RL?, ASYM, NAT, TTL!, MTU …/MTU unconfirmed, max_ttl=30), a dim RL tag after the loss value, – before a probe completes, dimmed silent hops, and host markers E ! ~ ^ +.
  • FEATURES documents the column set and narrow-width drop order, RTT ms in the title, the omitted ASN column with --no-asn, static-replay hints, the locked update-check row in Settings, the target list rows, and theme contrast and light-terminal behavior.
  • --pmtud with -p udp/tcp is now rejected, and --theme default now overrides a saved theme. KNOWN_ISSUES covers DNAT replies being kept only for a single target, and moves instance cross-talk and RL flags on silent hops to Resolved.
  • CHANGELOG [Unreleased] has entries for Fix correlation, rate-limit, ASN prefix and replay bugs #163 (Fixed), Polish the TUI: one visual language across views #164 (Changed) and this PR (Changed).

Docs only, apart from a comment fix in examples/config.toml. cargo test and cargo doc (with -D warnings) pass.

- SCRIPTING: jq recipes used fields that do not exist in the JSON export
  (is_destination, loss_percent, avg_ms, nat_detected) and indexed the
  responders object by position. Rewritten against the real schema, with a
  field table, and the exit-code section no longer implies that exit 0
  means the destination was reached.
- FEATURES: the PeeringDB cache refresh key is Ctrl+R, not r; replay speed
  range is 0.1x-1000x (also > and <); --flows examples now use UDP/TCP,
  since ICMP ignores flows; --pmtud only probes in ICMP mode and conflicts
  with --size; --resolve-all keeps both address families; the config file
  lives under ~/Library/Application Support on macOS. Adds a Detection
  Indicators section, a Config File section, overlay keys, and a CLI
  reference that matches --help (adds --no-update-check, --completions,
  ranges and mode conflicts).
- ARCHITECTURE: module tree, struct locations and field types (ProbeId.seq
  is u8, Hop lives in session.rs, flow_paths not flow_stats).
- SECURITY: supported versions now 0.23.x.
- ROADMAP: add the current-release line.
The README becomes a short front door: pitch, quick start, a "What it
finds" list linking to the feature reference, a compact install list,
platform support, and a task-based documentation table.

- docs/INSTALL.md (new): every install channel, permissions (Linux
  setcap, macOS/BSD sudo, containers), shell completions, Windows/WSL2,
  download verification (moved from FEATURES.md), and troubleshooting.
  Lists the aarch64 musl release archive the table was missing.
- KNOWN_ISSUES.md: now the single home for limitations (merged from the
  README). Drops stale entries now resolved in code: the 500us BSD
  inter-probe delay, NetBSD IPv4 PMTUD, and TCP ignoring --rate. Removes
  the ping_group_range claim, which ttl does not use.
- COMPARISON.md: points to INSTALL.md for WSL2 setup instead of repeating
  it, and lists Windows as WSL2-only.
- Every removed README heading keeps its anchor as an <a id> placeholder,
  so existing links to #installation, #permissions-linux,
  #troubleshooting, the use-case sections and others still resolve.
docs/README.md lists every page by area with a one-line scope. CONTRIBUTING points new-feature docs at FEATURES.md and the index rather than the README, lists FreeBSD/NetBSD as experimental tracing platforms, and uses the same clippy command as CI.
# Conflicts:
#	README.md
#	docs/FEATURES.md
Indicators are now unbracketed title badges (NAT, RL?, ASYM, TTL!, MTU, max_ttl=N, PAUSED) and a dim RL tag after the loss value; INSTALL, KNOWN_ISSUES and the doc index use the new names. KNOWN_ISSUES records that --pmtud is rejected with -p udp/tcp, that replies behind destination NAT are only kept for a single target, and moves instance cross-talk and silent-hop RL flags to Resolved. CHANGELOG gains entries for #163, #164 and #162.
@lance0
lance0 marked this pull request as ready for review October 16, 2026 17:42
@lance0
lance0 merged commit f915a81 into master Oct 16, 2026
6 checks passed
@lance0
lance0 deleted the docs/front-door branch October 16, 2026 17:45
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