Skip to content

Commit b74e19b

Browse files
committed
updated docs
1 parent f89c1fb commit b74e19b

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

docs/examples/badges.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
theme = "light"
2020
show-info = "true"
2121
show-header = "false"
22-
render-style = "view"
22+
render-style = "read"
2323
allow-try = "false"
2424
>
2525
</rapi-doc>

docs/rapidoc-mini.html

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ <h2>Usage in a bolg style writing</h2>
7373
</p>
7474
<rapi-doc-mini
7575
style= "min-width:600px;"
76-
spec-url="../specs/mock.yaml"
76+
spec-url="./specs/mock.yaml"
7777
theme = "light"
7878
paths-expanded = "false"
7979
bg-color = "#f9f9fb"
@@ -87,7 +87,7 @@ <h3> Placement, Resize and Style</h3>
8787
<br/><br/>
8888
<rapi-doc-mini
8989
style = "width:600px;border-radius: 4px; border: 2px solid #333; box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);"
90-
spec-url="../specs/mock.yaml"
90+
spec-url="./specs/mock.yaml"
9191
theme = "light"
9292
schema-style = 'table'
9393
sort-endpoints-by = "method"
@@ -115,7 +115,7 @@ <h3>Pick and show specific APIs </h3>
115115
<br/>
116116
<rapi-doc-mini
117117
style= "min-width:600px; width:600px; border-radius:2px; border: 1px solid #eee; border-top-width:0"
118-
spec-url="../specs/mock.yaml"
118+
spec-url="./specs/mock.yaml"
119119
theme = "light"
120120
schema-style = 'table'
121121
sort-endpoints-by = "method"
@@ -129,7 +129,7 @@ <h3>More complex RegEx based filtering of API is possible too (match-paths & mat
129129
<code class="language-html">
130130
&lt;rapi-doc-mini
131131
style= "min-width:600px;border: 1px solid #eee; border-top-width:0"
132-
spec-url="../specs/mock.yaml"
132+
spec-url="./specs/mock.yaml"
133133
theme = "light"
134134
paths-expanded = "false"
135135
match-paths = "^get /users/\{userId\}$|^post /users$"
@@ -141,7 +141,7 @@ <h3>More complex RegEx based filtering of API is possible too (match-paths & mat
141141
<br/>
142142
<rapi-doc-mini
143143
style= "min-width:600px; width:600px; border-radius:2px; border: 1px solid #eee; border-top-width:0"
144-
spec-url="../specs/mock.yaml"
144+
spec-url="./specs/mock.yaml"
145145
theme = "light"
146146
schema-style = 'table'
147147
sort-endpoints-by = "method"
@@ -157,7 +157,7 @@ <h3>Show it Minimzed or Expanded</h3>
157157

158158
<rapi-doc-mini
159159
style= "min-width:600px; width:600px;"
160-
spec-url="../specs/mock.yaml"
160+
spec-url="./specs/mock.yaml"
161161
theme = "light"
162162
schema-style = 'table'
163163
sort-endpoints-by = "method"
@@ -179,7 +179,7 @@ <h3>Include APIs from multiple specs</h3>
179179
<rapi-doc-mini
180180
style= "width:600px; border-radius: 4px; border: 1px solid #333"
181181
id = "thedoc"
182-
spec-url="../specs/code-highlight.yaml"
182+
spec-url="./specs/code-highlight.yaml"
183183
theme = "light"
184184
schema-style = 'table'
185185
sort-endpoints-by = "method"
@@ -191,7 +191,7 @@ <h3>Use a different theme </h3>
191191
<rapi-doc-mini
192192
style= "width:600px; border-radius: 4px; box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);"
193193
id = "thedoc"
194-
spec-url="../specs/petstore.json"
194+
spec-url="./specs/petstore.json"
195195
theme = "dark"
196196
schema-style = 'table'
197197
sort-endpoints-by = "method"
@@ -204,13 +204,13 @@ <h3>Handling non available specs</h3>
204204
style= "width:600px; border-radius: 4px; margin-bottom: 16px;"
205205
theme = "dark"
206206
id = "thedoc"
207-
spec-url="../specs/fake-non-existing.json"
207+
spec-url="./specs/fake-non-existing.json"
208208
> </rapi-doc-mini>
209209
<rapi-doc-mini
210210
style= "width:600px; border-radius: 4px; margin-bottom: 16px;"
211211
theme = "light"
212212
id = "thedoc"
213-
spec-url="../specs/fake-non-existing.json"
213+
spec-url="./specs/fake-non-existing.json"
214214
> </rapi-doc-mini>
215215

216216
</main>

0 commit comments

Comments
 (0)