Skip to content

Commit a0fb3f5

Browse files
committed
updated packages and generated build
1 parent 1b4d1dd commit a0fb3f5

15 files changed

+531
-455
lines changed

dist/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes"><title>RapiDoc</title><link href="https://fonts.googleapis.com/css?family=Open+Sans:300,600&display=swap" rel="stylesheet"><link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/default.min.css"><script src="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script></head><body><rapi-doc id="thedoc" spec-url="./specs/temp.yaml" allow-server-selection="false" show-header="false" theme="light" allow-api-list-style-selection="false" regular-font="Open Sans" schema-style="tree" render-style="read" default-schema-tab="model"></rapi-doc><script src="rapidoc-min.js"></script></body></html>
1+
<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes"><title>RapiDoc</title><link href="https://fonts.googleapis.com/css?family=Open+Sans:300,600&display=swap" rel="stylesheet"><link rel="stylesheet" href="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/default.min.css"><script src="//cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/highlight.min.js"></script></head><body><rapi-doc id="thedoc" spec-url="./specs/temp.yaml" allow-server-selection="false" show-header="false" theme="light" allow-try="false" allow-api-list-style-selection="false" regular-font="Open Sans" schema-style="tree" render-style="read" default-schema-tab="model"></rapi-doc><script src="rapidoc-min.js"></script></body></html>

dist/index.html.gz

6 Bytes
Binary file not shown.

dist/rapidoc-min.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapidoc-min.js.gz

-900 Bytes
Binary file not shown.

dist/rapidoc-min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/rapidoc-min.js.map.gz

2 Bytes
Binary file not shown.

dist/report.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

docs/examples/data-types.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,29 @@
1212
<meta name='viewport' content='width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes'>
1313
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600&family=Roboto+Mono&display=swap" rel="stylesheet">
1414
<script type='text/javascript' src='../rapidoc-min.js'></script>
15+
16+
<link href='../index.css' rel='stylesheet'>
1517
</head>
1618
<body>
17-
<rapi-doc spec-url="../specs/data-types.yaml"
19+
<rapi-doc id = "thedoc"
20+
spec-url="../specs/data-types.yaml"
1821
allow-authentication = "false"
1922
show-info = "false"
2023
show-header = "false"
2124
render-style = "read"
2225
allow-try = "false"
2326
regular-font = 'Open Sans'
2427
mono-font = "Roboto Mono"
25-
> </rapi-doc>
28+
>
29+
<div slot="nav-logo">
30+
<div slot="nav-logo" style="width:100%; display: flex; flex-direction:column;">
31+
<div style="text-align: center; padding: 20px 0 12px 0; color:#47AFE8"> Allow TRY</div>
32+
<div style="display: flex;justify-content: center; margin: 2px 0">
33+
<button class='btn medium' onclick="document.getElementById('thedoc').setAttribute('allow-try', 'true')" >Yes</button>
34+
<button class='btn medium' onclick="document.getElementById('thedoc').setAttribute('allow-try', 'false')" >No</button>
35+
</div>
36+
</div>
37+
</div>
38+
</rapi-doc>
2639
</body>
2740
</html>

docs/examples/request-body-multiple.html

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,29 @@
1414
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
1515
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;600&family=Roboto+Mono&display=swap" rel="stylesheet">
1616
<script type="text/javascript" src="../rapidoc-min.js"></script>
17+
<link href='../index.css' rel='stylesheet'>
1718
</head>
1819
<body>
19-
<rapi-doc spec-url="../specs/request-body-multiple.yaml"
20+
<rapi-doc id = "thedoc"
21+
spec-url="../specs/request-body-multiple.yaml"
2022
allow-authentication = "false"
2123
show-info = "false"
2224
show-header = "false"
2325
render-style = "read"
2426
regular-font = 'Open Sans'
2527
mono-font = "Roboto Mono"
2628
default-schema-tab = 'example'
27-
> </rapi-doc>
29+
>
30+
<div slot="nav-logo">
31+
<div slot="nav-logo" style="width:100%; display: flex; flex-direction:column;">
32+
<div style="text-align: center; padding: 20px 0 12px 0; color:#47AFE8"> Allow TRY</div>
33+
<div style="display: flex;justify-content: center; margin: 2px 0">
34+
<button class='btn medium' onclick="document.getElementById('thedoc').setAttribute('allow-try', 'true')" >Yes</button>
35+
<button class='btn medium' onclick="document.getElementById('thedoc').setAttribute('allow-try', 'false')" >No</button>
36+
</div>
37+
</div>
38+
</div>
39+
40+
</rapi-doc>
2841
</body>
2942
</html>

docs/rapidoc-min.js

Lines changed: 10 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)