docs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Body

func Body(elements ...Documentation) *body

func Divider

func Divider() *divider

func List

func List(elements ...Documentation) *list

func Ordinal

func Ordinal(n int) string

func Paragraph

func Paragraph(elements ...Documentation) *paragraph

func RenderDocumentation

func RenderDocumentation(d Documentation, w io.Writer)

func Section

func Section(header string, body Documentation) *section

func TableOfContents added in v0.3.0

func TableOfContents(names, hashes []string) *tableOfContents

func Text

func Text(txt string) *text

Types

type Documentation

type Documentation interface {
	// contains filtered or unexported methods
}

type Documented

type Documented interface {
	Document() Documentation
}

Jump to

Keyboard shortcuts

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