Skip to content

Commit

Permalink
DOC: Add Ingress Controller version to main doc page
Browse files Browse the repository at this point in the history
  • Loading branch information
Mo3m3n committed Nov 10, 2021
1 parent 83c2e09 commit 421eb4d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
3 changes: 1 addition & 2 deletions documentation/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@

# ![HAProxy](../assets/images/haproxy-weblogo-210x49.png "HAProxy")

## HAProxy kubernetes ingress controller

## HAProxy kubernetes ingress controller 1.7
Options for starting controller can be found in [controller.md](controller.md)

This is autogenerated from [doc.yaml](doc.yaml). Description can be found in [generator readme](gen/README.md)
Expand Down
7 changes: 5 additions & 2 deletions documentation/gen/readme.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ import (
"github.com/google/renameio"
)

var header = `
var title = `
# ![HAProxy](../assets/images/haproxy-weblogo-210x49.png "HAProxy")
## HAProxy kubernetes ingress controller
## HAProxy kubernetes ingress controller `

var header = `
Options for starting controller can be found in [controller.md](controller.md)
This is autogenerated from [doc.yaml](doc.yaml). Description can be found in [generator readme](gen/README.md)
Expand Down Expand Up @@ -95,6 +96,8 @@ var docFooter = `

func (c *Conf) generateReadme() {
var buff strings.Builder
buff.WriteString(title)
buff.WriteString(c.ActiveVersion.String())
buff.WriteString(header)

groups := map[string]struct{}{}
Expand Down

0 comments on commit 421eb4d

Please sign in to comment.