<%= page_name -%> <% if page:IsType() then %> <% end %>

<% local custom_page = page:GetCustomPageOrNil() if custom_page then render_markdown(custom_page.markdown_content) else if page:GetType() then render_used_by(used_by) end local record = type_members:GetRecordOrNil() if record then %>

Type doc:

<% render_markdown(record.type_doc or "") %>
<% render_record_part("Fields",record,{"fields","static_fields"}) render_record_part("Methods",record, { "methods", "mut_methods","functions", "mut_functions", "meta_method", "meta_method_mut", "meta_function", "meta_function_mut" }) end local enum = type_members:GetEnumOrNil() if enum then %>

Type doc:

<% render_markdown(enum.type_doc or "") %>

Variants

<% for _, variant in ipairs(enum.variants) do %>

"<%= variant %>"

<% end %>
<% end if index then %>

Globals:

<% for _, global_instance in ipairs(globals) do %>

global <%= global_instance.name %> : <% renderTealTypeOf(global_instance.teal_type) %>

<% if global_instance.doc then %>
<% render_markdown(global_instance.doc) %>
<% end %>
<% end %>
<% end if index then %>

Types:

<% for _, teal_type in ipairs(all_types) do local record = teal_type:GetRecordOrNil() if record and not record.should_be_inlined then %>

<% renderTealTypeOf(record.type_name) %>

<% render_markdown(record.type_doc) %>
<% end end %>
<% end end %>