Skip to content

fix(docs): user facing docs - #1381

Merged
aeppling merged 4 commits into
masterfrom
develop
Apr 18, 2026
Merged

aeppling merged 4 commits into
masterfrom
develop

Conversation

@aeppling

Copy link
Copy Markdown
Contributor

Summary

Fix some user facing docs for incoming rtk-ai.app/docs

Test plan

Ran the landing page with docs locally

FlorianBruniaux and others added 4 commits April 14, 2026 11:51
…percent

B6 — report.rs:already_rtk integer division truncated small ratios to 0%
(e.g. 3/1000 showed "0%" instead of "0.3%"). Now uses f64 division with
one decimal place. Three regression tests added.

B7 — mod.rs:SupportedBucket.savings_pct was set once from the first-seen
sub-command and never updated. For buckets containing multiple sub-commands
(e.g. git add + git diff + git log all under "rtk git"), the displayed
estimated_savings_pct reflected only the first classification. Fix: track
total_raw_output_tokens alongside total_output_tokens (savings). Compute
effective_savings_pct = saved / raw * 100 at entry construction, giving a
weighted average across all sub-commands in the bucket. This rate is exposed
in rtk discover --format json via estimated_savings_pct.

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Signed-off-by: Florian BRUNIAUX <[email protected]>
Hierarchy:
- Move troubleshooting.md and what-rtk-covers.md to guide/resources/
- Add guide/resources/telemetry.md (adapted from docs/TELEMETRY.md,
  user-facing: consent, opt-out, GDPR rights — without internal sections)

Content fixes:
- Remove all hardcoded counts (9 ecosystems, 12 agents, 60+, 7 more)
  replaced with qualitative language throughout
- Unify DB filename: tracking.db → history.db everywhere
  (canonical: src/core/constants.rs HISTORY_DB)
- installation.md: replace bare `cargo install rtk` with warning +
  explicit git URL to avoid Rust Type Kit name collision
- supported-agents.md: remove hardcoded agent count
- quick-start.md: remove hardcoded ecosystem list, link to what-rtk-covers

New content:
- gain.md: add --quota section explaining pro/5x/20x tier meanings
- gain.md: add callout linking to discover.md (find missed savings)
- index.md: add "Analyze your usage" section (rtk discover, rtk session)
- configuration.md: clarify ignore_dirs/ignore_files scope, add prose
  link to telemetry.md
- what-rtk-covers.md: clarify --ultra-compact vs git -u short flag conflict

Cross-references:
- All internal links updated for new resources/ paths
- index.md: link to troubleshooting, telemetry, what-rtk-covers, analytics
- discover.md: updated relative link to troubleshooting

README:
- Add Core team section (Patrick Szymkowiak, Florian Bruniaux, Adrien Eppling)

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
docs: Adrien review — hierarchy, counts, consistency, gaps
@pszymkowiak pszymkowiak added documentation Improvements or additions to documentation effort-medium 1-2 jours, quelques fichiers labels Apr 18, 2026
@pszymkowiak

Copy link
Copy Markdown
Collaborator

[w] wshm · Automated triage by AI

📊 Automated PR Analysis

📝 Type docs
🟢 Risk low

Summary

Updates user-facing documentation for the upcoming rtk-ai.app/docs site. Changes include fixing broken internal links (moving references to a new resources/ directory), adding a core team section to the README, expanding quota estimate docs, adding a new Telemetry & Privacy page, clarifying installation instructions for cargo, and softening hardcoded counts to more maintainable language.

Review Checklist

  • Tests present
  • Breaking change
  • Docs updated

Analyzed automatically by wshm · This is an automated analysis, not a human review.

@aeppling aeppling changed the title fix(docs): user facing docs fix fix(docs): user facing docs Apr 18, 2026
@aeppling
aeppling merged commit c8d6878 into master Apr 18, 2026
25 checks passed
thehoff pushed a commit to thehoff/contextcrawler that referenced this pull request May 14, 2026
thehoff pushed a commit to thehoff/contextcrawler that referenced this pull request May 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation effort-medium 1-2 jours, quelques fichiers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants