Feneric / doxypypy

A more Pythonic version of doxypy, a Doxygen filter for Python.
GNU General Public License v2.0
149 stars 48 forks source link

[Bug] conflicts withe `INLINE_SOURCES` . #73

Open 625781186 opened 4 years ago

625781186 commented 4 years ago

image

So , if use config FILTER_PATTERNS = *.py=py_filter , INLINE_SOURCES line will dislocation.

like this :

  1. not use filter , right : image

  2. use filter , error : image

625781186 commented 4 years ago

https://github.com/Feneric/doxypypy/issues/30#issue-163571865

Feneric commented 4 years ago

I don't know that there ever can be a fix for this without Doxygen becoming a bit more flexible in this regard to better accommodate languages in which whitespace is significant. It isn't always possible to reshape things for such languages without actually changing line count. I imagine a filter for the language Nim would have the same problem.

If Doxygen were to provide hooks for labeling anchor points it'd make sense to try and work with them in doxypypy, but I don't think this is something that's addressable by doxypypy on its own.