This also includes a hacky fix to wrap long parameters lists in function/method signatures in doc page titles. This allows breaks in the parameter list at commas and implements a hanging indent for continued lines.
It could probably be improved upon, but it's better than nothing.
Ideally, if the signature does not fit all on one line, I'd like to list one parameter per line (roughly how black formats long parameter lists), but, so far, haven't figured out a simple way to do that.
Documentation updates for lektor/lektor#992.
This also includes a hacky fix to wrap long parameters lists in function/method signatures in doc page titles. This allows breaks in the parameter list at commas and implements a hanging indent for continued lines.
It could probably be improved upon, but it's better than nothing.
Ideally, if the signature does not fit all on one line, I'd like to list one parameter per line (roughly how black formats long parameter lists), but, so far, haven't figured out a simple way to do that.