File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed
scripts/docs-collator/templates Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1
- {{- defineDatasource "config" .Env.README_YAML | regexp.Replace ". * " "" -}}
2
- {{- defineDatasource "includes" .Env.README_INCLUDES | regexp.Replace ". * " "" -}}
1
+ {{- defineDatasource "config" .Env.README_YAML -}}
2
+ {{- defineDatasource "includes" (env.Getenv "README_INCLUDES") -}}
3
3
{{- $deprecated := has (ds "config") "deprecated" -}}
4
4
{{- $fullName := (ds "config").name -}}
5
5
{{- $shortName := (index ($fullName | strings.SplitN "-" 3) 2) -}}
Original file line number Diff line number Diff line change 1
- {{- defineDatasource "config" .Env.README_YAML | regexp.Replace ". * " "" -}}
2
- {{- defineDatasource "includes " .Env.README_INCLUDES | regexp.Replace ". * " "" -}}
1
+ {{- defineDatasource "config" .Env.README_YAML -}}
2
+ {{- defineDatasource "readmeIncludesDir " .Env.README_INCLUDES -}}
3
3
{{- $deprecated := has (ds "config") "deprecated" -}}
4
4
{{- $fullModuleName := (ds "config").name -}}
5
5
{{- $shortModuleName := (index ($fullModuleName | strings.SplitN "-" 3) 2) -}}
18
18
custom_edit_url: https://github.com/cloudposse/{{ $fullModuleName }}/edit/main/README.md
19
19
---
20
20
21
+
21
22
# Module: ` {{ $shortModuleName }} `
22
23
23
24
{{- if $deprecated }}
You can’t perform that action at this time.
0 commit comments