docs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

templ: version: v0.3.924

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Doc

type Doc struct {
	Name     string
	Filename string
	Filepath string
	Content  string
}

func Read

func Read(dirpath string, out string) ([]Doc, error)

func (Doc) Page

func (d Doc) Page(c config.Config, docs []Doc, httpMode bool) templ.Component

type LocalLinkTransformer

type LocalLinkTransformer struct{}

func (*LocalLinkTransformer) Transform

func (t *LocalLinkTransformer) Transform(doc *ast.Document, reader text.Reader, pc parser.Context)

Jump to

Keyboard shortcuts

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