gen

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMarkdownCSS

func GetMarkdownCSS() []byte

Types

type Gen

type Gen struct {
	// contains filtered or unexported fields
}

func New

func New() *Gen

func (*Gen) Build

func (g *Gen) Build() (_ []byte, err error)

func (*Gen) BuildSearchPageTemplate

func (g *Gen) BuildSearchPageTemplate() (_ []byte, err error)

func (*Gen) WithAPITitle

func (g *Gen) WithAPITitle(apiTitle string) *Gen

func (*Gen) WithBasepath

func (g *Gen) WithBasepath(basepath string) *Gen

func (*Gen) WithDocument

func (g *Gen) WithDocument(doc string) *Gen

func (*Gen) WithFavicon

func (g *Gen) WithFavicon(href string) *Gen

func (*Gen) WithPages

func (g *Gen) WithPages(pages core.Pages) *Gen
func (g *Gen) WithSearchLink(searchLink string) *Gen

Jump to

Keyboard shortcuts

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