mirror of https://github.com/docker/docs.git
Update redoc to latest version
This commit is contained in:
parent
b1bc3b33e3
commit
2d6c65f9bf
|
@ -17,6 +17,6 @@
|
|||
</head>
|
||||
<body>
|
||||
<redoc spec-url="/engine/api/{{ page.name | replace: '.md'}}.yaml" hide-hostname="true" suppress-warnings="true" lazy-rendering></redoc>
|
||||
<script src="/js/redoc.min.js"></script>
|
||||
<script src="/js/redoc.standalone.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -17,6 +17,6 @@
|
|||
</head>
|
||||
<body>
|
||||
<redoc spec-url="/docker-hub/api/{{ page.name | replace: '.md'}}.yaml" hide-hostname="false" suppress-warnings="false" class="hub-api"></redoc>
|
||||
<script src="/js/redoc.min.js"></script>
|
||||
<script src="/js/redoc.standalone.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -16,14 +16,33 @@ body {
|
|||
padding: 0;
|
||||
}
|
||||
|
||||
api-logo {
|
||||
background-color: $bg-header;
|
||||
height: 60px;
|
||||
text-align: left !important;
|
||||
.menu-content {
|
||||
> div:first-child {
|
||||
background-color: $bg-header;
|
||||
height: 60px;
|
||||
text-align: left !important;
|
||||
|
||||
img {
|
||||
width: 160px !important;
|
||||
margin: 15px 20px;
|
||||
img {
|
||||
width: 160px !important;
|
||||
margin: 15px 20px;
|
||||
}
|
||||
}
|
||||
|
||||
label.-depth0 span, label.-depth1 span {
|
||||
font-family: $font !important;
|
||||
}
|
||||
|
||||
label.-depth0 {
|
||||
text-transform: none;
|
||||
color: $body-text !important;
|
||||
}
|
||||
|
||||
label.-depth1 span {
|
||||
color: $primary-links !important;
|
||||
}
|
||||
|
||||
ul + div {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -37,18 +56,14 @@ redoc {
|
|||
color: inherit !important;
|
||||
}
|
||||
|
||||
p, a, .menu-item-title {
|
||||
p, a {
|
||||
font-family: $font !important;
|
||||
}
|
||||
|
||||
a, .menu-item-title {
|
||||
a {
|
||||
color: $primary-links !important;
|
||||
}
|
||||
|
||||
.menu-item-title {
|
||||
text-transform: none;
|
||||
}
|
||||
|
||||
// Disable request-type badges, see https://github.com/Rebilly/ReDoc/issues/61
|
||||
.operation-type {
|
||||
display: none !important;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue