lektor-website/models/doc-page.ini

64 lines
1.3 KiB
INI
Raw Normal View History

2015-12-19 14:52:17 +01:00
[model]
name = Documentation Page
label = {{ this.title }}
[children]
model = doc-page
order_by = sort_key, title
[fields.title]
label = Title
type = string
size = large
[fields.summary]
label = Summary
type = string
width = 1/2
[fields.sort_key]
label = Sort key
type = sort_key
width = 1/4
[fields.allow_comments]
label = Allow Comments
type = boolean
default = yes
checkbox_label = Show comment box
width = 1/4
[fields.type]
label = Technical Type
type = select
description = Of what general type this doc page is. If not set, it's a normal doc page.
2015-12-25 22:53:37 +01:00
choices = class, function, method, property, operator, filter, cmdlet, event, type, sysfield
choice_labels = Class, Function, Method, Property, Operator, Filter, Commandlet, Event, Field Type, System Field
2015-12-19 14:52:17 +01:00
width = 1/2
[fields.module]
label = Module
type = string
description = Identifies the module a class or function is contained in.
choices = class, function, method
choice_labels = Class, Function, Method
width = 1/2
[fields.signature]
label = Signature
type = string
description = An optional signature for a type.
[fields.template_var]
label = Template Variable
type = string
description = An optional template variable if it exists there as such.
2015-12-24 20:54:55 +01:00
[fields.version_added]
label = Added in version
type = string
2015-12-25 22:53:37 +01:00
[fields.body]
label = Body
type = markdown