ruff/crates/ruff_dev
Auguste Lalande 91e81413db
Bug fix: Prevent fully defined links [``name``](link) from being reformatted (#10442)
## Summary

Currently fully define markdown links which include ticks are being
reformatted by

8619986123/crates/ruff_dev/src/generate_docs.rs (L105-L114)

```[`name`](link)``` -> ```[`name`][name](link)```

For example: https://docs.astral.sh/ruff/rules/typed-argument-default-in-stub/

This PR excludes the open parentheses from the regex, so that these types of links won't be reformatted.

## Test Plan

Extended the regression test.
2024-03-17 22:01:30 -04:00
..
src Bug fix: Prevent fully defined links [``name``](link) from being reformatted (#10442) 2024-03-17 22:01:30 -04:00
Cargo.toml help: enable auto-wrapping of help output (#9633) 2024-01-24 10:51:07 -05:00