Repository navigation
Reorganize docs around a short README front door - #162
Merged
Merged
Conversation
- 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
docs/INSTALL.md(new)docs/INSTALL.md#verify-a-downloaddocs/INSTALL.md#dockerKNOWN_ISSUES.mddocs/README.mdEvery 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-verificationand#docker. Relative links and anchors across all Markdown files resolve.Fixes to doc claims that were wrong
is_destination,loss_percent,avg_ms,nat_detected) and indexedresponders(an object keyed by IP) by position. They were rewritten and tested against a real--jsontrace. Exit code 0 does not mean the destination was reached; the docs now say so.Ctrl+R, notr.--flowsexamples without-p udp/tcphad no effect, because the default auto mode picks ICMP.--pmtudonly probes in ICMP mode and conflicts with--size.--resolve-allkeeps both address families.~/Library/Application Support.aarch64-unknown-linux-musl.--interface;-iis the interval flag.--rate). They moved to Resolved. Theping_group_rangeclaim is removed because ttl doesn't use it.Additions
--help.Synced with #163 and #164 (merged from master)
--help: unbracketed title badges (PAUSED,RL?,ASYM,NAT,TTL!,MTU …/MTU unconfirmed,max_ttl=30), a dimRLtag after the loss value,–before a probe completes, dimmed silent hops, and host markersE ! ~ ^ +.RTT msin 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.--pmtudwith-p udp/tcpis now rejected, and--theme defaultnow 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.Docs only, apart from a comment fix in
examples/config.toml.cargo testandcargo doc(with-D warnings) pass.