Skip to content

Commit eaaa476

Browse files
committed
Make the build action use the public/template.hbs file
1 parent 6418cee commit eaaa476

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

.redocly.yaml

-6
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,3 @@ lint:
66
- recommended
77
rules:
88
no-unused-components: warning
9-
referenceDocs:
10-
htmlTemplate: ./public/index.html
11-
theme:
12-
colors:
13-
primary:
14-
main: "#32329f"

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"start": "openapi preview-docs",
1414
"bundle": "openapi bundle -o dist",
1515
"lint": "openapi lint",
16-
"build": "npx redoc-cli bundle openapi/openapi.yaml",
16+
"build": "npx redoc-cli bundle -t public/template.hbs openapi/openapi.yaml",
1717
"docker:build": "docker build -t mconf/api-docs:dev ."
1818
},
1919
"repository": {

public/index.html public/template.hbs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<!-- needed for adaptive design -->
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99
<link rel="icon" href="favicon.ico">
10-
10+
1111
<!--
1212
ReDoc uses font options from the parent element
1313
So override default browser styles

0 commit comments

Comments
 (0)