Skip to content
This repository has been archived by the owner on Sep 9, 2020. It is now read-only.

ksonnet/kslibdocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kslibdocs

Generate a reference docs website for ksonnet-lib

Installation

This is an early version of kslibdocs. To use it, you build it from source:

$ mkdir -p ${GOPATH}/src/github.com/ksonnet
$ cd ${GOPATH}/src/github.com/ksonnet
$ git clone https://github.com/ksonnet/kslibdocs
$ go install github.com/ksonnet/kslibdocs/cmd/kslibdocgen

Usage

Build reference website HTML

$ kslibdocgen --k8sLib=/path/to/k8s.libsonnet -outDir=/tmp/build

Hack on HTML templates

$ hack/init-template.sh /tmp/custom-template
$ <...> hack on the template
$ kslibdocgen --k8sLib=/path/to/k8s.libsonnet -outDir=/tmp/build --templateDir=/tmp/custom-template

Update embedded template

$ hack/update-template.sh /tmp/custom-template
$ go generate ./pkg/...

About

Generate ksonnet-lib reference HTML

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages