diff --git a/_config.yml b/_config.yml index 313b83bdd2a1..f738d8986850 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: