From f034af363c57b80dc66599fae53514a051792f31 Mon Sep 17 00:00:00 2001 From: Sebastiaan van Stijn Date: Fri, 6 Jan 2023 22:15:10 +0100 Subject: [PATCH] engine: use API definitions from default branch The default branch has separate files for each API version, so we can consume the swagger files from that branch (we only publish the ones that have been released through the stubs in the engine/api/ directory). Using the default (master) branch allows for API docs changes to be published without them being cherry-picked into the release branch. Signed-off-by: Sebastiaan van Stijn --- _config.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 313b83bdd2..f738d89868 100644 --- a/_config.yml +++ b/_config.yml @@ -171,7 +171,12 @@ fetch-remote: - repo: "https://github.com/docker/docker" default_branch: "master" - ref: "20.10" + # The default branch has separate files for each API version, so we can + # consume the swagger files from that branch (we only publish the ones + # that have been released through the stubs in the engine/api/ directory). + # Using the default (master) branch allows for API docs changes to be + # published without them being cherry-picked into the release branch. + ref: "master" paths: - dest: "engine/api" src: