nitc :: DocPage :: render_content
# Renders the footer and content
private fun render_content do
if tabs.is_empty then return
if tabs.length == 1 then
addn tabs.first
return
end
addn "<ul class='nav nav-tabs'>"
for tab in tabs do
if tab.is_empty and not tab isa DocTabLink then continue
addn tab.tab_link
end
addn "</ul>"
addn "<div class='tab-content'>"
for tab in tabs do
if tab.is_empty then continue
addn tab
end
addn "</div>"
end
src/doc/static/static_html.nit:92,2--111,4
redef fun render_content do
addn new CardPageHeader(
mentity.html_declaration.write_to_string,
mentity.html_namespace.write_to_string)
super
end
src/doc/static/static_html.nit:177,2--182,4