Skip to content

Commit b9c25e9

Browse files
committed
generated latest build
1 parent 8c4fe27 commit b9c25e9

File tree

11 files changed

+183
-172
lines changed

11 files changed

+183
-172
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="dark" allow-try="true" allow-api-list-style-selection="false" regular-font="Open Sans" schema-style="tree" render-style="view" default-schema-tab="example"></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="dark" allow-try="true" allow-api-list-style-selection="false" regular-font="Open Sans" schema-style="tree" render-style="view" default-schema-tab="model"></rapi-doc><script src="rapidoc-min.js"></script></body></html>

dist/index.html.gz

-3 Bytes
Binary file not shown.

dist/rapidoc-min.js

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

dist/rapidoc-min.js.gz

134 Bytes
Binary file not shown.

dist/report.html

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

docs/examples/oneof-combinations.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,27 @@
1111
<meta charset='utf-8'>
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">
14+
<link href='../index.css' rel='stylesheet'>
1415
<script type='text/javascript' src='../rapidoc-min.js'></script>
1516
</head>
1617
<body>
1718
<rapi-doc spec-url="../specs/oneof-combinations.yaml"
19+
id = "thedoc"
1820
allow-authentication = "false"
1921
show-info = "false"
2022
render-style = "read"
23+
schema-style = "table"
2124
allow-try = "false"
2225
regular-font = 'Open Sans'
2326
mono-font = "Roboto Mono"
24-
> </rapi-doc>
27+
>
28+
<div slot="nav-logo" style="width:100%; display: flex; flex-direction:column;">
29+
<div style="text-align: center; padding: 0 0 12px 0; color:#47AFE8"> Schema Display Style </div>
30+
<div style="display: flex;justify-content: center; margin: 2px 0">
31+
<button class='btn medium' onclick="document.getElementById('thedoc').setAttribute('schema-style', 'tree')" >Tree</button>
32+
<button class='btn medium' onclick="document.getElementById('thedoc').setAttribute('schema-style', 'table')" >Table</button>
33+
</div>
34+
</div>
35+
</rapi-doc>
2536
</body>
2637
</html>

docs/rapidoc-min.js

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

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
regular-font = 'Open Sans'
4949
schema-style = 'tree'
5050
render-style = 'view'
51-
default-schema-tab = "example"
51+
default-schema-tab = "model"
5252
> </rapi-doc>
5353

5454
<!--

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"eslint-import-resolver-webpack": "^0.13.0",
5858
"eslint-loader": "^4.0.2",
5959
"eslint-plugin-import": "^2.22.1",
60-
"file-loader": "^6.1.1",
60+
"file-loader": "^6.2.0",
6161
"filemanager-webpack-plugin": "^2.0.5",
6262
"html-webpack-plugin": "^4.5.0",
6363
"inspectpack": "^4.5.1",

webpack.config.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ if (process.env.NODE_ENV === 'production') {
3939
commonPlugins.push(new webpack.BannerPlugin(BANNER));
4040
commonPlugins.push(new webpack.DefinePlugin({ VERSION }));
4141
commonPlugins.push(new FileManagerPlugin({
42-
onEnd: {
43-
copy: [
44-
{ source: 'dist/*.js', destination: 'docs' },
45-
{ source: 'dist/*.woff2', destination: 'docs' },
46-
],
42+
events: {
43+
onEnd: {
44+
copy: [
45+
{ source: 'dist/*.js', destination: 'docs' },
46+
{ source: 'dist/*.woff2', destination: 'docs' },
47+
],
48+
},
4749
},
4850
}));
4951
}

0 commit comments

Comments
 (0)