Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix: Prevent fully defined links [
name
](link) from being refo…
…rmatted (#10442) ## Summary Currently fully define markdown links which include ticks are being reformatted by https://github.com/astral-sh/ruff/blob/861998612300520f2c18dbc7b8a6226300ceb508/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.
- Loading branch information