Skip to content

Commit

Permalink
Merge branch 'master' into staging
Browse files Browse the repository at this point in the history
  • Loading branch information
milldr authored Aug 9, 2024
2 parents ff76ae8 + 54b349f commit 0d3caca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/docs-collator/templates/github-actions/readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- defineDatasource "config" .Env.README_YAML | regexp.Replace ".*" "" -}}
{{- defineDatasource "includes" .Env.README_INCLUDES | regexp.Replace ".*" "" -}}
{{- defineDatasource "config" .Env.README_YAML -}}
{{- defineDatasource "includes" (env.Getenv "README_INCLUDES") -}}
{{- $deprecated := has (ds "config") "deprecated" -}}
{{- $fullName := (ds "config").name -}}
{{- $shortName := (index ($fullName | strings.SplitN "-" 3) 2) -}}
Expand Down
5 changes: 3 additions & 2 deletions scripts/docs-collator/templates/modules/readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{- defineDatasource "config" .Env.README_YAML | regexp.Replace ".*" "" -}}
{{- defineDatasource "includes" .Env.README_INCLUDES | regexp.Replace ".*" "" -}}
{{- defineDatasource "config" .Env.README_YAML -}}
{{- defineDatasource "readmeIncludesDir" .Env.README_INCLUDES -}}
{{- $deprecated := has (ds "config") "deprecated" -}}
{{- $fullModuleName := (ds "config").name -}}
{{- $shortModuleName := (index ($fullModuleName | strings.SplitN "-" 3) 2) -}}
Expand All @@ -18,6 +18,7 @@ tags:
custom_edit_url: https://github.com/cloudposse/{{ $fullModuleName }}/edit/main/README.md
---


# Module: `{{ $shortModuleName }}`

{{- if $deprecated }}
Expand Down

0 comments on commit 0d3caca

Please sign in to comment.