GNOME Bugzilla – Bug 68216
indentation of inline examples
Last modified: 2004-12-22 21:47:04 UTC
gtkdoc-mkdb strips '^\s*\*\s*' from doc comment lines. This causes badly formatted examples (since all indentation gets lost). See gtk_dialog_new_with_buttons() for an example. A possible fix would be to strip only '^\s*\*\s?'. As a workaround, I inserted empty declarations (<!>) at the beginning of every line in the inline examples. Ugly.
Created attachment 6381 [details] [review] patch to keep indentation intact
Created attachment 6395 [details] [review] a fixed patch, first one got mangled
patch applied.