code.pfad.fr/vanitydoc/pkg

pkg package

import "code.pfad.fr/vanitydoc/pkg"

package pkg computes and generate documentation for a given package.

Index

func CopyAsset

CopyAsset copy the given assets from the template folder.

func Gemtext

Gemtext generates gemtext for the given Package.

type HTMLRenderer

func (HTMLRenderer) Render

Render HTML for the given Package.

type Package

Package holds the documentation data of a given package.

func (*Package) ParseFS

NewPackage computes Doc and FileSet fields for a package.

Bugs

no idea how build tags should be managed

Source Files

doc.go gemtext.go gemtext_comment.go html.go

Forge

https://codeberg.org/pfad.fr/vanitydoc

git clone
https://codeberg.org/pfad.fr/vanitydoc.git
git@codeberg.org:pfad.fr/vanitydoc.git