Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go back to small /edge #2736

Merged
merged 5 commits into from
Apr 14, 2017
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Add v1.28 API
  • Loading branch information
Misty Stanley-Jones committed Apr 13, 2017
commit 245340a05353e3690d4596740a18e8077757ed97
12 changes: 2 additions & 10 deletions _data/toc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@ guides:
- path: /edge/engine/reference/commandline/docker/
title: Docker Edge CLI reference
nosync: true
- path: /edge/engine/api/v1.28/
title: v1.28 Reference (Docker CE Edge)
nosync: true
- path: /docker-for-mac/install/
title: Docker for Mac
- path: /docker-for-windows/install/
Expand Down Expand Up @@ -496,9 +493,8 @@ reference:
title: Getting started
- path: /engine/api/sdks/
title: SDKs
- path: /edge/engine/api/v1.28/
title: v1.28 Reference (Docker CE Edge)
nosync: true
- path: /engine/api/v1.28/
title: v1.28 Reference
- path: /engine/api/v1.27/
title: v1.27 Reference
- sectiontitle: Previous API versions
Expand Down Expand Up @@ -853,10 +849,6 @@ reference:
title: docker wait
- title: Edge Daemon CLI reference (dockerd)
path: /edge/engine/reference/commandline/dockerd/
- sectiontitle: Docker Edge Engine API
section:
- path: /edge/engine/api/v1.28/
title: v1.28 API Reference
- sectiontitle: Docker Edge Engine (docker) CLI
section:
- path: /edge/engine/reference/run/
Expand Down
7 changes: 4 additions & 3 deletions _scripts/fetch-upstream-resources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ wget -O md_source/engine/api/v1.25/swagger.yaml https://raw.githubusercontent.co
wget -O md_source/engine/api/v1.26/swagger.yaml https://raw.githubusercontent.com/docker/docker/v17.03.0-ce/api/swagger.yaml || (echo "Failed 1.26 swagger download" && exit -1)
wget -O md_source/engine/api/v1.27/swagger.yaml https://raw.githubusercontent.com/docker/docker/v17.03.1-ce/api/swagger.yaml || (echo "Failed 1.27 swagger download" && exit -1)

# Get the Edge API Swagger (it goes to a slightly different location)
mkdir -p md_source/edge/engine/api/v1.28 \
&& wget -O md_source/edge/engine/api/v1.28/swagger.yaml https://raw.githubusercontent.com/docker/docker/v17.04.0-ce/api/swagger.yaml || (echo "Failed 1.28 swagger download" && exit -1)
# Get the Edge API Swagger (we only keep the latest one of these
# When you change this you need to make sure to copy the previous
# directory into a new one in the docs git and change the index.html
wget -O md_source/engine/api/v1.28/swagger.yaml https://raw.githubusercontent.com/docker/docker/v17.04.0-ce/api/swagger.yaml || (echo "Failed 1.28 swagger download or the 1.28 directory doesn't exist" && exit -1)

# Get a few one-off files that we use directly from upstream
wget -O md_source/engine/reference/builder.md https://raw.githubusercontent.com/docker/docker/"$ENGINE_BRANCH"/docs/reference/builder.md || (echo "Failed engine/reference/builder.md download" && exit -1)
Expand Down
37 changes: 37 additions & 0 deletions engine/api/v1.28/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
---
layout: null
redirect_from:
- /engine/reference/api/docker_remote_api_v1.28/
---
<!DOCTYPE html>
<html>
<head>
<title>Docker Engine API v1.28 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 changes: 44 additions & 0 deletions engine/api/v1.28/redoc.1.11.0.min.js

Large diffs are not rendered by default.