Documentation ¶
Index ¶
- func QueryDocument(d Documentable, name ...string) documents.Section
- func RenderDocument(s documents.Section, level int) template.HTML
- type Class
- type DocStatus
- type Document
- type Documentable
- type ElementTyper
- type Entities
- func (entities *Entities) AddClass(action *builds.Action, info builds.Info)
- func (entities *Entities) AddEnum(action *builds.Action, info builds.Info)
- func (entities *Entities) AddEnumItem(action *builds.Action, info builds.Info)
- func (entities *Entities) AddMember(action *builds.Action, info builds.Info)
- func (e *Entities) CoverageString() string
- func (e *Entities) ElementStatusClasses(suffix bool, v ...interface{}) string
- func (e *Entities) Icon(v ...interface{}) template.HTML
- func (entities *Entities) ListAll() []interface{}
- type Entity
- type Enum
- type EnumItem
- type Member
- type Metadata
- type Referrer
- type Type
- type TypeCategory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryDocument ¶
func QueryDocument(d Documentable, name ...string) documents.Section
Types ¶
type Class ¶
type Class struct { ID string Element *rbxapijson.Class Patches []builds.Patch Removed bool Superclasses []*Class Subclasses []*Class Members map[string]*Member MemberList []*Member References map[rbxapijson.Type]ElementTyper ReferenceList []ElementTyper Referrers map[[2]string]Referrer ReferrerList []Referrer Document Document DocStatus DocStatus Metadata Metadata }
func (*Class) ElementType ¶
func (e *Class) ElementType() rbxapijson.Type
func (*Class) GetDocStatus ¶
func (*Class) GetDocument ¶
func (*Class) Identifier ¶
type DocStatus ¶
type DocStatus struct { HasDocument bool SummaryStatus int // 0:nofile; 1:nosection; 2:empty; 3:filled SummaryOrphaned bool DetailsStatus int // 0:nofile; 1:nosection; 2:empty; 3:filled DetailsSections int ExamplesStatus int // 0:nofile; 1:nosection; 2:empty; 3:filled ExampleCount int AggregateStatus int // 0:nofile; 1:none; 2:some; 3:all AggregateProgress float64 }
func (DocStatus) ProgressString ¶
func (DocStatus) StatusString ¶
type Documentable ¶
type ElementTyper ¶
type ElementTyper interface { Entity Identifier() string ElementType() rbxapijson.Type }
ElementTyper is implemented by an entity that can be referred to by an rbxapijson.Type.
type Entities ¶
type Entities struct { Classes map[string]*Class ClassList []*Class Members map[[2]string]*Member TreeRoots []*Class Enums map[string]*Enum EnumList []*Enum EnumItems map[[2]string]*EnumItem Types map[string]*Type TypeList []*Type TypeCats []TypeCategory Coverage float32 }
func GenerateEntities ¶
func (*Entities) AddEnumItem ¶
func (*Entities) CoverageString ¶
func (*Entities) ElementStatusClasses ¶
type Enum ¶
type Enum struct { ID string Element *rbxapijson.Enum Patches []builds.Patch Removed bool Items map[string]*EnumItem ItemList []*EnumItem Referrers map[[2]string]Referrer ReferrerList []Referrer Document Document DocStatus DocStatus Metadata Metadata }
func (*Enum) ElementType ¶
func (e *Enum) ElementType() rbxapijson.Type
func (*Enum) GetDocStatus ¶
func (*Enum) GetDocument ¶
func (*Enum) Identifier ¶
type EnumItem ¶
type EnumItem struct { ID [2]string Element *rbxapijson.EnumItem Patches []builds.Patch Removed bool Parent *Enum Document Document DocStatus DocStatus Metadata Metadata }
func (*EnumItem) GetDocStatus ¶
func (*EnumItem) GetDocument ¶
type Member ¶
type Member struct { ID [2]string Element rbxapi.Member Patches []builds.Patch Removed bool Parent *Class References map[rbxapijson.Type]ElementTyper ReferenceList []ElementTyper Document Document DocStatus DocStatus Metadata Metadata }
func (*Member) GetDocStatus ¶
func (*Member) GetDocument ¶
type Referrer ¶
type Referrer struct { Member *Member Parameter *rbxapijson.Parameter }
type Type ¶
type Type struct { ID string Element rbxapijson.Type Removed bool Referrers map[[2]string]Referrer ReferrerList []Referrer RemovedRefs map[[2]string]Referrer RemovedRefList []Referrer Document Document DocStatus DocStatus Metadata Metadata }
func (*Type) ElementType ¶
func (e *Type) ElementType() rbxapijson.Type
func (*Type) GetDocStatus ¶
func (*Type) GetDocument ¶
func (*Type) Identifier ¶
type TypeCategory ¶
Click to show internal directories.
Click to hide internal directories.