aboutsummaryrefslogtreecommitdiff
path: root/maint/extract-md-links
Commit message (Collapse)AuthorAgeFilesLines
* Bump blackJim Newsome2026-01-211-4/+2
|
* maint: rework 'extract-md-links' interpositionSteven Engler2025-12-081-52/+86
| | | | Do less parsing, and instead interpose the mistune internals.
* maint: add comment to 'extract-md-links' re manual parsingSteven Engler2025-12-081-0/+9
|
* maint: add a self-test to 'extract-md-links'Steven Engler2025-12-081-0/+39
|
* maint: fix 'extract-md-links' to work with mistune 3.1.3Steven Engler2025-12-081-6/+45
|
* maint: fix accidental globals in 'extract-md-links'Steven Engler2025-12-081-2/+6
|
* maint: fix method names for 'extract-md-links' parsersSteven Engler2025-12-081-4/+4
| | | | | `InlineParser::parse_link` isn't publicly documented, so may be subject to more breakage.
* maint: update 'extract-md-links' for mistune 3.xSteven Engler2025-10-311-6/+5
|
* Python: simple annotations to allow mypy to pass.Nick Mathewson2024-10-241-3/+4
|
* Run "black" to reformat all our pythonNick Mathewson2024-10-241-11/+19
| | | | | | | | | | | | | | | | | "Black" is an "opinionated" python formatter, whose opinionatedness is somewhat in the spirit of rustfmt. This MR runs black with default settings on all of our python code in Arti. It was produced by the following commands ``` # Everything in python/ black python/ # Everything with a .py extension fd '.py$' -X black # Everything with a python shebang. git grep -l '#! */usr/bin/env *python' | xargs black ```
* maint/extract-md-links: Use /usr/bin/env for more flexibility.Gabriela Moldovan2024-06-051-1/+1
| | | | | | | | I needed to use a virtual env to run this script (it doesn't work with the mistune version packaged by arch), but found myself unable to without changing the interpreter directive in `maint/extract-md-links`. Closes #1460
* maint/extract-md-links: New scriptIan Jackson2024-05-021-0/+117
This will be used by gen_md_links, instead of the regexp-based ad-hoc parser there. The existing parser gets wrong things like " `#[must_use]` ", thinking that's a link. Use a proper Markdown parser. But, we must commit some abuse, sadly.