realworldocaml / mdx

Execute code blocks inside your documentation
ISC License
269 stars 45 forks source link

Simplify mli_parser #422

Closed jonludlam closed 1 year ago

jonludlam commented 1 year ago

Use odoc's location conversion to simplify the extraction of code blocks from mli files. Also generally tidy it up and add some documentation.

jonludlam commented 1 year ago

I don't think a changelog entry is needed for this.

Leonidas-from-XIV commented 1 year ago

@jonludlam I think you accidentally pushed the mld support commit. If you remove it the code is good to be merged in my opinion.

jonludlam commented 1 year ago

gah! so I did...

jonludlam commented 1 year ago

I wasn't trying to sneak it in, honest :-)

Leonidas-from-XIV commented 1 year ago

Great, thanks!