-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
72 lines (66 loc) · 2.14 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html>
<head>
<title>Docs | Collins Bookings</title>
<!-- needed for adaptive design -->
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.png">
<link rel="icon" type="image/x-icon" href="/favicon.png">
<!--
ReDoc doesn't change outer page styles
-->
<style>
body {
margin: 0;
padding: 0;
}
redoc .menu-content {
border-right: 1px solid #e9e9e9;
}
redoc .menu-content img {
margin: 1em auto;
}
@font-face {
font-family: 'Museo_Sans';
src: url('https://static.designmynight.com/fonts/museosans-300-webfont.woff2') format('woff');
font-weight: normal;
}
@font-face {
font-family: 'Museo_Sans';
src: url('https://static.designmynight.com/fonts/museosans_700-webfont.woff') format('woff');
font-weight: bold;
}
</style>
</head>
<body>
<redoc></redoc>
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"> </script>
<script>
Redoc.init('main.yaml', {
pathInMiddlePanel: true,
noAutoAuth: true,
hideDownloadButton: true,
theme: {
typography: {
fontFamily: '-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol',
headings: {
fontFamily: '-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol'
},
code: {
fontFamily: 'SFMono-Regular,Consolas,Liberation Mono,Menlo,Courier,monospace',
}
},
logo: {
maxWidth: '200px'
},
colors: {
primary: {
main: '#009fa4'
}
}
}
})
</script>
</body>
</html>