Mc-Zen / tidy

A documentation generator for Typst in Typst.
https://typst.app/universe/package/tidy
MIT License
49 stars 2 forks source link

`omit-empty-param-descriptions` is ignored #6

Closed jneug closed 11 months ago

jneug commented 11 months ago

The setting seems to be ignored, because the description is compared to [] (empty content), but the default is "" (empty string). See styles/default.typ:114 for example.

I think something like if description in ("", []) ... would work better.

Mc-Zen commented 11 months ago

Oh right. I made some changes there shortly before the release and missed that. The default should be [], not "".

The issue only is with undocumented parameters. I fixed it on main and it will be in the next release :)

Thank you!