configdoc

package
v0.9.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 21, 2025 License: MIT Imports: 4 Imported by: 2

Documentation

Index

Constants

View Source
const (
	FieldDefault = "# Default"
	FieldExample = "# Example"

	TokenAdvanced = "**ADVANCED**"
)

Variables

This section is empty.

Functions

func Generate

func Generate(toml, header, example string, extendedDescriptions map[string]string) (string, error)

Generate returns MarkDown documentation generated from the TOML string. - Each field but include a trailing comment of either FieldDefault or FieldExample. - If a description begins with TokenAdvanced, then a warning will be included. - The markdown wil begin with the header, followed by the example - Extended descriptions can be applied to top level tables

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL