Versions in this module Expand all Collapse all v0 v0.4.2 Aug 13, 2026 v0.4.1 Aug 10, 2026 Changes in this version + func HighlightTokens(src string, tokens []ipmtokens.Token) string + func SortedTokensCopy(tokens []ipmtokens.Token) []ipmtokens.Token + type Config struct + ExtraCSS string + Files []FileMapping + Footer FooterConfig + Globs []GlobMapping + Header HeaderConfig + NoTOC bool + OutDir string + TitleTemplate string + func LoadConfig(path string) (*Config, error) + type FileMapping struct + Out string + Src string + type FooterConfig struct + Branch string + Repo string + SourceLabel string + Text string + type GlobMapping struct + Src string + type HeaderConfig struct + Brand string + HomeURL string + Logo string + LogoAlt string + Menu []MenuLink + type MenuLink struct + Label string + URL string + type RenderResult struct + IpmtBlocks int + OutAbs string + SVGEmbeds int + SrcAbs string + Title string + func RenderPage(cfg *Config, srcAbs, outAbs, srcRel string) (*RenderResult, error) + type ResolvedMapping struct + OutAbs string + SrcAbs string + SrcRel string + func ResolveMappings(cfg *Config, configDir string) ([]ResolvedMapping, error)