Skip to content

Commit 80fa030

Browse files
vieuxjohndmulhausen
authored andcommitted
bump engine API to 1.26 (docker#1553)
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
1 parent f28ace5 commit 80fa030

5 files changed

Lines changed: 91 additions & 3 deletions

File tree

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ RUN svn co https://github.com/docker/docker/branches/$ENGINE_BRANCH/docs/extend
4242
&& wget -O allv/registry/configuration.md https://raw.githubusercontent.com/docker/distribution/$DISTRIBUTION_BRANCH/docs/configuration.md \
4343
&& rm -rf allv/apidocs/cloud-api-source \
4444
&& rm -rf allv/tests \
45-
&& wget -O allv/engine/api/v1.25/swagger.yaml https://raw.githubusercontent.com/docker/docker/$ENGINE_BRANCH/api/swagger.yaml \
45+
&& wget -O allv/engine/api/v1.25/swagger.yaml https://raw.githubusercontent.com/docker/docker/v1.13.0/api/swagger.yaml \
46+
&& wget -O allv/engine/api/v1.26/swagger.yaml https://raw.githubusercontent.com/docker/docker/$ENGINE_BRANCH/api/swagger.yaml \
4647
&& jekyll build -s allv -d allvbuild \
4748
&& rm -rf allvbuild/apidocs/layouts \
4849
&& find allvbuild -type f -name '*.html' -print0 | xargs -0 sed -i 's#href="https://docs.docker.com/#href="/#g' \

_data/toc.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,12 +741,14 @@ toc:
741741
title: Getting started
742742
- path: /engine/api/sdks/
743743
title: SDKs
744-
- path: /engine/api/v1.25/
744+
- path: /engine/api/v1.26/
745745
title: Reference
746746
- sectiontitle: Version history
747747
section:
748748
- path: /engine/api/version-history/
749749
title: Overview
750+
- path: /engine/api/v1.25/
751+
title: v1.25 reference
750752
- path: /engine/api/v1.24/
751753
title: v1.24 reference
752754
- path: /engine/api/v1.23/

engine/api/getting-started.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -544,4 +544,4 @@ $ curl --unix-socket /var/run/docker.sock\
544544

545545
- [Full documentation for the Python SDK.](https://docker-py.readthedocs.io)
546546
- [Full documentation for the Go SDK.](https://godoc.org/github.com/docker/docker/client)
547-
- [Full documentation for the HTTP API.](/engine/api/v1.25/)
547+
- [Full documentation for the HTTP API.](/engine/api/v1.26/)

engine/api/v1.26/index.html

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
layout: null
3+
redirect_from:
4+
- /engine/reference/api/docker_remote_api_v1.26/
5+
---
6+
<!DOCTYPE html>
7+
<html>
8+
<head>
9+
<title>Docker Engine API v1.26 Reference</title>
10+
<!-- needed for adaptive design -->
11+
<meta name="viewport" content="width=device-width, initial-scale=1">
12+
<meta name="description" content="Reference for the API served by Docker Engine.">
13+
14+
<!--
15+
ReDoc doesn't change outer page styles
16+
-->
17+
<style>
18+
body {
19+
margin: 0;
20+
padding: 0;
21+
}
22+
api-logo {
23+
background-image: linear-gradient(0deg, #15A4D7 0%, #1488C6 100%);
24+
height: 100px;
25+
text-align: left !important;
26+
}
27+
api-logo img {
28+
width: 136px !important;
29+
margin: 32px 0 0 50px;
30+
}
31+
</style>
32+
</head>
33+
<body>
34+
<redoc spec-url="swagger.yaml" hide-hostname="true" suppress-warnings="true" lazy-rendering></redoc>
35+
<script src="redoc.1.6.2.min.js"> </script>
36+
</body>
37+
</html>

engine/api/v1.26/redoc.1.6.2.min.js

Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)