Skip to content

Conversation

@blenderfreaky
Copy link
Contributor

In the generated markdown docs, flags like --foo inside help texts currently get pretty-printed as –foo with an em-dash.

This PR applies backticks via a regex replacement (run by cli2md), so that they appear as --foo in the docs but remain as --foo (without backticks) in the CLI output.

See also #4341

In the generated markdown docs, flags like `--foo` inside help texts currently get pretty-printed as `–foo` with an em-dash.

This commit applies backticks via a regex replacement, so that they appear as `--foo` in the docs but remain as --foo in the CLI output.
@blenderfreaky
Copy link
Contributor Author

@julio-lopez bump

@codecov
Copy link

codecov bot commented Apr 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.38%. Comparing base (cb455c6) to head (e6c3c35).
Report is 481 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4479      +/-   ##
==========================================
+ Coverage   75.86%   76.38%   +0.51%     
==========================================
  Files         470      527      +57     
  Lines       37301    40047    +2746     
==========================================
+ Hits        28299    30590    +2291     
- Misses       7071     7439     +368     
- Partials     1931     2018      +87     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@julio-lopez julio-lopez merged commit 6cd7283 into kopia:master Apr 24, 2025
27 checks passed
@blenderfreaky
Copy link
Contributor Author

Thanks for the merge! ^^

@blenderfreaky blenderfreaky deleted the docs-flag-escape branch April 25, 2025 01:54
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.

2 participants