nitc :: DocPage :: defaultinit
# A documentation page abstraction
class DocPage
# Title of this page
var title: String is writable
# Page tab panels
#
# Nitdoc pages are tabulated.
# If a page has only one tab, it is presented as a single page.
# With more than one tab, the HTML rendering process adds tab headers and
# links.
var tabs: Array[DocTab] = [main_tab] is lazy
# The page main tab
#
# For most pages this tab is suffisent.
# Subclasses can add more tabs.
var main_tab = new DocTab("main", "Main")
redef fun to_s do return title
end
src/doc/static/static_base.nit:91,1--112,3