Add support for modules

This commit is contained in:
Will 2021-01-19 15:57:35 -08:00
parent 74adbfc1ec
commit 228c737f56
No known key found for this signature in database
GPG key ID: 385872BB265E8BF8
35 changed files with 6165 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{{/*
This template is used to embed module documentation in the client-server API spec.
It searches the site for pages of type "module", sorts them by weight, and
emits the page's rendered content.
*/}}
{{ $modules := where site.Pages "Type" "module" }}
{{ range $modules.ByWeight }}
{{ .Content }}
{{ end }}