mirror of
https://github.com/docker/docs.git
synced 2026-03-29 23:38:56 +07:00
With the recent change in moving content to the /manuals section, and manipulating content permalinks to use `/:sections[1:]/:slugorfilename`, source filenames with dots in them did not receive a .html extension in the site output directory. This seems to be a quirk (bug?) with the `:slugorfilename` permalink token in Hugo. To work around this, I have removed the dots in markdown filenames and replaced them with dashes. Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
35 lines
1.2 KiB
HTML
35 lines
1.2 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<title>Docker Engine API {{ .File.BaseFileName }} Reference</title>
|
|
<!-- needed for adaptive design -->
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<meta name="description"
|
|
content="Reference documentation and Swagger (OpenAPI) specification for the {{ strings.Replace .File.BaseFileName "-" "." }} version of the API served by Docker Engine." />
|
|
<meta charset="utf-8" />
|
|
<!-- favicon -->
|
|
{{ partialCached "favicon.html" "favicon" }}
|
|
<!-- make the latest API version the canonical page as that's what we want users to be using mostly -->
|
|
<link rel="canonical" href="{{ site.BaseURL }}/reference/api/engine/version/v{{ site.Params.latest_engine_api_version }}/" />
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.menu-content>div:first-child {
|
|
background-color: #086dd7;
|
|
padding: 16px;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<redoc spec-url="/reference/api/engine/{{ .File.BaseFileName }}.yaml" hide-hostname="true" suppress-warnings="true"
|
|
lazy-rendering></redoc>
|
|
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"></script>
|
|
</body>
|
|
|
|
</html>
|