VALUES.html.gotmpl 791 B

12345678910111213141516171819202122232425262728293031
  1. <table>
  2. <thead>
  3. <tr>
  4. <th><div style="width:12rem">Key</div></th>
  5. <th><div style="width:5rem">Type</div></th>
  6. <th><div style="width:5rem">Default</div></th>
  7. <th>Description</th>
  8. </tr>
  9. </thead>
  10. <tbody><tr style="display:none;">
  11. <td></td>
  12. <td></td>
  13. <td></td>
  14. <td></td>
  15. <td></td>
  16. <td>
  17. Workaround for hugo bug not rendering first table row
  18. <br/>
  19. </td>
  20. </tr>
  21. {{- range .Values }}
  22. <tr>
  23. <td id="{{ .Key | replace "." "--" }}">{{ .Key }}</td>
  24. <td>{{ .Type }}</td>
  25. <td>{{ default .Default .AutoDefault }}</td>
  26. <td>{{ if .Description }}{{ .Description }}{{ else }}{{ .AutoDescription }}{{ end }}</td>
  27. </tr>
  28. {{- end }}
  29. </tbody>
  30. </table>