Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractAllListings ¶
func ExtractAllListings( files []string, inDir string, d map[string]entry.Entry, isExt bool, ) ([]string, map[string][]listing.Listing, map[string]bool, error)
The main callable function for extract.go to call all the relevant functions to populate listing, missing indexes, and skipped files
func ExtractEntry ¶
func ExtractEntry(files []string, inDir string, isHighlight bool, isExt bool) ( map[string]entry.Entry, []tag.Tag, map[string]bool, 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
These are the returned data:
d: entry.Entry (key: entry filename)
i: linked internal assets (key: asset filename)
Types ¶
This section is empty.