Expand description
Modules§
- hugo_
to_ json_ error - Contains possible errors.
- operation_
result - Represents the result of trying to parse a file.
- page_
index - Contains the
PageIndex
data structure. - settings
- Contains configuration options.
Functions§
- convert_
to_ json_ and_ write - Converts a Hugo contents directory to JSON and writes it to a given location. If the output location is provided and it doesn’t exist, it will be created. If no output location it will write to stdout.
- create_
page_ index - Given a contents directory it traverses all matching
.md
files with TOML and YAML frontmatter.