pkg package

import ""

package pkg computes and generate documentation for a given package.


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.


no idea how build tags should be managed

Source Files

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


git clone