Commit c6dc069a authored by Christian Hergert's avatar Christian Hergert

cleanup aliases

parent c778481e
#######
Aliases
#######
{{require GObject version "2.0"}} {{require GObject version "2.0"}}
{{require Girst version "1.0"}} {{require Girst version "1.0"}}
{{Girst.title1("Aliases")}}
{{for alias in namespace.get_children_typed(Girst.Alias)}} {{for alias in namespace.get_children_typed(Girst.Alias)}}
.. c:type:: {{alias.c_type}} .. _C:{{alias.c_type}}:
{{if alias.has_child_typed(Girst.Doc)}} {{Girst.title2(alias.c_type)}}
{{alias.first_typed(Girst.Doc).to_c(" ")}}
{{end}}
{{if alias.version}} {{if alias.has_child_typed(Girst.Doc)}}
{{alias.first_typed(Girst.Doc).to_c(" ")}}
.. versionadded:: {{alias.version}}
{{end}} {{end}}
{{if alias.stability == "Unstable"}}
.. warning:: Method is currently considered unstable. .. csv-table::
{{end}} :widths: 1, 100
{{if alias.deprecated}}
.. deprecated:: {{alias.deprecated_version}} {{if alias.has_child_typed(Girst.Type)}}
{{if alias.shadowed_by}} {{alias_of=alias.first_typed(Girst.Type)}}
{{if container}} "Alias of","{{Girst.clink_full(alias_of.get_lhs_ctype(), alias_of, "")}}"
Shadowed by: :ref:`{{container.c_type}}.{{alias.shadowed_by}}`
{{else}}
Shadowed by: :ref:`{{alias.shadowed_by}}`
{{end}} {{end}}
{{if alias.version}}
"Added in","{{alias.version}}"
{{end}} {{end}}
{{if alias.has_child_typed(Girst.DocDeprecated)}} {{if alias.stability}}
"Stability","{{alias.stability}}"
{{Girst.one_line(alias.first_typed(Girst.DocDeprecated).inner_text, "c")}}
{{end}} {{end}}
{{if alias.deprecated_version}}
"Deprecated since","{{alias.deprecated_version}}"
{{else if alias.deprecated}}
"Deprecated","Yes"
{{end}} {{end}}
{{if alias.introspectable == "0"}} {{if alias.introspectable == "0"}}
.. note:: {{alias.c_type}} is not introspectable. "Introspectable","No"
{{end}} {{end}}
{{end}}
{{end}}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment