Generate varlink API documentation automatically

Using varlink's idl parser, we generate API documentation for the podman
API relying on the .varlink file as the source.

Signed-off-by: baude <bbaude@redhat.com>

Closes: #734
Approved by: baude
This commit is contained in:
baude
2018-05-07 17:09:11 -05:00
committed by Atomic Bot
parent 21ebdb558c
commit 25263558f1
18 changed files with 4125 additions and 1534 deletions

3
docs/generate.go Normal file
View File

@ -0,0 +1,3 @@
package docs
//go:generate go run varlink/apidoc.go ../cmd/podman/varlink/io.projectatomic.podman.varlink ../API.md