From 9de12bb9c8e74df7ec07852b11f67c28904d4f41 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 24 Feb 2023 14:51:27 +0100 Subject: [PATCH 1/2] docs: do not generate ref for internal serve command Signed-off-by: CrazyMax --- docs/reference/buildx__INTERNAL_SERVE.md | 13 ------------- hack/dockerfiles/docs.Dockerfile | 1 + 2 files changed, 1 insertion(+), 13 deletions(-) delete mode 100644 docs/reference/buildx__INTERNAL_SERVE.md diff --git a/docs/reference/buildx__INTERNAL_SERVE.md b/docs/reference/buildx__INTERNAL_SERVE.md deleted file mode 100644 index a7587d25..00000000 --- a/docs/reference/buildx__INTERNAL_SERVE.md +++ /dev/null @@ -1,13 +0,0 @@ -# docker buildx _INTERNAL_SERVE - - -### Options - -| Name | Type | Default | Description | -|:------------|:---------|:--------|:-----------------------------------------| -| `--builder` | `string` | | Override the configured builder instance | -| `--config` | `string` | | Specify buildx server config file | - - - - diff --git a/hack/dockerfiles/docs.Dockerfile b/hack/dockerfiles/docs.Dockerfile index d116cc27..88d1f6c9 100644 --- a/hack/dockerfiles/docs.Dockerfile +++ b/hack/dockerfiles/docs.Dockerfile @@ -22,6 +22,7 @@ rsync -a /context/. . docsgen --formats "$FORMATS" --source "docs/reference" mkdir /out cp -r docs/reference /out +rm -f /out/reference/*__INTERNAL_SERVE.yaml /out/reference/*__INTERNAL_SERVE.md EOT FROM scratch AS update From 6808c0e5855878abb82f4c7fe1180954b9493679 Mon Sep 17 00:00:00 2001 From: CrazyMax Date: Fri, 24 Feb 2023 15:13:10 +0100 Subject: [PATCH 2/2] ci: update docs-upstream workflow Signed-off-by: CrazyMax --- .github/workflows/docs-upstream.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/docs-upstream.yml b/.github/workflows/docs-upstream.yml index 85027678..3201ae93 100644 --- a/.github/workflows/docs-upstream.yml +++ b/.github/workflows/docs-upstream.yml @@ -59,3 +59,4 @@ jobs: repo: https://github.com/${{ github.repository }} data-files-id: docs-yaml data-files-folder: buildx + data-files-placeholder-folder: engine/reference/commandline