We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4dc14c3 commit 9154bb3Copy full SHA for 9154bb3
tools/generate-docs/main.go
@@ -126,7 +126,7 @@ func (ca *CompositeAction) WriteOutputTable(w io.Writer, path string) {
126
}
127
128
func (ca *CompositeAction) WriteExample(w io.Writer, path, version string) {
129
- id := strcase.ToKebab(strings.ReplaceAll(ca.Name, " ", "_"))
+ id := strcase.ToKebab(strings.ReplaceAll(path, "/", "_"))
130
fmt.Fprintf(w, "## Example\n")
131
fmt.Fprintf(w, "\n")
132
fmt.Fprintf(w, "Here is a very basic example of how to use the `%v` composite action\n", path)
0 commit comments