Period addition to parameter and return statements could be improved
As discussed in glib!3807 (merged), the docs at https://developer.gnome.org/documentation/guidelines/devel-docs.html state "Do not end the description with a period".
However, gi-docgen
does insert periods at the end of descriptions, but does this only if the ending character isalpha()
. This breaks the period insertion for markdown things like inline code (ending with `) or links, or just different text such as numbers.
Maybe this could be improved, by testing for more than just isalpha()
?
Edited by Matthijs Velsink