ruff
Apply formatting to markdown code blocks
#22470
Merged

Apply formatting to markdown code blocks #22470

amyreese merged 45 commits into main from amy/ruffen-docs
amyreese
astral-sh-bot
amyreese amyreese changed the title Ruffen docs prototype WIP: Ruffen docs prototype 48 days ago
amyreese
amyreese
amyreese
amyreese amyreese force pushed from f0fa410a to 18cc1b26 41 days ago
amyreese Create new source types for markdown files
df5c04b6
amyreese Update source kind from path mapping
296d1011
amyreese Minimal prototype using regex
dc50d777
amyreese Map pyi code block to pyi source type
b6ab7fe8
amyreese Skip linting .md files for now
cd94b2dd
amyreese Use static lazy lock for markdown regex
d23610c3
amyreese amyreese force pushed from 18cc1b26 to 169bed3f 37 days ago
amyreese Gate formatting markdown on preview mode
9ea195a9
amyreese todos for markdown code block regex/parsing
15218347
amyreese Add markdown test fixture
0e787cbf
amyreese Simple CLI tests
a2c7b4fd
amyreese Fix markdown formatting on stdin, add stdin test
04d6636a
amyreese amyreese force pushed from 169bed3f to 42b2ed41 37 days ago
amyreese amyreese requested a review from MichaReiser MichaReiser 37 days ago
amyreese amyreese requested a review from ntBre ntBre 37 days ago
amyreese amyreese changed the title WIP: Ruffen docs prototype Apply formatting to markdown code blocks 37 days ago
amyreese test with relative paths
79b23a92
amyreese amyreese marked this pull request as ready for review 37 days ago
amyreese amyreese requested a review from carljm carljm 37 days ago
amyreese amyreese requested a review from AlexWaygood AlexWaygood 37 days ago
amyreese amyreese requested a review from sharkdp sharkdp 37 days ago
amyreese amyreese requested a review from dcreager dcreager 37 days ago
amyreese amyreese requested a review from dhruvmanila dhruvmanila 37 days ago
amyreese
amyreese Skip walking markdown files in ty
64bfbbaa
amyreese amyreese requested a review from Gankra Gankra 37 days ago
amyreese
amyreese commented on 2026-01-21
astral-sh-bot
amyreese amyreese force pushed from e637ac55 to 1c06408a 37 days ago
astral-sh-bot
tvatter
MichaReiser MichaReiser removed review request from dcreager dcreager 36 days ago
MichaReiser MichaReiser removed review request from carljm carljm 36 days ago
MichaReiser MichaReiser removed review request from sharkdp sharkdp 36 days ago
MichaReiser MichaReiser removed review request from AlexWaygood AlexWaygood 36 days ago
MichaReiser MichaReiser added preview
MichaReiser
MichaReiser commented on 2026-01-21
harupy
harupy commented on 2026-01-21
amyreese Refactor source type/kind usage
f130cdcd
amyreese Return better error types for unsupported range formatting and markdown
c019e1fa
ntBre
ntBre commented on 2026-01-22
amyreese Use Self
4c5d4308
amyreese Updated snapshots
68b5f959
amyreese Add fixture path helper and default CRATE_ROOT filter
c456eed9
amyreese Move markdown bits into new ruff_markdown crate
a417da88
amyreese Add some tests, fix clippy
6be59478
amyreese Better wording for 'experimental' message
2c619379
amyreese Shortened fixture test cases
bdd7047f
amyreese
MichaReiser
MichaReiser commented on 2026-01-23
MichaReiser
MichaReiser commented on 2026-01-23
amyreese Fix cargo files
1b699706
amyreese Drop source kind toml
341cfb36
amyreese amyreese force pushed from a0509584 to 58e7bf6c 34 days ago
amyreese Include PySourceType in SourceKind::Python
364325d2
amyreese Update error messages
8ec6cccd
amyreese Update fixture and snapshots
7173d787
amyreese Remove trivia dep
def36410
amyreese snapshots
47f252d7
amyreese Loop over captures and use range replacement instead of replace_all
a3a2c562
amyreese Support unlabeled blocks, more tests
2ba6eb59
amyreese Only wrap a bool type for source kind python
48fc2f58
amyreese Update fuzz test
cde3adb3
amyreese amyreese force pushed from c48dff72 to cde3adb3 31 days ago
amyreese Get code range straight from regex
a61ab53d
amyreese clippy
80911e2b
amyreese amyreese requested a review from ntBre ntBre 31 days ago
ntBre
ntBre approved these changes on 2026-01-26
amyreese static lifetime
7074b1a9
amyreese Call it PreviewFeature
cb1e0015
amyreese explicit match arms
56e9eb9c
amyreese zero ver
6f340cda
amyreese Build formatted string iteratively
d5f0a30d
amyreese Docs update
3fd00ded
amyreese Refactor match arms
ce978f86
amyreese use nested match statements
2060a2b9
amyreese Make SourceKind::Python a struct rather than tuple
d143fb19
amyreese Fuzz
0e5bbd34
amyreese amyreese merged ffa07b57 into main 30 days ago
amyreese amyreese deleted the amy/ruffen-docs branch 30 days ago
amyreese amyreese added formatter
tvatter
ntBre
tvatter
ntBre
tvatter
amyreese

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone