Documentation ¶
Overview ¶
Format the list of sub entries for any given entry
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Href string Backlinks []listing.Listing Relatedlinks []listing.Listing Body []byte Metadata parse.Metadata }
An entry's data, containing: the metadata, the html body, the backlinks (entries that mention this entry) the related links (other entries that share tags), and the href.
type ExtractDeps ¶ added in v1.1.4
type ExtractDeps struct { Config *config.Config InDir string OutDir string Entries map[string]Entry Assets map[string]bool Tags []tag.Tag Metadata parse.Metadata }
Required dependencies
func (*ExtractDeps) ExtractEntries ¶ added in v1.1.4
func (d *ExtractDeps) ExtractEntries(files []string) error
Process files to build up the entry data for all files, the tags data, and the linked internal asset. Exclusive calls to parse.* are made here. Calls parse.ParseMetadata() to grab metadata. Calls parse.ParseSource() to grab html body. Calls parse.ParseInternalLinks() to grab backlinks and internal links. Additionally construct the backlinks, relatedlinks, asset map and tags slice
Click to show internal directories.
Click to hide internal directories.