docs: consolidate build metadata and buildkit reference docs#24847
Draft
dvdksn wants to merge 5 commits intodocker:mainfrom
Draft
docs: consolidate build metadata and buildkit reference docs#24847dvdksn wants to merge 5 commits intodocker:mainfrom
dvdksn wants to merge 5 commits intodocker:mainfrom
Conversation
✅ Deploy Preview for docsdocker ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
4c4831c to
83abd69
Compare
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>
83abd69 to
e86bac9
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 intodhi/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, andattestation-storage.md— we can't paraphrase BuildKit internals faithfully without the internals context. Inbound links now point at the canonical files inmoby/buildkit.Generated by Claude Code