Skip to content

Commit 0e4698e

Browse files
committed
attempt to fix redoc page (2nd attempt)
1 parent 2d06f9f commit 0e4698e

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/index.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="UTF-8" />
4+
<meta charset="utf-8" />
55
<title>API Documentation</title>
6-
<!-- ReDoc standalone bundle via CDN -->
7-
<script src="https://cdn.jsdelivr.net/npm/redoc/bundles/redoc.standalone.js"></script>
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
87
<style>
98
body {
109
margin: 0;
1110
padding: 0;
1211
}
1312
redoc {
14-
width: 100vw;
13+
display: block;
1514
height: 100vh;
1615
}
1716
</style>
1817
</head>
1918
<body>
20-
<!-- ReDoc mounts here -->
21-
<redoc spec-url="https://ensembl.github.io/ensembl-web-metadata-api/APISpecification.yaml"></redoc>
19+
<redoc spec-url="APISpecification.yaml"></redoc>
20+
21+
<script src="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js"></script>
2222
</body>
23-
</html>
23+
</html>

0 commit comments

Comments
 (0)