docusaurus-theme-openapi-docs 1.4.2 → 1.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/lib/index.js +5 -8
  2. package/lib/markdown/createDescription.js +1 -2
  3. package/lib/markdown/schema.js +7 -42
  4. package/lib/markdown/utils.js +1 -7
  5. package/lib/theme/ApiDemoPanel/Accept/index.js +1 -10
  6. package/lib/theme/ApiDemoPanel/Accept/slice.js +1 -2
  7. package/lib/theme/ApiDemoPanel/Authorization/auth-types.js +7 -8
  8. package/lib/theme/ApiDemoPanel/Authorization/index.js +1 -19
  9. package/lib/theme/ApiDemoPanel/Authorization/slice.js +7 -21
  10. package/lib/theme/ApiDemoPanel/Body/index.js +14 -47
  11. package/lib/theme/ApiDemoPanel/Body/slice.js +1 -4
  12. package/lib/theme/ApiDemoPanel/CodeTabs/index.js +14 -46
  13. package/lib/theme/ApiDemoPanel/ContentType/index.js +1 -10
  14. package/lib/theme/ApiDemoPanel/ContentType/slice.js +1 -2
  15. package/lib/theme/ApiDemoPanel/Curl/index.js +9 -29
  16. package/lib/theme/ApiDemoPanel/Execute/index.js +6 -23
  17. package/lib/theme/ApiDemoPanel/Execute/makeRequest.js +4 -27
  18. package/lib/theme/ApiDemoPanel/Export/index.js +1 -8
  19. package/lib/theme/ApiDemoPanel/FloatingButton/index.js +1 -5
  20. package/lib/theme/ApiDemoPanel/FormFileUpload/index.js +1 -14
  21. package/lib/theme/ApiDemoPanel/FormItem/index.js +1 -5
  22. package/lib/theme/ApiDemoPanel/FormMultiSelect/index.js +1 -8
  23. package/lib/theme/ApiDemoPanel/FormSelect/index.js +1 -6
  24. package/lib/theme/ApiDemoPanel/FormTextInput/index.js +1 -6
  25. package/lib/theme/ApiDemoPanel/LiveEditor/index.js +3 -17
  26. package/lib/theme/ApiDemoPanel/MethodEndpoint/index.js +1 -12
  27. package/lib/theme/ApiDemoPanel/ParamOptions/index.js +20 -52
  28. package/lib/theme/ApiDemoPanel/ParamOptions/slice.js +1 -2
  29. package/lib/theme/ApiDemoPanel/Request/index.js +1 -15
  30. package/lib/theme/ApiDemoPanel/Response/index.js +1 -14
  31. package/lib/theme/ApiDemoPanel/Response/slice.js +1 -2
  32. package/lib/theme/ApiDemoPanel/SecuritySchemes/index.js +1 -9
  33. package/lib/theme/ApiDemoPanel/Server/index.js +3 -27
  34. package/lib/theme/ApiDemoPanel/Server/slice.js +1 -3
  35. package/lib/theme/ApiDemoPanel/buildPostmanRequest.js +11 -62
  36. package/lib/theme/ApiDemoPanel/index.js +2 -14
  37. package/lib/theme/ApiDemoPanel/persistanceMiddleware.js +5 -11
  38. package/lib/theme/ApiDemoPanel/storage-utils.js +1 -7
  39. package/lib/theme/ApiItem/Layout/index.js +5 -22
  40. package/lib/theme/ApiItem/Layout/styles.module.css +0 -403
  41. package/lib/theme/ApiItem/hooks.js +1 -3
  42. package/lib/theme/ApiItem/index.js +14 -30
  43. package/lib/theme/ApiItem/store.js +1 -14
  44. package/lib/theme/ApiLogo/index.js +1 -4
  45. package/lib/theme/styles.css +428 -0
  46. package/lib/theme-classic.d.ts +5 -0
  47. package/lib-next/index.js +5 -3
  48. package/lib-next/markdown/createDescription.js +1 -1
  49. package/lib-next/markdown/schema.js +7 -35
  50. package/lib-next/markdown/utils.js +1 -4
  51. package/lib-next/theme/ApiDemoPanel/Accept/index.js +1 -4
  52. package/lib-next/theme/ApiDemoPanel/Accept/slice.js +1 -0
  53. package/lib-next/theme/ApiDemoPanel/Authorization/auth-types.js +7 -4
  54. package/lib-next/theme/ApiDemoPanel/Authorization/index.js +1 -8
  55. package/lib-next/theme/ApiDemoPanel/Authorization/slice.js +12 -14
  56. package/lib-next/theme/ApiDemoPanel/Body/index.js +16 -34
  57. package/lib-next/theme/ApiDemoPanel/Body/slice.js +1 -2
  58. package/lib-next/theme/ApiDemoPanel/CodeTabs/index.js +12 -26
  59. package/lib-next/theme/ApiDemoPanel/ContentType/index.js +1 -4
  60. package/lib-next/theme/ApiDemoPanel/ContentType/slice.js +1 -0
  61. package/lib-next/theme/ApiDemoPanel/Curl/index.js +11 -12
  62. package/lib-next/theme/ApiDemoPanel/Execute/index.js +10 -13
  63. package/lib-next/theme/ApiDemoPanel/Execute/makeRequest.js +4 -22
  64. package/lib-next/theme/ApiDemoPanel/Export/index.js +1 -5
  65. package/lib-next/theme/ApiDemoPanel/FloatingButton/index.js +1 -2
  66. package/lib-next/theme/ApiDemoPanel/FormFileUpload/index.js +1 -7
  67. package/lib-next/theme/ApiDemoPanel/FormItem/index.js +1 -2
  68. package/lib-next/theme/ApiDemoPanel/FormMultiSelect/index.js +1 -5
  69. package/lib-next/theme/ApiDemoPanel/FormSelect/index.js +1 -3
  70. package/lib-next/theme/ApiDemoPanel/FormTextInput/index.js +1 -2
  71. package/lib-next/theme/ApiDemoPanel/LiveEditor/index.js +3 -6
  72. package/lib-next/theme/ApiDemoPanel/MethodEndpoint/index.js +1 -9
  73. package/lib-next/theme/ApiDemoPanel/ParamOptions/index.js +34 -29
  74. package/lib-next/theme/ApiDemoPanel/ParamOptions/slice.js +1 -0
  75. package/lib-next/theme/ApiDemoPanel/Request/index.js +1 -2
  76. package/lib-next/theme/ApiDemoPanel/Response/index.js +3 -9
  77. package/lib-next/theme/ApiDemoPanel/Response/slice.js +1 -0
  78. package/lib-next/theme/ApiDemoPanel/SecuritySchemes/index.js +1 -5
  79. package/lib-next/theme/ApiDemoPanel/Server/index.js +3 -13
  80. package/lib-next/theme/ApiDemoPanel/Server/slice.js +1 -0
  81. package/lib-next/theme/ApiDemoPanel/buildPostmanRequest.js +12 -49
  82. package/lib-next/theme/ApiDemoPanel/index.js +2 -4
  83. package/lib-next/theme/ApiDemoPanel/persistanceMiddleware.js +5 -6
  84. package/lib-next/theme/ApiDemoPanel/storage-utils.js +1 -3
  85. package/lib-next/theme/ApiItem/Layout/index.js +8 -9
  86. package/lib-next/theme/ApiItem/Layout/styles.module.css +0 -403
  87. package/lib-next/theme/ApiItem/hooks.js +1 -0
  88. package/lib-next/theme/ApiItem/index.js +14 -13
  89. package/lib-next/theme/ApiItem/store.js +1 -0
  90. package/lib-next/theme/ApiLogo/index.js +1 -0
  91. package/lib-next/theme/styles.css +428 -0
  92. package/lib-next/theme-classic.d.ts +5 -0
  93. package/package.json +5 -5
  94. package/src/index.ts +5 -0
  95. package/src/theme/ApiDemoPanel/Execute/index.tsx +1 -0
  96. package/src/theme/ApiDemoPanel/index.tsx +1 -2
  97. package/src/theme/ApiItem/Layout/index.tsx +5 -6
  98. package/src/theme/ApiItem/Layout/styles.module.css +0 -403
  99. package/src/theme/ApiItem/index.tsx +5 -4
  100. package/src/theme/styles.css +428 -0
  101. package/src/theme-classic.d.ts +5 -0
  102. package/lib/theme/ApiDemoPanel/styles.module.css +0 -44
  103. package/lib/theme/ApiItem/Content/index.js +0 -65
  104. package/lib/theme/ApiItem/Footer/index.js +0 -78
  105. package/lib/theme/ApiItem/Footer/styles.module.css +0 -18
  106. package/lib/theme/ApiItem/Metadata/index.js +0 -32
  107. package/lib/theme/ApiItem/Paginator/index.js +0 -33
  108. package/lib/theme/ApiItem/TOC/Desktop/index.js +0 -31
  109. package/lib/theme/ApiItem/TOC/Mobile/index.js +0 -35
  110. package/lib/theme/ApiItem/TOC/Mobile/styles.module.css +0 -19
  111. package/lib-next/theme/ApiDemoPanel/styles.module.css +0 -44
  112. package/lib-next/theme/ApiItem/Content/index.js +0 -55
  113. package/lib-next/theme/ApiItem/Footer/index.js +0 -88
  114. package/lib-next/theme/ApiItem/Footer/styles.module.css +0 -18
  115. package/lib-next/theme/ApiItem/Metadata/index.js +0 -21
  116. package/lib-next/theme/ApiItem/Paginator/index.js +0 -19
  117. package/lib-next/theme/ApiItem/TOC/Desktop/index.js +0 -22
  118. package/lib-next/theme/ApiItem/TOC/Mobile/index.js +0 -24
  119. package/lib-next/theme/ApiItem/TOC/Mobile/styles.module.css +0 -19
  120. package/src/theme/ApiDemoPanel/styles.module.css +0 -44
  121. package/src/theme/ApiItem/Content/index.tsx +0 -57
  122. package/src/theme/ApiItem/Footer/index.tsx +0 -101
  123. package/src/theme/ApiItem/Footer/styles.module.css +0 -18
  124. package/src/theme/ApiItem/Metadata/index.tsx +0 -24
  125. package/src/theme/ApiItem/Paginator/index.tsx +0 -21
  126. package/src/theme/ApiItem/TOC/Desktop/index.tsx +0 -25
  127. package/src/theme/ApiItem/TOC/Mobile/index.tsx +0 -28
  128. package/src/theme/ApiItem/TOC/Mobile/styles.module.css +0 -19
@@ -5,18 +5,6 @@
5
5
  * LICENSE file in the root directory of this source tree.
6
6
  */
7
7
 
8
- :root {
9
- --openapi-required: var(--ifm-color-danger);
10
- --openapi-code-blue: var(--ifm-color-info);
11
- --openapi-code-red: var(--ifm-color-danger);
12
- --openapi-code-orange: var(--ifm-color-warning);
13
- --openapi-code-green: var(--ifm-color-success);
14
- }
15
-
16
- :global(.docs-wrapper) {
17
- height: 100%;
18
- }
19
-
20
8
  .docItemContainer header + *,
21
9
  .docItemContainer article > *:first-child {
22
10
  margin-top: 0;
@@ -27,394 +15,3 @@
27
15
  max-width: 75% !important;
28
16
  }
29
17
  }
30
-
31
- .apiItemContainer article > *:first-child,
32
- .apiItemContainer header + * {
33
- margin-top: 0;
34
- }
35
-
36
- :global(.version-button div) {
37
- display: block;
38
- }
39
-
40
- :global(.version-button div > button > span::after) {
41
- border-color: currentcolor transparent;
42
- border-style: solid;
43
- border-width: 0.4em 0.4em 0;
44
- content: "";
45
- margin-left: 0.3em;
46
- position: relative;
47
- transform: translateY(-50%);
48
- display: inline-block;
49
- font-size: 0.8rem;
50
- top: 1px;
51
- }
52
-
53
- /* default markdown margins look really silly in a table */
54
- :global(.theme-api-markdown table *:last-child) {
55
- margin-bottom: 0;
56
- }
57
-
58
- :global(.theme-api-markdown details) {
59
- margin: unset;
60
- max-width: 600px;
61
- background-color: transparent;
62
- color: var(--ifm-font-color-base);
63
- padding: unset;
64
- border: unset !important;
65
- box-shadow: unset !important;
66
- --docusaurus-details-decoration-color: var(--ifm-font-color-base);
67
- }
68
-
69
- :global(.theme-api-markdown details > div > div) {
70
- padding-top: unset !important;
71
- border-top: unset !important;
72
- }
73
-
74
- :global(.theme-api-markdown .details__demo-panel) {
75
- margin-bottom: 1rem;
76
- background: var(--openapi-card-background-color);
77
- border-radius: var(--openapi-card-border-radius);
78
- }
79
-
80
- :global(.theme-api-markdown .details__demo-panel > summary) {
81
- padding-left: 1rem;
82
- padding-top: 1rem;
83
- cursor: pointer;
84
- }
85
-
86
- :global(.theme-api-markdown .details__demo-panel > div > div > pre) {
87
- border-top-left-radius: 0;
88
- border-top-right-radius: 0;
89
- }
90
-
91
- :global(.theme-api-markdown .details__demo-panel > summary::marker) {
92
- display: none;
93
- content: "";
94
- }
95
-
96
- :global(.theme-api-markdown
97
- .details__demo-panel
98
- > summary::-webkit-details-marker) {
99
- display: none;
100
- content: "";
101
- }
102
-
103
- :global(.theme-api-markdown .details__demo-panel > pre) {
104
- margin-bottom: 0;
105
- padding-top: 0;
106
- }
107
-
108
- :global(.theme-api-markdown .details__request-summary) {
109
- display: flex;
110
- justify-content: space-between;
111
- align-items: center;
112
- }
113
-
114
- :global(.theme-api-markdown .details__request-summary > button) {
115
- margin-bottom: 1rem;
116
- margin-right: 1rem;
117
- }
118
-
119
- :global(.theme-api-markdown .details__response-summary) {
120
- display: flex;
121
- justify-content: space-between;
122
- align-items: center;
123
- }
124
-
125
- :global(.theme-api-markdown .details__response-summary > button) {
126
- margin-bottom: 1rem;
127
- margin-right: 1rem;
128
- }
129
-
130
- :global(.theme-api-markdown code) {
131
- max-width: 600px;
132
- max-height: 500px;
133
- overflow: auto;
134
- }
135
-
136
- @media (min-width: 997px) {
137
- .docItemCol {
138
- max-width: 75% !important;
139
- }
140
-
141
- /* Prevent hydration FOUC, as the mobile TOC needs to be server-rendered */
142
- .tocMobile {
143
- display: none;
144
- }
145
- }
146
-
147
- :global(.theme-api-markdown details li) {
148
- list-style: none;
149
- padding-bottom: 5px;
150
- padding-top: 5px;
151
- }
152
-
153
- :global(.theme-api-markdown details p) {
154
- margin-bottom: 0;
155
- }
156
-
157
- :global([class^="paramsItem"]::before),
158
- :global([class^="schemaItem"]::before) {
159
- position: absolute;
160
- top: 10px;
161
- left: 0;
162
- width: 0.7rem;
163
- /* width of horizontal line */
164
- height: 0.5rem;
165
- /* vertical position of line */
166
- vertical-align: top;
167
- border-bottom: thin solid var(--ifm-color-gray-500);
168
- content: "";
169
- display: inline-block;
170
- }
171
-
172
- :global(.theme-api-markdown details ul) {
173
- padding-left: 0;
174
- /* font-family: "Fira Mono", monospace; */
175
- font-size: 14px;
176
- }
177
-
178
- /* :global(.theme-api-markdown h2) {
179
- font-size: 2rem;
180
- } */
181
-
182
- :global(.schemaItem) {
183
- list-style: none;
184
- position: relative;
185
- margin: 0 !important;
186
- padding: 5px 0 5px 1rem;
187
- border-left: thin solid var(--ifm-color-gray-500) !important;
188
- }
189
-
190
- :global(.discriminatorItem) {
191
- list-style: none;
192
- position: relative;
193
- margin: 0 !important;
194
- padding: 5px 0 5px 0 !important;
195
- border-left: thin solid var(--ifm-color-gray-500) !important;
196
- }
197
-
198
- :global(.discriminatorTabsContainer) {
199
- padding-left: 0 !important;
200
- }
201
-
202
- :global(.schemaItem:hover) {
203
- background-color: var(--ifm-menu-color-background-active);
204
- }
205
-
206
- :global(.schemaItem:focus) {
207
- background-color: var(--ifm-menu-color-background-active);
208
- }
209
-
210
- :global(.paramsItem:hover) {
211
- background-color: var(--ifm-menu-color-background-active);
212
- }
213
-
214
- :global(.paramsItem:focus) {
215
- background-color: var(--ifm-menu-color-background-active);
216
- }
217
-
218
- :global(.theme-api-markdown div[class^="collapsibleContent"]) {
219
- margin-top: 0 !important;
220
- padding-left: 2px;
221
- }
222
-
223
- /* CodeTabs */
224
-
225
- :global(.code__tab--python::after) {
226
- content: "";
227
- width: 28px;
228
- height: 28px;
229
- background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg");
230
- margin-block: auto;
231
- }
232
-
233
- :global(.code__tab--python) {
234
- color: var(--ifm-color-success);
235
- padding-left: 1.4rem;
236
- padding-right: 1.4rem;
237
- }
238
-
239
- :global(.code__tab--python.tabs__item--active) {
240
- border-bottom-color: var(--ifm-color-success);
241
- background-color: var(--ifm-color-emphasis-100);
242
- }
243
-
244
- :global(.language-python) {
245
- max-height: 500px;
246
- overflow: auto;
247
- }
248
-
249
- :global(.code__tab--go::after) {
250
- content: "";
251
- width: 28px;
252
- height: 28px;
253
- background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/go/go-original-wordmark.svg");
254
- margin-block: auto;
255
- }
256
-
257
- :global(.code__tab--go) {
258
- color: var(--ifm-color-info);
259
- padding-left: 1.4rem;
260
- padding-right: 1.4rem;
261
- }
262
-
263
- :global(.code__tab--go.tabs__item--active) {
264
- border-bottom-color: var(--ifm-color-info);
265
- background-color: var(--ifm-color-emphasis-100);
266
- }
267
-
268
- :global(.language-go) {
269
- max-height: 500px;
270
- overflow: auto;
271
- }
272
-
273
- :global(.code__tab--javascript::after) {
274
- content: "";
275
- width: 28px;
276
- height: 28px;
277
- background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg");
278
- margin-block: auto;
279
- }
280
-
281
- :global(.code__tab--javascript) {
282
- color: var(--ifm-color-warning);
283
- padding-left: 1.4rem;
284
- padding-right: 1.4rem;
285
- }
286
-
287
- :global(.code__tab--javascript.tabs__item--active) {
288
- border-bottom-color: var(--ifm-color-warning);
289
- background-color: var(--ifm-color-emphasis-100);
290
- }
291
-
292
- :global(.language-javascript) {
293
- max-height: 500px;
294
- overflow: auto;
295
- }
296
-
297
- :global(.code__tab--bash::after) {
298
- content: "";
299
- width: 28px;
300
- height: 28px;
301
- background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/linux/linux-original.svg");
302
- margin-block: auto;
303
- }
304
-
305
- :global(.code__tab--bash) {
306
- color: var(--ifm-color-danger);
307
- padding-left: 1.4rem;
308
- padding-right: 1.4rem;
309
- }
310
-
311
- :global(.code__tab--bash.tabs__item--active) {
312
- border-bottom-color: var(--ifm-color-danger);
313
- background-color: var(--ifm-color-emphasis-100);
314
- }
315
-
316
- :global(.language-bash) {
317
- max-height: 500px;
318
- overflow: auto;
319
- }
320
-
321
- :global(.code__tab--ruby::after) {
322
- content: "";
323
- width: 28px;
324
- height: 28px;
325
- background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/ruby/ruby-plain.svg");
326
- margin-block: auto;
327
- }
328
-
329
- :global(.code__tab--ruby) {
330
- color: var(--ifm-color-danger);
331
- padding-left: 1.4rem;
332
- padding-right: 1.4rem;
333
- }
334
-
335
- :global(.code__tab--ruby.tabs__item--active) {
336
- border-bottom-color: var(--ifm-color-danger);
337
- background-color: var(--ifm-color-emphasis-100);
338
- }
339
-
340
- :global(.language-ruby) {
341
- max-height: 500px;
342
- overflow: auto;
343
- }
344
-
345
- :global(.code__tab--csharp::after) {
346
- content: "";
347
- width: 28px;
348
- height: 28px;
349
- background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/csharp/csharp-original.svg");
350
- margin-block: auto;
351
- }
352
-
353
- :global(.code__tab--csharp) {
354
- color: var(--ifm-color-gray-500);
355
- padding-left: 1.4rem;
356
- padding-right: 1.4rem;
357
- }
358
-
359
- :global(.code__tab--csharp.tabs__item--active) {
360
- border-bottom-color: var(--ifm-color-gray-500);
361
- background-color: var(--ifm-color-emphasis-100);
362
- }
363
-
364
- :global(.language-csharp) {
365
- max-height: 500px;
366
- overflow: auto;
367
- }
368
-
369
- :global(.code__tab--nodejs::after) {
370
- content: "";
371
- width: 28px;
372
- height: 28px;
373
- background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/nodejs/nodejs-original.svg");
374
- margin-block: auto;
375
- }
376
-
377
- :global(.code__tab--nodejs) {
378
- color: var(--ifm-color-success);
379
- padding-left: 1.4rem;
380
- padding-right: 1.4rem;
381
- }
382
-
383
- :global(.code__tab--nodejs.tabs__item--active) {
384
- border-bottom-color: var(--ifm-color-success);
385
- background-color: var(--ifm-color-emphasis-100);
386
- }
387
-
388
- :global(.language-nodejs) {
389
- max-height: 500px;
390
- overflow: auto;
391
- }
392
-
393
- :global(.code__tab--php::after) {
394
- content: "";
395
- width: 28px;
396
- height: 28px;
397
- background: url("https://raw.githubusercontent.com/devicons/devicon/master/icons/php/php-original.svg");
398
- margin-block: auto;
399
- }
400
-
401
- :global(.code__tab--php) {
402
- color: var(--ifm-color-gray-500);
403
- padding-left: 1.4rem;
404
- padding-right: 1.4rem;
405
- }
406
-
407
- :global(.code__tab--php.tabs__item--active) {
408
- border-bottom-color: var(--ifm-color-gray-500);
409
- background-color: var(--ifm-color-emphasis-100);
410
- }
411
-
412
- :global(.language-php) {
413
- max-height: 500px;
414
- overflow: auto;
415
- }
416
-
417
- /* Prism code styles */
418
- :global(.prism-code.language-json) {
419
- white-space: pre !important;
420
- }
@@ -13,9 +13,11 @@ import { HtmlClassNameProvider } from "@docusaurus/theme-common";
13
13
  import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
14
14
  import useIsBrowser from "@docusaurus/useIsBrowser";
15
15
  import type { Props } from "@theme/DocItem";
16
- import { ServerObject } from "docusaurus-plugin-openapi-docs/lib/openapi/types";
17
- import type { ApiItem as ApiItemType } from "docusaurus-plugin-openapi-docs/lib/types";
16
+ import DocItemMetadata from "@theme/DocItem/Metadata";
17
+ import clsx from "clsx";
18
+ import { ServerObject } from "docusaurus-plugin-openapi-docs/src/openapi/types";
18
19
  import { ParameterObject } from "docusaurus-plugin-openapi-docs/src/openapi/types";
20
+ import type { ApiItem as ApiItemType } from "docusaurus-plugin-openapi-docs/src/types";
19
21
  import { Provider } from "react-redux";
20
22
 
21
23
  import { DocFrontMatter } from "../../types";
@@ -23,7 +25,6 @@ import { ThemeConfig } from "../../types";
23
25
  import { createAuth } from "../ApiDemoPanel/Authorization/slice";
24
26
  import { createPersistanceMiddleware } from "../ApiDemoPanel/persistanceMiddleware";
25
27
  import DocItemLayout from "./Layout";
26
- import DocItemMetadata from "./Metadata";
27
28
  import { createStoreWithoutState, createStoreWithState } from "./store";
28
29
 
29
30
  const { DocProvider } = require("@docusaurus/theme-common/internal");
@@ -124,7 +125,7 @@ export default function ApiItem(props: Props): JSX.Element {
124
125
  <DocItemMetadata />
125
126
  <DocItemLayout>
126
127
  <Provider store={store2}>
127
- <div className="row">
128
+ <div className={clsx("row", "theme-api-markdown")}>
128
129
  <div className="col col--7">
129
130
  <MDXComponent />
130
131
  </div>