Skip to content

docs: consolidate build metadata and buildkit reference docs#24847

Draft
dvdksn wants to merge 5 commits intodocker:mainfrom
dvdksn:consolidate-upstream-prose
Draft

docs: consolidate build metadata and buildkit reference docs#24847
dvdksn wants to merge 5 commits intodocker:mainfrom
dvdksn:consolidate-upstream-prose

Conversation

@dvdksn
Copy link
Copy Markdown
Contributor

@dvdksn dvdksn commented Apr 21, 2026

Summary

Two cleanups in the build docs:

Flatten attestations. /build/metadata/attestations/ becomes three siblings: Annotations, Provenance, SBOM. Conceptual framing moves out of the build docs and into dhi/core-concepts/attestations.md, which now leads with the concept. Aliases preserve the old URLs.

Stop republishing BuildKit internals. Dropped the Hugo mounts for buildkitd.toml.md, slsa-definitions.md, and attestation-storage.md — we can't paraphrase BuildKit internals faithfully without the internals context. Inbound links now point at the canonical files in moby/buildkit.

Generated by Claude Code

@dvdksn dvdksn added the status/review Pull requests that are ready for review label Apr 21, 2026
@netlify
Copy link
Copy Markdown

netlify bot commented Apr 21, 2026

Deploy Preview for docsdocker ready!

Name Link
🔨 Latest commit e86bac9
🔍 Latest deploy log https://app.netlify.com/projects/docsdocker/deploys/69e77beaa145870007b5bf0e
😎 Deploy Preview https://deploy-preview-24847--docsdocker.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.

@dvdksn dvdksn force-pushed the consolidate-upstream-prose branch from 4c4831c to 83abd69 Compare April 21, 2026 11:37
dvdksn and others added 5 commits April 21, 2026 15:29
Remove the hugo module mounts that vendored buildkitd.toml.md,
slsa-definitions.md, and attestation-storage.md from moby/buildkit
into this repo. These files document BuildKit internals (worker
backends, frontends, attestation storage) that aren't in scope for
docs.docker.com to explain — attempting to paraphrase them without
the internals context produces vague, unreliable reference docs.

Inbound links to the former toml-configuration page now point to the
authoritative file in moby/buildkit. The task-oriented
Configure BuildKit page (configure.md) continues to cover common
Docker Build customizations like mirrors and CNI.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Move the /build/metadata/attestations/ subsection into three siblings
under /build/metadata/: annotations, provenance, sbom. The new
/metadata/_index.md becomes a rendered landing page with mechanics
content (create, storage, manifest format) inherited from the old
attestations index, and cross-links to the DHI core-concepts page for
the underlying concept.

Aliases preserved: /build/attestations/, /build/metadata/attestations/,
/build/attestations/sbom/, /build/attestations/slsa-provenance/, and
the /build/metadata/attestations/* equivalents.

All 27 inbound links across content/ rewritten to target the new paths.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Rewrite the opening paragraph to define attestations in general terms
before framing them in a DHI-specific context, consistent with other
pages under core-concepts/.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Add backward-compat aliases so links to the pre-flatten URLs
/build/metadata/attestations/sbom/ and
/build/metadata/attestations/slsa-provenance/ continue to resolve.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
Will need upstream patch

Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
@dvdksn dvdksn force-pushed the consolidate-upstream-prose branch from 83abd69 to e86bac9 Compare April 21, 2026 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status/review Pull requests that are ready for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant