1
0
mirror of https://github.com/docker/docs.git synced 2026-10-23 18:09:02 +03:00
Commit Graph

3 Commits

Author SHA1 Message Date
Craig Osterhout
1cb9a4d2c6 ai-gov: vendor api (#26240)
<!--Delete sections as needed -->

## Description

Vendored changes to AI Governance OpenAPI spec, which adds L7 HTTP
rules.

Once the associated PR merges, sync again.


https://deploy-preview-26240--docsdocker.netlify.app/reference/api/ai-governance/latest/

## Related issues or tickets

 https://github.com/docker/governor-services/pull/836

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

Signed-off-by: Craig Osterhout <craig.osterhout@docker.com>
2026-10-02 09:40:15 -07:00
David Karlsson
938f943d94 docs: refresh Sandboxes cookbook and API reference (#26188)
## Summary

Refresh the vendored Sandboxes cookbook and OpenAPI reference from
upstream.

Removes standalone MCP gateway start/stop documentation, imports
upstream authentication and timeout examples, auto-resume readback
guidance, and network-policy selector updates, and regenerates the API
presentation data.

@netlify /ai/sandboxes-api/cookbook/give-a-sandbox-an-mcp-gateway/

Generated by Codex
2026-09-25 20:34:38 +02:00
David Karlsson
2b12ac0ef8 build: vendor API reference data to speed up site builds (#26182)
API generation introduced in #26048 added roughly five minutes to site
builds: median successful main-branch build-workflow duration rose from
4m 05s to 8m 48s across September 3–25. The pre-build command took 4m
41s–4m 53s in each of four jobs on the merge commit.

Vendor the generated presentation model in `data/api-reference.json`,
mark it as generated, and let Docker, Netlify, and local Hugo builds
consume it directly. Keep the existing rendered-output checks.

Move generator tests, strict spec validation, and a byte-for-byte
regeneration check into `docker buildx bake validate-api-reference`,
inheriting the shared Docker base stage. The target uses the pinned
Vacuum release binary with Dockerfile ADD checksum verification and
archive extraction instead of compiling Vacuum from source. The existing
build workflow runs this target alongside the other validation matrix
entries. Only this matrix entry is advisory; its failures do not block
site builds or deployment.

Validated locally with the Docker target, rejection of deliberately
stale data, repeatable generation across directories, a production Hugo
build and verification of 453 API HTML/Markdown page pairs, workflow
syntax checks, and scoped documentation lint. The prebuilt-binary CI
check passed in 1m 40s, down from 5m 15s with source compilation. Remote
layer-cache settings were subsequently removed; local Go cache mounts
remain.

Generated by Codex
2026-09-25 18:45:09 +02:00