gardener / documentation

Documentation and website
Apache License 2.0
34 stars 68 forks source link

Added a section for DWD docs in Other Components #491

Closed ashwani2k closed 6 months ago

ashwani2k commented 6 months ago

What this PR does / why we need it: Currently the gardener.cloud docs do not capture Dependency Watchdog. With V2 release we have revamped the doc, but unfortunately the same was not updated in g/g docs.

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer: I was not able to test this locally as the make build for website-generator succeeds but then doinghugo serve leads with the following errors:

❯ hugo serve
WARN  DEPRECATED: Kind "taxonomyterm" used in disableKinds is deprecated, use "taxonomy" instead.
Watching for changes in /Users/XXX/go/src/github.com/gardener/website-generator/hugo/{archetypes,assets,content,data,layouts,package.json,static,themes}
Watching for config changes in /Users/XXX/go/src/github.com/gardener/website-generator/hugo/config.toml, /Users/XXX/go/src/github.com/gardener/website-generator/hugo/themes/docsy/config.toml
Start building sites …
hugo v0.124.1-db083b05f16c945fec04f745f0ca8640560cf1ec+extended darwin/arm64 BuildDate=2024-03-20T11:40:10Z VendorInfo=brew

ERROR render of "section" failed: "/Users/XXX/go/src/github.com/gardener/website-generator/hugo/layouts/docs/list.html:7:11": execute of template failed: template: docs/list.html:7:11: executing "main" at <partial "docs/section-index.html" .>: error calling partial: "/Users//go/src/github.com/gardener/website-generator/hugo/layouts/partials/docs/section-index.html:7:17": execute of template failed: template: partials/docs/section-index.html:7:17: executing "partials/docs/section-index.html" at <where $pages "Parent.File.UniqueID" "==" $parent.File.UniqueID>: error calling where: runtime error: invalid memory address or nil pointer dereference
ERROR render of "section" failed: "/Users/XXXX/go/src/github.com/gardener/website-generator/hugo/layouts/docs/list.html:7:11": execute of template failed: template: docs/list.html:7:11: executing "main" at <partial "docs/section-index.html" .>: error calling partial: "/Users/XXXX/go/src/github.com/gardener/website-generator/hugo/layouts/partials/docs/section-index.html:7:65": execute of template failed: template: partials/docs/section-index.html:7:65: executing "partials/docs/section-index.html" at <$parent.File.UniqueID>: error calling UniqueID: runtime error: invalid memory address or nil pointer dereference
Built in 13522 ms
Error: error building site: render: failed to render pages: render of "section" failed: "/Users/XXXX/go/src/github.com/gardener/website-generator/hugo/layouts/docs/list.html:7:11": execute of template failed: template: docs/list.html:7:11: executing "main" – File is nil; wrap it in if or with: {{ with partial "docs/section-index.html" .>: error calling partial: "/Users/XXXX/go/src/github.com/gardener/website-gener

Release note:

Added dependency-watchdog documentation within Other Components