On 12/28/15 3:15 PM, Adam D. Ruppe wrote:
Inspired by the php docs, I also have it able to search direct from a
URL. Click this:
The signature proper is nice. The formatting of "&&" in the constraint
is inconsistent, but I guess that's a matter with the formatting of the
The vertical spacing post "Parameters" of http://dpldocs.info/findSkip
is annoying. So we have a healthy vertical space between the
"Parameters" and "haystack" headings - fine - then a dinghy space
between "haystack" and the type, then again a large space between the
"Type:" and the description.
I think types should be massaged with the parameter names. Also the type
of the return value should be massaged with the heading "Return Value"
and the valign of the return value's description should be the same as
for the parameters, so we have:
((hspace 1))The forward range to search in.
((hspace 1))The forward range to search for.
Return Value (bool)
((hspace 1))true if the needle was found, in which case haystack is
positioned after the end of the first occurrence of needle; otherwise
false, leaving haystack untouched.
Ideally most of these things would be adjustable via css. Even some of
the text (e.g. "Return Value" etc.) would be in a perfect world part of
the css (there's that property "before" or something).
Essentially it would be fantastic if the docs contained the semantic
info and the formatting would be entirely shipped to css.