nitc :: PageMPackage
nitc :: PageMPackage :: _api_tab
nitc :: PageMPackage :: defaultinit
nitc $ PageMPackage :: SELF
Type of this instance, automatically specialized in every classnitc :: static_structure $ PageMPackage :: build_main
Build the main tab (the one that contains the MDoc)nitc :: PageMPackage :: _api_tab
nitc :: PageMEntity :: _concerns
Concerns to display in this page.nitc :: PageMEntity :: _html_url
template :: Template :: _is_frozen
Is the template allowing more modification (add
)
template :: Template :: _is_writing
Flag to avoid infinite recursivity if a template contains itselfnitc :: PageMEntity :: _main_tab
For mentities the main tab is the doc tabnitc :: DocPage :: _piwik_script
Piwik script to append in the page scriptstemplate :: Template :: _render_done
Flag to avoid multiple renderingnitc :: PageMEntity :: _title
nitc :: DocPage :: apply_structure
Create the structure of this pagenitc :: PageMEntity :: build_dependencies
Build the dependencies tabnitc :: PageMEntity :: build_linearization
Build the linearization panelnitc :: PageMEntity :: build_main
Build the main tab (the one that contains the MDoc)core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
nitc :: PageMEntity :: concerns
Concerns to display in this page.nitc :: PageMEntity :: concerns=
Concerns to display in this page.nitc :: PageMEntity :: defaultinit
template :: Template :: defaultinit
nitc :: DocPage :: defaultinit
core :: Object :: defaultinit
core :: Writable :: defaultinit
nitc :: PageMPackage :: defaultinit
template :: Template :: is_frozen=
Is the template allowing more modification (add
)
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
template :: Template :: is_writing
Flag to avoid infinite recursivity if a template contains itselftemplate :: Template :: is_writing=
Flag to avoid infinite recursivity if a template contains itselfnitc :: PageMEntity :: mentity=
MEntity documented by this pagecore :: Object :: native_class_name
The class name of the object in CString format.nitc :: PageMEntity :: new
core :: Object :: output_class_name
Display class name on stdout (debug only).nitc :: DocPage :: piwik_script
Piwik script to append in the page scriptsnitc :: DocPage :: piwik_script=
Piwik script to append in the page scriptstemplate :: Template :: render_done=
Flag to avoid multiple renderingcore :: Writable :: write_to_bytes
Likewrite_to
but return a new Bytes (may be quite large)
core :: Writable :: write_to_file
Likewrite_to
but take care of creating the file
core :: Writable :: write_to_string
Likewrite_to
but return a new String (may be quite large).
# A documentation page for a MPackage
class PageMPackage
super PageMEntity
redef type MENTITY: MPackage
redef var api_tab = new DocTab("api", "Groups & Modules", false, "list")
end
src/doc/static/static_base.nit:176,1--182,3
redef class PageMPackage
redef fun build_main(doc) do
super
main_tab.metadata.cards.add new CardMetadata(mentity, mentity.metadata,
doc.catalog.mpackages_stats[mentity],
doc.catalog.deps.successors(mentity).to_a,
doc.catalog.deps.predecessors(mentity).to_a)
end
end
src/doc/static/static_structure.nit:230,1--238,3