Skip to content
Merged
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ More information and links about the CNCF Code of Conduct are [here](code-of-con

## CNCF

The kpt project including the KRM Functions Catalog is a [CNCF Sandbox](https://www.cncf.io/sandbox-projects/) project.
The kpt project including the KRM Functions Catalog is a [CNCF Sandbox](https://www.cncf.io/sandbox-projects/) project.
1 change: 1 addition & 0 deletions documentation/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@ Then run the site using `npm run serve`. To have the site run locally with a fun
## License

Licensed under the [Creative Commons Attribution 4.0 International license](LICENSE-documentation)

5 changes: 5 additions & 0 deletions documentation/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,11 @@ sidebar_menu_compact = true
# Set to true to hide the sidebar search box (the top nav search box will still be displayed if search is enabled)
sidebar_search_disable = true

sidebar_cache_limit=true
ul_show=true
sidebar_menu_truncate=true
sidebar_menu_foldable=false

# Adds a H2 section titled "Feedback" to the bottom of each doc. The responses are sent to Google Analytics as events.
# This feature depends on [services.googleAnalytics] and will be disabled if "services.googleAnalytics.id" is not set.
# If you want this feature, but occasionally need to remove the "Feedback" section from a single page,
Expand Down
2 changes: 2 additions & 0 deletions documentation/go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
module github.com/krm-functions-catalog/docs

go 1.25.7

require github.com/google/docsy v0.10.0 // indirect
4 changes: 1 addition & 3 deletions documentation/layouts/partials/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@
{{ with .Page }}
{{ $active = or $active ( $.IsDescendant .) }}
{{ end }}
{{ $url := urls.Parse .URL }}
{{ $baseurl := urls.Parse $.Site.Params.Baseurl }}
<a class="nav-link{{if $active }} active{{end}}" href="{{ with .Page }}{{ .RelPermalink }}{{ else }}{{ .URL | relLangURL }}{{ end }}"><span{{if $active }} class="active"{{end}}>{{ .Name }}</span></a>
<a class="nav-link{{if $active }} active{{end}}" href="{{ with .Page }}{{ .RelPermalink }}{{ else }}{{ .URL | relLangURL }}{{ end }}" ><span{{if $active }} class="active"{{end}}>{{ .Name }}</span></a>
</li>
{{ end }}
{{ if .Site.Params.versions }}
Expand Down
4 changes: 2 additions & 2 deletions documentation/layouts/partials/sidebar-tree.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
{{ $pages_tmp := where (union $s.Pages $s.Sections).ByWeight ".Params.toc_hide" "!=" true -}}
{{ $pages := $pages_tmp | first $sidebarMenuTruncate -}}
{{ $withChild := gt (len $pages) 0 -}}
{{ $manualLink := cond (and $s.Params $s.Params.manualLink) $s.Params.manualLink ( cond (and $s.Params $s.Params.manualLinkRelref) (relref $s $s.Params.manualLinkRelref) $s.RelPermalink) -}}
{{ $manualLinkTitle := cond (and $s.Params $s.Params.manualLinkTitle) $s.Params.manualLinkTitle $s.Title -}}
{{ $manualLink := cond (isset $s.Params "manuallink") $s.Params.manualLink ( cond (isset $s.Params "manuallinkrelref") (relref $s $s.Params.manualLinkRelref) $s.RelPermalink) -}}
{{ $manualLinkTitle := cond (isset $s.Params "manuallinktitle") $s.Params.manualLinkTitle $s.Title -}}
<li class="td-sidebar-nav__section-title td-sidebar-nav__section{{ if $withChild }} with-child{{ else }} without-child{{ end }}{{ if $activePath }} active-path{{ end }}{{ if (not (or $show $p.Site.Params.ui.sidebar_menu_foldable )) }} collapse{{ end }}" id="{{ $mid }}-li">
{{ if (and $p.Site.Params.ui.sidebar_menu_foldable (ge $ulNr 1)) -}}
<input type="checkbox" id="{{ $mid }}-check"{{ if $activePath}} checked{{ end }}/>
Expand Down
2 changes: 1 addition & 1 deletion documentation/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@

[build.environment]
GO_VERSION = "1.25.7"
HUGO_VERSION = "v0.148.2"
HUGO_VERSION = "0.127.0"


Loading