subroutinedoc_blockprivate
subroutine doc_block(html, b)
Write html as documentation, unless it is blank.
Arguments
| Name | Type | Intent | Attributes | Description |
|---|---|---|---|---|
| html | character(len=*) | in | the documentation | |
| b | type(buffer_t) | inout | the HTML |
Calls
Called by
Source
Show the code
subroutine doc_block(html, b)
character(len=*), intent(in) :: html !! the documentation
type(buffer_t), intent(inout) :: b !! the HTML
if (len_trim(html) == 0) return
call add(b, '<div class="doc">'//achar(10))
call add(b, html)
call add(b, achar(10)//'</div>'//achar(10))
end subroutine doc_block