Add gendoc command

Using the new, great auto-doc in Cobra.

This commit also contains a current result of that command added to a commands section in docs.

Fixes #1136
This commit is contained in:
bep
2015-05-13 15:31:30 +02:00
committed by spf13
parent be920fdb2c
commit 599d1b9786
23 changed files with 1132 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
{{ partial "header.html" . }}
<h1>Hugo Commands</h1>
<p>This is an autogenerated and up-to-date (thanks to <a href="https://github.com/spf13/cobra">Cobra</a>) documentation for all the CLI commands in Hugo.</p>
<ul>
{{ range .Data.Pages }}
<li><a href="{{ .URL }}">{{ .Title }}</a></li>
{{ end }}
</ul>
{{ partial "footer.html" . }}