mirror of https://github.com/docker/docs.git
Merge pull request #11425 from thaJeztah/api_canonical
Make the latest API reference page the canonical URL
This commit is contained in:
commit
4871570f62
|
@ -12,6 +12,8 @@
|
|||
<link rel="apple-touch-icon" type="image/x-icon" href="/favicons/docs@2x.ico" sizes="129x128" />
|
||||
<link rel="icon" type="image/x-icon" href="/favicons/docs@2x.ico" sizes="129x128" />
|
||||
<link rel="stylesheet" type="text/css" href="/css/api-reference.css" />
|
||||
<!-- make the latest API version the canonical page as that's what we want users to be using mostly -->
|
||||
<link rel="canonical" href="/engine/api/v{{ site.latest_engine_api_version }}/" />
|
||||
</head>
|
||||
<body>
|
||||
<redoc spec-url="/engine/api/{{ page.name | replace: '.md'}}.yaml" hide-hostname="true" suppress-warnings="true" lazy-rendering></redoc>
|
||||
|
|
Loading…
Reference in New Issue