Skip to content

Sync all docs using new mech#1235

Merged
liamfallon merged 2 commits into
kptdev:mainfrom
Nordix:sync_fn_docs
Apr 21, 2026
Merged

Sync all docs using new mech#1235
liamfallon merged 2 commits into
kptdev:mainfrom
Nordix:sync_fn_docs

Conversation

@efiacor
Copy link
Copy Markdown
Collaborator

@efiacor efiacor commented Apr 16, 2026

Sync the hugo site docs with the existing fn READMEs

Signed-off-by: Fiachra Corcoran <fiachra.corcoran@est.tech>
Copilot AI review requested due to automatic review settings April 16, 2026 21:43
@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 16, 2026

Deploy Preview for krm-function-catalog ready!

Name Link
🔨 Latest commit 754076a
🔍 Latest deploy log https://app.netlify.com/projects/krm-function-catalog/deploys/69e674afccc8ec0009d2e4c2
😎 Deploy Preview https://deploy-preview-1235--krm-function-catalog.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@efiacor efiacor requested a review from CsatariGergely April 16, 2026 21:43
@efiacor efiacor self-assigned this Apr 16, 2026
@efiacor efiacor added the documentation Improvements or additions to documentation label Apr 16, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Syncs the Hugo site documentation with the function README/metadata sources, including normalizing front matter and updating links/refs across generated docs and examples.

Changes:

  • Updates the docs generator to emit Hugo front matter correctly and replace :latest image tags with the latest released minor tag (e.g. v0.2).
  • Removes deprecated/unused metadata tag values from the metadata JSON schema and cleans up affected function metadata.
  • Regenerates/updates multiple function docs and example READMEs (links, refs, descriptions, and new pages like set-image/v0.2 and render-helm-chart/v0.3).

Reviewed changes

Copilot reviewed 45 out of 45 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
scripts/generate_docs/metadata-schema.json Drops unused tag enum values to align metadata validation with current tag set.
scripts/generate_docs/main_test.go Adds unit tests for replaceVersionTags.
scripts/generate_docs/generate_docs.go Fixes Hugo front matter placement and replaces :latest with latest minor version in generated docs.
functions/go/starlark/README.md Updates external links (Starlib + kpt.dev anchors).
functions/go/set-labels/README.md Pins kustomize source links to a specific tag.
functions/go/set-image/README.md Pins kustomize source links to a specific tag.
functions/go/set-enforcement-action/metadata.yaml Removes deprecated Config Sync tag.
functions/go/set-annotations/README.md Pins kustomize source links to a specific tag.
functions/go/search-replace/README.md Updates a Kubernetes design-proposal reference URL.
functions/go/remove-local-config-resources/metadata.yaml Removes deprecated GCP / Config Sync tags.
functions/go/list-setters/README.md Uses fully-qualified image reference and updates doc cross-links to Hugo relref.
functions/go/generate-kpt-pkg-docs/metadata.yaml Removes deprecated blueprints tag.
functions/go/ensure-name-substring/README.md Pins kustomize source links to a specific tag.
functions/go/create-setters/README.md Updates setter-definition link to Hugo relref.
functions/go/apply-setters/README.md Updates cross-doc link to use Hugo relref.
examples/generate-kpt-pkg-docs-simple/README.md Replaces catalog link with GitHub source link.
examples/gatekeeper-invalid-configmap/README.md Switches function link to Hugo relref.
examples/gatekeeper-imperative/README.md Switches function link to Hugo relref.
examples/gatekeeper-disallow-root-user/README.md Switches function link to Hugo relref.
examples/ensure-name-substring-suffix/README.md Switches function link to Hugo relref.
examples/ensure-name-substring-prefix/README.md Switches function link to Hugo relref.
examples/ensure-name-substring-imperative/README.md Switches function link to Hugo relref.
examples/ensure-name-substring-depends-on/README.md Switches function link to Hugo relref.
examples/ensure-name-substring-advanced/README.md Switches function link to Hugo relref.
examples/apply-setters-simple/README.md Updates cross-doc link to use Hugo relref.
documentation/content/en/upsert-resource/v0.2/_index.md Regenerated content: updated description, adds generation marker, expands usage/example.
documentation/content/en/starlark/v0.5/_index.md Regenerated content: marker + minor formatting tweaks.
documentation/content/en/set-namespace/v0.4/_index.md Regenerated content: marker + updated description.
documentation/content/en/set-labels/v0.2/_index.md Regenerated content: marker + pinned kustomize link.
documentation/content/en/set-labels/v0.1/_index.md Pins kustomize source link.
documentation/content/en/set-image/v0.2/_index.md Adds generated doc page for set-image v0.2.
documentation/content/en/set-image/v0.1/_index.md Pins kustomize source link.
documentation/content/en/set-enforcement-action/v0.1/_index.md Regenerated content: removes config-sync tag, adds marker, description tweak.
documentation/content/en/set-annotations/v0.1/_index.md Regenerated content: marker, heading normalization, pinned kustomize link.
documentation/content/en/search-replace/v0.2/_index.md Regenerated content: marker + punctuation tweak.
documentation/content/en/render-helm-chart/v0.3/_index.md Adds generated doc page for render-helm-chart v0.3.
documentation/content/en/remove-local-config-resources/v0.1/_index.md Regenerated content: removes config-sync tag, adds marker, description tweak.
documentation/content/en/list-setters/v0.1/_index.md Regenerated content: marker + usage snippet update.
documentation/content/en/kubeconform/v0.1/_index.md Regenerated content: marker + updated description.
documentation/content/en/gatekeeper/v0.2/_index.md Regenerated content: marker + punctuation tweak.
documentation/content/en/ensure-name-substring/v0.2/_index.md Regenerated content: marker + issue link fix + pinned kustomize links.
documentation/content/en/ensure-name-substring/v0.1/_index.md Issue link fix + pinned kustomize links.
documentation/content/en/create-setters/v0.1/_index.md Regenerated content: marker + formatting tweaks.
documentation/content/en/apply-setters/v0.2/_index.md Regenerated content: marker + CLI example update + cross-doc relref.
documentation/content/en/apply-replacements/v0.1/_index.md Regenerated content: marker + cleans up link formatting.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread documentation/content/en/create-setters/v0.1/_index.md Outdated
Comment thread documentation/content/en/create-setters/v0.1/_index.md Outdated
Comment thread documentation/content/en/list-setters/v0.1/_index.md Outdated
Comment thread documentation/content/en/render-helm-chart/v0.3/_index.md Outdated
Comment thread documentation/content/en/set-image/v0.2/_index.md Outdated
@liamfallon
Copy link
Copy Markdown
Collaborator

There's a few copilot comments on here.

Signed-off-by: Fiachra Corcoran <fiachra.corcoran@est.tech>
@liamfallon liamfallon merged commit af50d24 into kptdev:main Apr 21, 2026
12 checks passed
@efiacor efiacor deleted the sync_fn_docs branch April 21, 2026 11:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants