In 28c9263722 I introduced automatic
linkification of option references in rule documentation,
which automatically converted the following:
## Options
* `namespace-packages`
to:
## Options
* [`namespace-packages`]
[`namespace-packages`]: ../../settings#namespace-packages
While the above is a correct CommonMark[1] link definition,
what I was missing was that we used mkdocs for our documentation
generation, which as it turns out uses a non-CommonMark-compliant
Markdown parser, namely Python-Markdown, which contrary to CommonMark
doesn't support link definitions containing code tags.
This commit fixes the broken links via a regex hack.
[1]: https://commonmark.org/
23 lines
585 B
TOML
23 lines
585 B
TOML
[package]
|
|
name = "ruff_dev"
|
|
version = "0.0.0"
|
|
publish = false
|
|
edition = "2021"
|
|
|
|
[dependencies]
|
|
anyhow = { workspace = true }
|
|
clap = { workspace = true }
|
|
itertools = { workspace = true }
|
|
libcst = { workspace = true }
|
|
once_cell = { workspace = true }
|
|
regex.workspace = true
|
|
ruff = { path = "../ruff" }
|
|
ruff_cli = { path = "../ruff_cli" }
|
|
rustpython-common = { workspace = true }
|
|
rustpython-parser = { workspace = true }
|
|
schemars = { workspace = true }
|
|
serde_json = { version = "1.0.91" }
|
|
strum = { workspace = true }
|
|
strum_macros = { workspace = true }
|
|
textwrap = { version = "0.16.0" }
|