You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The @raise tag is described as @raise Error text which seems intuitive enough, but the HTML render puts the text in a separate paragraph:
raise Error
text
This looks weird and can often break the flow of text (I tend to write @raise Exn if bla bla bla, which looks fine in the mli but weird in the docs since the paragraph break also breaks a sentence in two).
This also happens with the @param tag (I haven't checked for any others).
This can be fixed by the following CSS:
li.raises>p:first-of-type {
display: inline;
}
However, a cleaner fix would involve not generating this first <p> block, or moving the <span>raises<\span> <a>Exn<\a> inside the first <p>.
The text was updated successfully, but these errors were encountered:
The
@raise
tag is described as@raise Error text
which seems intuitive enough, but the HTML render puts the text in a separate paragraph:This looks weird and can often break the flow of text (I tend to write
@raise Exn if bla bla bla
, which looks fine in the mli but weird in the docs since the paragraph break also breaks a sentence in two).This also happens with the
@param
tag (I haven't checked for any others).This can be fixed by the following CSS:
However, a cleaner fix would involve not generating this first
<p>
block, or moving the<span>raises<\span> <a>Exn<\a>
inside the first<p>
.The text was updated successfully, but these errors were encountered: