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(pg feature.Page) (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, content string) (html htmlTemplate.HTML, redirect string, err error)
- func (f *CFeature) SearchDocumentMapping(tag language.Tag) (doctype string, dm *mapping.DocumentMapping)
- func (f *CFeature) Setup(enjin feature.Internals)
- type Document
- type Feature
- type MakeFeature
Constants ¶
View Source
const Tag feature.Tag = "pages-formats-json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CDocument ¶
func NewTextDocument ¶
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 ¶
type MakeFeature ¶
type MakeFeature interface {
Make() Feature
}
func New ¶
func New() MakeFeature
func NewTagged ¶ added in v0.4.0
func NewTagged(tag feature.Tag) MakeFeature
Click to show internal directories.
Click to hide internal directories.