Update API docs and variables

This commit is contained in:
gbarr01 2017-11-10 17:01:01 -08:00 committed by Gwendolynne Barr
parent 23e525082a
commit 8677231eff
4 changed files with 83 additions and 1 deletions

View File

@ -571,6 +571,8 @@ reference:
section:
- path: /engine/api/version-history/
title: Version history overview
- path: /engine/api/v1.34/
title: v1.34 reference
- path: /engine/api/v1.33/
title: v1.33 reference
- path: /engine/api/v1.32/

View File

@ -23,7 +23,7 @@ sed -i "s/{{ site.latest_stable_docker_engine_api_version }}/$latest_stable_dock
# Engine stable
ENGINE_SVN_BRANCH="branches/17.09"
ENGINE_BRANCH="17.09"
ENGINE_EDGE_BRANCH="17.10"
ENGINE_EDGE_BRANCH="17.11"
# Distribution
DISTRIBUTION_SVN_BRANCH="branches/release/2.6"
@ -97,6 +97,7 @@ wget -O md_source/engine/api/v1.30/swagger.yaml https://raw.githubusercontent.co
wget -O md_source/engine/api/v1.31/swagger.yaml https://raw.githubusercontent.com/docker/docker-ce/17.07/components/engine/api/swagger.yaml || (echo "Failed 1.31 swagger download or the 1.31 directory doesn't exist" && exit -1)
wget -O md_source/engine/api/v1.32/swagger.yaml https://raw.githubusercontent.com/docker/docker-ce/17.09/components/engine/api/swagger.yaml || (echo "Failed 1.32 swagger download or the 1.32 directory doesn't exist" && exit -1)
wget -O md_source/engine/api/v1.33/swagger.yaml https://raw.githubusercontent.com/docker/docker-ce/17.10/components/engine/api/swagger.yaml || (echo "Failed 1.33 swagger download or the 1.33 directory doesn't exist" && exit -1)
wget -O md_source/engine/api/v1.34/swagger.yaml https://raw.githubusercontent.com/docker/docker-ce/17.11/components/engine/api/swagger.yaml || (echo "Failed 1.34 swagger download or the 1.34 directory doesn't exist" && exit -1)
# Get dockerd.md for stable and edge, from upstream
wget -O md_source/engine/reference/commandline/dockerd.md https://raw.githubusercontent.com/docker/docker-ce/"$ENGINE_BRANCH"/components/cli/docs/reference/commandline/dockerd.md || (echo "Failed to fetch stable dockerd.md" && exit -1)

View File

@ -0,0 +1,35 @@
---
layout: null
---
<!DOCTYPE html>
<html>
<head>
<title>Docker Engine API v1.34 Reference</title>
<!-- needed for adaptive design -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Reference for the API served by Docker Engine.">
<meta charset="utf-8"/>
<!--
ReDoc doesn't change outer page styles
-->
<style>
body {
margin: 0;
padding: 0;
}
api-logo {
background-image: linear-gradient(0deg, #15A4D7 0%, #1488C6 100%);
height: 100px;
text-align: left !important;
}
api-logo img {
width: 136px !important;
margin: 32px 0 0 50px;
}
</style>
</head>
<body>
<redoc spec-url="swagger.yaml" hide-hostname="true" suppress-warnings="true" lazy-rendering></redoc>
<script src="redoc.1.11.0.min.js"> </script>
</body>
</html>

44
engine/api/v1.34/redoc.1.11.0.min.js vendored Executable file

File diff suppressed because one or more lines are too long