Documentation
¶
Index ¶
- func CopyExtraFiles(inDir string, outDir string, files map[string]bool) error
- func EnsureDir(dir string) error
- func IsEntryPresent(f string) (bool, error)
- func IsFileExist(f string) (bool, error)
- func RemoveContents(contents []string) error
- func RemoveHiddenFiles(inDir string, files []string) []string
- func ReorderFiles(files []string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyExtraFiles ¶
Move extra files like assets (images, fonts, css) over to output, preserving the file structure.
func IsEntryPresent ¶
Check for markdown files under directory
func IsFileExist ¶
Return true/false if a path exists/doesn't exist
func RemoveHiddenFiles ¶
Remove hidden files from slice of files
func ReorderFiles ¶
Move all index.md from files to the end so they are processed last
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.