Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ __pycache__
.docker
documentation/resources

# Hugo
.hugo*
resources/
public/

# We use sed -i.bak when doing in-line replace, because it works better cross-platform
*.bak

Expand Down
5 changes: 5 additions & 0 deletions documentation/content/en/function-catalog/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ menu:
weight: 40
---

{{< alert >}}
Please see the [versioning](https://github.com/kptdev/krm-functions-catalog/blob/master/VERSIONING.md)
document, which details the SemVer tagging strategy being used for the released KRM Functions.
{{< /alert >}}

## Curated Functions Catalog


Expand Down
4 changes: 4 additions & 0 deletions documentation/go.sum
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
github.com/FortAwesome/Font-Awesome v0.0.0-20240716171331-37eff7fa00de/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo=
github.com/google/docsy v0.11.0 h1:QnV40cc28QwS++kP9qINtrIv4hlASruhC/K3FqkHAmM=
github.com/google/docsy v0.11.0/go.mod h1:hGGW0OjNuG5ZbH5JRtALY3yvN8ybbEP/v2iaK4bwOUI=
github.com/twbs/bootstrap v5.3.3+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
15 changes: 15 additions & 0 deletions documentation/layouts/shortcodes/alert.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{{ $type := .Get "type" | default "info" }}
{{ $title := .Get "title" }}

<div class="alert alert-{{ $type }}">
{{ if $title }}
<strong>{{ $title }}</strong>
{{ else }}
{{/* Default titles per type with HTML entities */}}
{{ if eq $type "info" }}<strong>&#8505; Info:</strong>{{ end }}
{{ if eq $type "tip" }}<strong>&#128161; Tip:</strong>{{ end }}
{{ if eq $type "warning" }}<strong>&#9888; Warning:</strong>{{ end }}
{{ if eq $type "danger" }}<strong>&#10060; Danger:</strong>{{ end }}
{{ end }}
{{ .Inner | markdownify }}
</div>
Loading