felix-hilden / sphinx-codeautolink

Automatic links from code examples to reference documentation
https://sphinx-codeautolink.rtfd.io
MIT License
59 stars 9 forks source link

Differentiate between syntax warnings on block cleaning vs parsing #136

Closed felix-hilden closed 1 year ago

felix-hilden commented 1 year ago

It'd be better to differentiate warnings that are emitted on block cleaning vs parsing. Cleaning is done only to the current source, whereas parsing takes into account prefaces and concatenated blocks. So it would make sense to produce a different class of warning and a different kind of message.