Documentation ¶
Index ¶
- Constants
- type CDocument
- type CFeature
- func (f *CFeature) AddSearchDocumentMapping(tag language.Tag, indexMapping *mapping.IndexMappingImpl)
- func (f *CFeature) Extensions() (extensions []string)
- func (f *CFeature) IndexDocument(thing interface{}) (out interface{}, err error)
- func (f *CFeature) Init(this interface{})
- func (f *CFeature) Label() (label string)
- func (f *CFeature) Make() Feature
- func (f *CFeature) Name() (name string)
- func (f *CFeature) NewDocumentMapping(tag language.Tag) (doctype, analyzer string, dm *mapping.DocumentMapping)
- func (f *CFeature) Prepare(ctx context.Context, content string) (out context.Context, err error)
- func (f *CFeature) Process(ctx context.Context, t types.Theme, content string) (html htmlTemplate.HTML, redirect string, err *types.EnjinError)
- func (f *CFeature) SearchDocumentMapping(tag language.Tag) (doctype string, dm *mapping.DocumentMapping)
- type Document
- type Feature
- type MakeFeature
Constants ¶
View Source
const Tag feature.Tag = "pages-formats-html"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CDocument ¶
type CDocument struct { search.CDocument Headings []string `json:"headings"` Links []string `json:"links"` }
func NewHtmlDocument ¶
func (*CDocument) AddHeading ¶
type CFeature ¶
func (*CFeature) AddSearchDocumentMapping ¶
func (f *CFeature) AddSearchDocumentMapping(tag language.Tag, indexMapping *mapping.IndexMappingImpl)
func (*CFeature) Extensions ¶
func (*CFeature) IndexDocument ¶
func (*CFeature) NewDocumentMapping ¶
func (*CFeature) SearchDocumentMapping ¶
Click to show internal directories.
Click to hide internal directories.