Skip to content

Consolidate and rewrite Functions documentation - #6818

Open
dprotaso wants to merge 4 commits into
knative:mainfrom
dprotaso:kn-docs-ia-functions
Open

dprotaso wants to merge 4 commits into
knative:mainfrom
dprotaso:kn-docs-ia-functions

Conversation

@dprotaso

Copy link
Copy Markdown
Member

Stacked on #6793

This draft PR is stacked on top of #6793 (Get Started & navigation simplification). Once #6793 merges, this branch will be rebased onto main so only the two Functions commits remain:

  • 26fbbf10 — Consolidate Functions navigation and add redirects for retired pages
  • c2b244ec — Rewrite Functions guides as six task-focused pages

What changed

Collapsed the 10 uneven Functions pages/stubs into 6 task-focused pages with H2-only TOCs and redirects in config/redirects.yml:

  • Overview (functions/README.md) — concise orientation, link to Get Started -> Try Functions, and task map.
  • Develop locally (functions/running-functions.md) — merges Install, Create, Run locally, and Invoke; removes stale --registry requirements and cluster proxy headers from local runs; adds explicit --target local HTTP and CloudEvents examples.
  • Build an image (functions/building-functions.md) — local image build only; remote Tekton builds moved to Deploy.
  • Deploy a function (functions/deploying-functions.md) — local deploy + remote Tekton builds (Git-backed vs direct upload), explicit --target remote verification, and separate Knative vs --deployer raw lifecycle commands.
  • Connect events (functions/subscribing-functions.md) — separates Broker/Trigger requirements from Kafka sidecar requirements (explicitly calling out KEDA/raw deployer support) with consistent namespace handling.
  • Templates and runtimes (functions/language-packs.md) — replaces empty stub headings with built-in runtimes, HTTP vs CloudEvents guidance, --repository, and func repository workflows.

Retired install-func.md, creating-functions.md, invoking-functions.md, and kafka-functions.md with redirects and preserved fragment anchors.

Checks

  • ./hack/mkdocs.sh build --strict passes with zero warnings.
  • Full multi-version strict build (./hack/build.sh --strict) passes with zero warnings.

@knative-prow knative-prow Bot added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Nov 28, 2026
@netlify

netlify Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for knative ready!

Name Link
🔨 Latest commit b219a99
🔍 Latest deploy log https://app.netlify.com/projects/knative/deploys/6b108caed6ecfb87de8d9ca2
😎 Deploy Preview https://deploy-preview-6818--knative.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.

@knative-prow knative-prow Bot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Nov 28, 2026
@dprotaso
dprotaso force-pushed the kn-docs-ia-functions branch from c2b244e to 07985c2 Compare November 28, 2026 02:55
@dprotaso
dprotaso marked this pull request as ready for review December 1, 2026 18:05
@knative-prow knative-prow Bot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Dec 1, 2026
@knative-prow
knative-prow Bot requested a review from aliok December 1, 2026 18:05
@dprotaso
dprotaso force-pushed the kn-docs-ia-functions branch from 07985c2 to b5c27fb Compare December 1, 2026 18:06
@knative-prow knative-prow Bot added size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. and removed size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Dec 1, 2026
@dprotaso
dprotaso force-pushed the kn-docs-ia-functions branch from b5c27fb to aa0af06 Compare December 1, 2026 21:55
@gauron99

gauron99 commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Thanks a lot for the rewrite! ❤️ its been long overdue! (sorry about that)

@dprotaso

dprotaso commented Dec 2, 2026 •

Copy link
Copy Markdown
Member Author

Thanks @gauron99 - updated the flags and Git-backed deploy instructions. I also made the build page registry-first and clarified that you can skip it and just run func deploy.

Added a note about the saved image name overriding --registry too. Strict builds pass and I rebased the rest of the stack.

@gauron99

gauron99 commented Dec 3, 2026

Copy link
Copy Markdown
Contributor

/lgtm
/approve
/hold if anyone else is reviewing as well

@knative-prow knative-prow Bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Dec 3, 2026
@knative-prow knative-prow Bot added the lgtm Indicates that a PR is ready to be merged. label Dec 3, 2026
@knative-prow

knative-prow Bot commented Dec 3, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, gauron99

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. lgtm Indicates that a PR is ready to be merged. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants