trim whitespace around sub-project descriptions

so block descriptions look the same as inline descriptions.
This commit is contained in:
Mike Danese 2018-11-02 11:32:30 -07:00
parent 76fd89e0e1
commit 0ec20e7e32
3 changed files with 2 additions and 3 deletions

View File

@ -178,6 +178,7 @@ func getExistingContent(path string, fileFormat string) (string, error) {
var funcMap = template.FuncMap{
"tzUrlEncode": tzUrlEncode,
"trimSpace": strings.TrimSpace,
}
// tzUrlEncode returns a url encoded string without the + shortcut. This is

View File

@ -62,7 +62,7 @@ The following subprojects are owned by sig-{{.Label}}:
{{- range .Subprojects }}
- **{{.Name}}**
{{- if .Description }}
- Description: {{ .Description }}
- Description: {{ trimSpace .Description }}
{{- end }}
- Owners:
{{- range .Owners }}

View File

@ -35,7 +35,6 @@ The Chairs of the SIG run operations and processes governing the SIG.
The following subprojects are owned by sig-testing:
- **kind**
- Description: Kubernetes IN Docker. Run Kubernetes test clusters on your local machine using Docker containers as nodes.
- Owners:
- https://raw.githubusercontent.com/kubernetes-sigs/kind/master/OWNERS
- **repo-publishing**
@ -43,7 +42,6 @@ The following subprojects are owned by sig-testing:
- https://raw.githubusercontent.com/kubernetes/publishing-bot/master/OWNERS
- **testing-commons**
- Description: The Testing Commons is a subproject within the Kubernetes sig-testing community interested code structure, layout, and execution of common test code used throughout the kubernetes project
- Owners:
- https://raw.githubusercontent.com/kubernetes-sigs/testing_frameworks/master/OWNERS
- https://raw.githubusercontent.com/kubernetes/kubernetes/master/test/OWNERS