@diplodoc/cli-tests 5.11.6 → 5.12.1
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.
- package/e2e/__snapshots__/alternates.test.ts.snap +896 -0
- package/e2e/__snapshots__/bundles.spec.ts.snap +9 -3
- package/e2e/__snapshots__/include-toc.test.ts.snap +3 -13
- package/e2e/__snapshots__/load-custom-resources.spec.ts.snap +6 -9
- package/e2e/__snapshots__/metadata.spec.ts.snap +3 -6
- package/e2e/__snapshots__/plugin-corner-cases.spec.ts.snap +0 -0
- package/e2e/__snapshots__/preprocess.test.ts.snap +598 -20
- package/e2e/__snapshots__/regression.test.ts.snap +20 -36
- package/e2e/__snapshots__/restricted-access.test.ts.snap +0 -10
- package/e2e/__snapshots__/rtl.spec.ts.snap +18 -6
- package/e2e/__snapshots__/search.test.ts.snap +1 -1
- package/e2e/__snapshots__/single-page.spec.ts.snap +9 -3
- package/e2e/__snapshots__/skip-html-extension.spec.ts.snap +4 -4
- package/e2e/__snapshots__/translation.spec.ts.snap +0 -10
- package/e2e/alternates.test.ts +34 -0
- package/e2e/preprocess.test.ts +4 -0
- package/e2e/translation.spec.ts +1 -1
- package/fixtures/utils/test.ts +2 -0
- package/mocks/alternates/input/.yfm +1 -0
- package/mocks/alternates/input/az/about.md +3 -0
- package/mocks/alternates/input/az/deep/test.md +3 -0
- package/mocks/alternates/input/az/index.yaml +3 -0
- package/mocks/alternates/input/az/toc.yaml +6 -0
- package/mocks/alternates/input/en/about.md +3 -0
- package/mocks/alternates/input/en/deep/test.md +3 -0
- package/mocks/alternates/input/en/index.yaml +3 -0
- package/mocks/alternates/input/en/toc.yaml +6 -0
- package/mocks/alternates/input/ru/about.md +8 -0
- package/mocks/alternates/input/ru/deep/test.md +3 -0
- package/mocks/alternates/input/ru/index.yaml +3 -0
- package/mocks/alternates/input/ru/toc.yaml +6 -0
- package/mocks/preprocess/input/_assets/1.svg +15 -0
- package/mocks/preprocess/input/autotitle.md +13 -0
- package/mocks/preprocess/input/images.md +92 -1
- package/package.json +1 -1
|
@@ -82,7 +82,6 @@ metadata:
|
|
|
82
82
|
- name: generator
|
|
83
83
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
84
84
|
vcsPath: 1.md
|
|
85
|
-
sourcePath: 1.md
|
|
86
85
|
---
|
|
87
86
|
# Title
|
|
88
87
|
|
|
@@ -122,7 +121,6 @@ metadata:
|
|
|
122
121
|
- name: generator
|
|
123
122
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
124
123
|
vcsPath: autotitle.md
|
|
125
|
-
sourcePath: autotitle.md
|
|
126
124
|
---
|
|
127
125
|
# Autotitles
|
|
128
126
|
|
|
@@ -159,7 +157,6 @@ metadata:
|
|
|
159
157
|
- name: generator
|
|
160
158
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
161
159
|
vcsPath: generic/1.md
|
|
162
|
-
sourcePath: generic/1.md
|
|
163
160
|
---
|
|
164
161
|
# Note 1
|
|
165
162
|
|
|
@@ -173,7 +170,6 @@ metadata:
|
|
|
173
170
|
- name: generator
|
|
174
171
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
175
172
|
vcsPath: generic/2.md
|
|
176
|
-
sourcePath: generic/2.md
|
|
177
173
|
---
|
|
178
174
|
# Note 1
|
|
179
175
|
|
|
@@ -187,7 +183,6 @@ metadata:
|
|
|
187
183
|
- name: generator
|
|
188
184
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
189
185
|
vcsPath: generic/3.md
|
|
190
|
-
sourcePath: generic/3.md
|
|
191
186
|
---
|
|
192
187
|
Note content 1
|
|
193
188
|
"
|
|
@@ -199,7 +194,6 @@ metadata:
|
|
|
199
194
|
- name: generator
|
|
200
195
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
201
196
|
vcsPath: generic/Sub notes/1.md
|
|
202
|
-
sourcePath: generic/Sub notes/1.md
|
|
203
197
|
---
|
|
204
198
|
# Sub note 1
|
|
205
199
|
|
|
@@ -213,7 +207,6 @@ metadata:
|
|
|
213
207
|
- name: generator
|
|
214
208
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
215
209
|
vcsPath: generic/Sub notes/2.md
|
|
216
|
-
sourcePath: generic/Sub notes/2.md
|
|
217
210
|
---
|
|
218
211
|
# Sub note 2
|
|
219
212
|
|
|
@@ -227,7 +220,6 @@ metadata:
|
|
|
227
220
|
- name: generator
|
|
228
221
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
229
222
|
vcsPath: images.md
|
|
230
|
-
sourcePath: images.md
|
|
231
223
|
---
|
|
232
224
|
# Images
|
|
233
225
|
|
|
@@ -250,7 +242,6 @@ metadata:
|
|
|
250
242
|
- name: generator
|
|
251
243
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
252
244
|
vcsPath: included-item.md
|
|
253
|
-
sourcePath: included-item.md
|
|
254
245
|
---
|
|
255
246
|
# Included item
|
|
256
247
|
|
|
@@ -274,7 +265,6 @@ metadata:
|
|
|
274
265
|
- name: generator
|
|
275
266
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
276
267
|
vcsPath: includes.md
|
|
277
|
-
sourcePath: includes.md
|
|
278
268
|
---
|
|
279
269
|
Text
|
|
280
270
|
|
|
@@ -326,7 +316,6 @@ meta:
|
|
|
326
316
|
- name: generator
|
|
327
317
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
328
318
|
vcsPath: index.yaml
|
|
329
|
-
sourcePath: index.yaml
|
|
330
319
|
"
|
|
331
320
|
`;
|
|
332
321
|
|
|
@@ -336,7 +325,6 @@ metadata:
|
|
|
336
325
|
- name: generator
|
|
337
326
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
338
327
|
vcsPath: latex.md
|
|
339
|
-
sourcePath: latex.md
|
|
340
328
|
---
|
|
341
329
|
# Latex usage
|
|
342
330
|
|
|
@@ -350,7 +338,6 @@ metadata:
|
|
|
350
338
|
- name: generator
|
|
351
339
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
352
340
|
vcsPath: merge/merge.md
|
|
353
|
-
sourcePath: merge/merge.md
|
|
354
341
|
---
|
|
355
342
|
# Should use merged item
|
|
356
343
|
|
|
@@ -392,7 +379,6 @@ metadata:
|
|
|
392
379
|
- name: generator
|
|
393
380
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
394
381
|
vcsPath: mermaid.md
|
|
395
|
-
sourcePath: mermaid.md
|
|
396
382
|
---
|
|
397
383
|
# Mermaid usage
|
|
398
384
|
|
|
@@ -416,7 +402,6 @@ metadata:
|
|
|
416
402
|
- name: generator
|
|
417
403
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
418
404
|
vcsPath: openapi/index.md
|
|
419
|
-
sourcePath: openapi/index.md
|
|
420
405
|
---
|
|
421
406
|
# OpenAPI definition
|
|
422
407
|
|
|
@@ -517,7 +502,6 @@ metadata:
|
|
|
517
502
|
- name: generator
|
|
518
503
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
519
504
|
vcsPath: openapi/test-controller/getWithPayloadResponse.md
|
|
520
|
-
sourcePath: openapi/test-controller/getWithPayloadResponse.md
|
|
521
505
|
---
|
|
522
506
|
<div class="openapi">
|
|
523
507
|
|
|
@@ -603,7 +587,6 @@ metadata:
|
|
|
603
587
|
- name: generator
|
|
604
588
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
605
589
|
vcsPath: openapi/test-controller/index.md
|
|
606
|
-
sourcePath: openapi/test-controller/index.md
|
|
607
590
|
---
|
|
608
591
|
# test-controller
|
|
609
592
|
|
|
@@ -630,7 +613,6 @@ metadata:
|
|
|
630
613
|
- name: generator
|
|
631
614
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
632
615
|
vcsPath: sub/folder/item-1.md
|
|
633
|
-
sourcePath: sub/folder/item-1.md
|
|
634
616
|
---
|
|
635
617
|
# Item 1
|
|
636
618
|
|
|
@@ -717,7 +699,7 @@ exports[`Regression > internal 29`] = `
|
|
|
717
699
|
<body class="g-root g-root_theme_light">
|
|
718
700
|
<div id="root"></div>
|
|
719
701
|
<script type="application/json" id="diplodoc-state">
|
|
720
|
-
{"data":{"leading":false,"html":"<p>Text {{not-var}} {{skip()}} default-var-value</p>/n<p>Text <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-1">{{not-var}}</code> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-2">{{skip()}}</code> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-3">default-var-value</code></p>/n<p>Text</p>/n/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs\\">{{not-var}}/n/n{{skip()}}/n/ndefault-var-value/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"9\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-9\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-9\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-9.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n<p><code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-4">[not a link](./path/to/relative/file.md)</code></p>/n<h2 id=\\"subtitle\\"><a href=\\"1.html#subtitle\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subtitle</span></a>Subtitle</h2>/n<p><a href=\\"mermaid.html\\">Mermaid usage</a></p>/n<p><a href=\\"mermaid.html#info\\">Mermaid info</a></p>/n<p><a href=\\"latex.html\\">Latex usage</a></p>/n<p><a href=\\"includes\\">noext-link</a></p>/n<p>Bob</p>/n<div class=\\"yfm inline_code_tooltip\\" id=\\"tooltip_inline_clipboard_dialog\\" role=\\"dialog\\">Скопировано</div>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"1.md"
|
|
702
|
+
{"data":{"leading":false,"html":"<p>Text {{not-var}} {{skip()}} default-var-value</p>/n<p>Text <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-1">{{not-var}}</code> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-2">{{skip()}}</code> <code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-3">default-var-value</code></p>/n<p>Text</p>/n/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs\\">{{not-var}}/n/n{{skip()}}/n/ndefault-var-value/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"9\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-9\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-9\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-9.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n<p><code class=\\"yfm-clipboard-inline-code\\" role=\\"button\\" tabindex=\\"0\\" id="inline-code-id-4">[not a link](./path/to/relative/file.md)</code></p>/n<h2 id=\\"subtitle\\"><a href=\\"1.html#subtitle\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Subtitle</span></a>Subtitle</h2>/n<p><a href=\\"mermaid.html\\">Mermaid usage</a></p>/n<p><a href=\\"mermaid.html#info\\">Mermaid info</a></p>/n<p><a href=\\"latex.html\\">Latex usage</a></p>/n<p><a href=\\"includes\\">noext-link</a></p>/n<p>Bob</p>/n<div class=\\"yfm inline_code_tooltip\\" id=\\"tooltip_inline_clipboard_dialog\\" role=\\"dialog\\">Скопировано</div>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"1.md"},"headings":[{"title":"Subtitle","href":"1.html#subtitle","level":2}],"title":"Title"},"router":{"pathname":"1","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
721
703
|
</script>
|
|
722
704
|
<script type="application/javascript">
|
|
723
705
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -745,7 +727,7 @@ exports[`Regression > internal 30`] = `
|
|
|
745
727
|
<body class="g-root g-root_theme_light">
|
|
746
728
|
<div id="root"></div>
|
|
747
729
|
<script type="application/json" id="diplodoc-state">
|
|
748
|
-
{"data":{"leading":false,"html":"<p>Empty title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Empty subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Special title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Special subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Empty local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Special local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Circular title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<h2 id=\\"header\\"><a href=\\"autotitle.html#header\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Header</span></a>Header</h2>/n<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"autotitle.md"
|
|
730
|
+
{"data":{"leading":false,"html":"<p>Empty title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Empty subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Special title<br />/n<a href=\\"1.html\\">Title</a></p>/n<p>Special subtitle<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Empty local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Special local title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<p>Circular title<br />/n<a href=\\"autotitle.html#header\\">Header</a></p>/n<h2 id=\\"header\\"><a href=\\"autotitle.html#header\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Header</span></a>Header</h2>/n<p>Content</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"autotitle.md"},"headings":[{"title":"Header","href":"autotitle.html#header","level":2}],"title":"Autotitles"},"router":{"pathname":"autotitle","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
749
731
|
</script>
|
|
750
732
|
<script type="application/javascript">
|
|
751
733
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -767,6 +749,8 @@ exports[`Regression > internal 31`] = `
|
|
|
767
749
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
768
750
|
<base href="./" />
|
|
769
751
|
<title>Redirect to d.md</title>
|
|
752
|
+
|
|
753
|
+
|
|
770
754
|
<meta http-equiv="refresh" content="0; url=d.md">
|
|
771
755
|
|
|
772
756
|
<style type="text/css">html, body {min-height:100vh; height:100vh;}</style>
|
|
@@ -799,7 +783,7 @@ exports[`Regression > internal 32`] = `
|
|
|
799
783
|
<body class="g-root g-root_theme_light">
|
|
800
784
|
<div id="root"></div>
|
|
801
785
|
<script type="application/json" id="diplodoc-state">
|
|
802
|
-
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"generic/1.md"
|
|
786
|
+
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"generic/1.md"},"headings":[],"title":"Note 1"},"router":{"pathname":"generic/1","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
803
787
|
</script>
|
|
804
788
|
<script type="application/javascript">
|
|
805
789
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -827,7 +811,7 @@ exports[`Regression > internal 33`] = `
|
|
|
827
811
|
<body class="g-root g-root_theme_light">
|
|
828
812
|
<div id="root"></div>
|
|
829
813
|
<script type="application/json" id="diplodoc-state">
|
|
830
|
-
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"generic/2.md"
|
|
814
|
+
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"generic/2.md"},"headings":[],"title":"Note 1"},"router":{"pathname":"generic/2","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
831
815
|
</script>
|
|
832
816
|
<script type="application/javascript">
|
|
833
817
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -855,7 +839,7 @@ exports[`Regression > internal 34`] = `
|
|
|
855
839
|
<body class="g-root g-root_theme_light">
|
|
856
840
|
<div id="root"></div>
|
|
857
841
|
<script type="application/json" id="diplodoc-state">
|
|
858
|
-
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"generic/3.md"
|
|
842
|
+
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"generic/3.md"},"headings":[],"title":""},"router":{"pathname":"generic/3","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
859
843
|
</script>
|
|
860
844
|
<script type="application/javascript">
|
|
861
845
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -883,7 +867,7 @@ exports[`Regression > internal 35`] = `
|
|
|
883
867
|
<body class="g-root g-root_theme_light">
|
|
884
868
|
<div id="root"></div>
|
|
885
869
|
<script type="application/json" id="diplodoc-state">
|
|
886
|
-
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"generic/Sub notes/1.md"
|
|
870
|
+
{"data":{"leading":false,"html":"<p>Note content 1</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"generic/Sub notes/1.md"},"headings":[],"title":"Sub note 1"},"router":{"pathname":"generic/Sub notes/1","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
887
871
|
</script>
|
|
888
872
|
<script type="application/javascript">
|
|
889
873
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -911,7 +895,7 @@ exports[`Regression > internal 36`] = `
|
|
|
911
895
|
<body class="g-root g-root_theme_light">
|
|
912
896
|
<div id="root"></div>
|
|
913
897
|
<script type="application/json" id="diplodoc-state">
|
|
914
|
-
{"data":{"leading":false,"html":"<p>Note content 2</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"generic/Sub notes/2.md"
|
|
898
|
+
{"data":{"leading":false,"html":"<p>Note content 2</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"generic/Sub notes/2.md"},"headings":[],"title":"Sub note 2"},"router":{"pathname":"generic/Sub notes/2","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
915
899
|
</script>
|
|
916
900
|
<script type="application/javascript">
|
|
917
901
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -939,7 +923,7 @@ exports[`Regression > internal 37`] = `
|
|
|
939
923
|
<body class="g-root g-root_theme_light">
|
|
940
924
|
<div id="root"></div>
|
|
941
925
|
<script type="application/json" id="diplodoc-state">
|
|
942
|
-
{"data":{"leading":false,"html":"<p><img src=\\"_assets/1.png\\" alt=\\"simple image\\" /></p>/n/n<p><img src=\\"_assets/3.png\\" alt=\\"with trailing comment\\" /></p>/n/n<p><img src=\\"_assets/5_1.png\\" alt=\\"with backslash\\" /></p>/n<p><a href=\\"latex.html\\"><img src=\\"_assets/3.png\\" alt=\\"img 3\\" /></a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"images.md"
|
|
926
|
+
{"data":{"leading":false,"html":"<p><img src=\\"_assets/1.png\\" alt=\\"simple image\\" /></p>/n/n<p><img src=\\"_assets/3.png\\" alt=\\"with trailing comment\\" /></p>/n/n<p><img src=\\"_assets/5_1.png\\" alt=\\"with backslash\\" /></p>/n<p><a href=\\"latex.html\\"><img src=\\"_assets/3.png\\" alt=\\"img 3\\" /></a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"images.md"},"headings":[],"title":"Images"},"router":{"pathname":"images","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
943
927
|
</script>
|
|
944
928
|
<script type="application/javascript">
|
|
945
929
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -967,7 +951,7 @@ exports[`Regression > internal 38`] = `
|
|
|
967
951
|
<body class="g-root g-root_theme_light">
|
|
968
952
|
<div id="root"></div>
|
|
969
953
|
<script type="application/json" id="diplodoc-state">
|
|
970
|
-
{"data":{"leading":false,"html":"<p>Included item text</p>/n/n<div class=\\"yfm-note yfm-accent-alert\\" note-type=\\"alert\\"><p class=\\"yfm-note-title\\">Alert!</p>/n<div class=\\"yfm-note-content\\"> /n</div></div><p><img src=\\"_assets/empty.pdf\\" alt=\\"pdf\\" /></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"included-item.md"
|
|
954
|
+
{"data":{"leading":false,"html":"<p>Included item text</p>/n/n<div class=\\"yfm-note yfm-accent-alert\\" note-type=\\"alert\\"><p class=\\"yfm-note-title\\">Alert!</p>/n<div class=\\"yfm-note-content\\"> /n</div></div><p><img src=\\"_assets/empty.pdf\\" alt=\\"pdf\\" /></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"included-item.md"},"headings":[],"title":"Included item"},"router":{"pathname":"included-item","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
971
955
|
</script>
|
|
972
956
|
<script type="application/javascript">
|
|
973
957
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -995,7 +979,7 @@ exports[`Regression > internal 39`] = `
|
|
|
995
979
|
<body class="g-root g-root_theme_light">
|
|
996
980
|
<div id="root"></div>
|
|
997
981
|
<script type="application/json" id="diplodoc-state">
|
|
998
|
-
{"data":{"leading":false,"html":"<p>Text</p>/n<p>Bob</p>/n<p>Test</p>/n/n<p>Bob</p>/n<p><a href=\\"../latex.html\\"><img src=\\"_assets/3.png\\" alt=\\"img 3\\" /></a></p>/n<p>Link after include<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Link after include</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"includes.md"
|
|
982
|
+
{"data":{"leading":false,"html":"<p>Text</p>/n<p>Bob</p>/n<p>Test</p>/n/n<p>Bob</p>/n<p><a href=\\"../latex.html\\"><img src=\\"_assets/3.png\\" alt=\\"img 3\\" /></a></p>/n<p>Link after include<br />/n<a href=\\"1.html#subtitle\\">Subtitle</a></p>/n<p>Link after include</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"includes.md"},"headings":[],"title":""},"router":{"pathname":"includes","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
999
983
|
</script>
|
|
1000
984
|
<script type="application/javascript">
|
|
1001
985
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1023,7 +1007,7 @@ exports[`Regression > internal 40`] = `
|
|
|
1023
1007
|
<body class="g-root g-root_theme_light">
|
|
1024
1008
|
<div id="root"></div>
|
|
1025
1009
|
<script type="application/json" id="diplodoc-state">
|
|
1026
|
-
{"data":{"leading":true,"data":{"description":["Some text"],"links":[{"name":"Link 1","href":"1.html"},{"name":"Link 2","href":"1/index.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"index.yaml"
|
|
1010
|
+
{"data":{"leading":true,"data":{"description":["Some text"],"links":[{"name":"Link 1","href":"1.html"},{"name":"Link 2","href":"1/index.html"}]},"meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"index.yaml"},"title":""},"router":{"pathname":"index","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1027
1011
|
</script>
|
|
1028
1012
|
<script type="application/javascript">
|
|
1029
1013
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1051,7 +1035,7 @@ exports[`Regression > internal 41`] = `
|
|
|
1051
1035
|
<body class="g-root g-root_theme_light">
|
|
1052
1036
|
<div id="root"></div>
|
|
1053
1037
|
<script type="application/json" id="diplodoc-state">
|
|
1054
|
-
{"data":{"leading":false,"html":"<p><span class=\\"yfm-latex\\" data-content=\\"%5Csqrt%7B3x-1%7D%2B(1%2Bx)%5E2\\" data-options=\\"%7B%22displayMode%22%3Afalse%7D\\"></span></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_bundle/latex-extension.css"],"script":["_bundle/latex-extension.js"],"vcsPath":"latex.md"
|
|
1038
|
+
{"data":{"leading":false,"html":"<p><span class=\\"yfm-latex\\" data-content=\\"%5Csqrt%7B3x-1%7D%2B(1%2Bx)%5E2\\" data-options=\\"%7B%22displayMode%22%3Afalse%7D\\"></span></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_bundle/latex-extension.css"],"script":["_bundle/latex-extension.js"],"vcsPath":"latex.md"},"headings":[],"title":"Latex usage"},"router":{"pathname":"latex","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1055
1039
|
</script>
|
|
1056
1040
|
<script type="application/javascript">
|
|
1057
1041
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1079,7 +1063,7 @@ exports[`Regression > internal 42`] = `
|
|
|
1079
1063
|
<body class="g-root g-root_theme_light">
|
|
1080
1064
|
<div id="root"></div>
|
|
1081
1065
|
<script type="application/json" id="diplodoc-state">
|
|
1082
|
-
{"data":{"leading":false,"html":"<p><a href=\\"merge/merged.html\\">merged</a></p>/n<p>Tool: Hammer and Laser</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"merge/merge.md"
|
|
1066
|
+
{"data":{"leading":false,"html":"<p><a href=\\"merge/merged.html\\">merged</a></p>/n<p>Tool: Hammer and Laser</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"merge/merge.md"},"headings":[],"title":"Should use merged item"},"router":{"pathname":"merge/merge","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1083
1067
|
</script>
|
|
1084
1068
|
<script type="application/javascript">
|
|
1085
1069
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1137,7 +1121,7 @@ exports[`Regression > internal 45`] = `
|
|
|
1137
1121
|
<body class="g-root g-root_theme_light">
|
|
1138
1122
|
<div id="root"></div>
|
|
1139
1123
|
<script type="application/json" id="diplodoc-state">
|
|
1140
|
-
{"data":{"leading":false,"html":"<div class=\\"mermaid\\" data-content=\\"sequenceDiagram%0A%20%20%20%20%20%20%20%20rect%20rgba(251%2C%20243%2C%20232%2C%200.2)%0A%20%20%20%20%20%20%20%20%20%20%20%20Alice%20-%3E%3E%20Bob%3A%0A%20%20%20%20%20%20%20%20end%0A\\"></div><h2 id=\\"info\\"><a href=\\"mermaid.html#info\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Mermaid info</span></a>Mermaid info</h2>/n<p>Some mermaid info</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"script":["_bundle/mermaid-extension.js"],"vcsPath":"mermaid.md"
|
|
1124
|
+
{"data":{"leading":false,"html":"<div class=\\"mermaid\\" data-content=\\"sequenceDiagram%0A%20%20%20%20%20%20%20%20rect%20rgba(251%2C%20243%2C%20232%2C%200.2)%0A%20%20%20%20%20%20%20%20%20%20%20%20Alice%20-%3E%3E%20Bob%3A%0A%20%20%20%20%20%20%20%20end%0A\\"></div><h2 id=\\"info\\"><a href=\\"mermaid.html#info\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Mermaid info</span></a>Mermaid info</h2>/n<p>Some mermaid info</p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"script":["_bundle/mermaid-extension.js"],"vcsPath":"mermaid.md"},"headings":[{"title":"Mermaid info","href":"mermaid.html#info","level":2}],"title":"Mermaid usage"},"router":{"pathname":"mermaid","depth":1,"base":"./"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1141
1125
|
</script>
|
|
1142
1126
|
<script type="application/javascript">
|
|
1143
1127
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1166,7 +1150,7 @@ exports[`Regression > internal 46`] = `
|
|
|
1166
1150
|
<body class="g-root g-root_theme_light">
|
|
1167
1151
|
<div id="root"></div>
|
|
1168
1152
|
<script type="application/json" id="diplodoc-state">
|
|
1169
|
-
{"data":{"leading":false,"html":"<p><samp>version: v0</samp></p>/n<h2 id=\\"sections\\"><a href=\\"openapi/index.html#sections\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Sections</span></a>Sections</h2>/n<ul>/n<li><a href=\\"openapi/test-controller/index.html\\">test-controller</a></li>/n</ul>/n<h2 id=\\"specification\\"><a href=\\"openapi/index.html#specification\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Specification</span></a>Specification</h2>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">Open API</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs text\\">{/n \\"openapi\\": \\"3.0.1\\",/n \\"info\\": {/n \\"title\\": \\"OpenAPI definition\\",/n \\"version\\": \\"v0\\"/n },/n \\"servers\\": [/n {/n \\"url\\": \\"http://localhost:8080\\",/n \\"description\\": \\"Generated server url\\"/n }/n ],/n \\"paths\\": {/n \\"/test\\": {/n \\"get\\": {/n \\"tags\\": [/n \\"test-controller\\"/n ],/n \\"summary\\": \\"Simple get operation. тест новой верстки 3\\",/n \\"description\\": \\"Defines a simple get operation with no inputs and a complex\\",/n \\"operationId\\": \\"getWithPayloadResponse\\",/n \\"responses\\": {/n \\"200\\": {/n \\"description\\": \\"200!!!!\\",/n \\"content\\": {/n \\"application/json\\": {/n \\"schema\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n }/n },/n \\"components\\": {/n \\"schemas\\": {/n \\"RecurceTop\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"RecurceMiddle\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"B\\": {/n \\"type\\": \\"array\\",/n \\"items\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n}/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"21\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-21\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-21\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-21.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n</div></details>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/index.md"
|
|
1153
|
+
{"data":{"leading":false,"html":"<p><samp>version: v0</samp></p>/n<h2 id=\\"sections\\"><a href=\\"openapi/index.html#sections\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Sections</span></a>Sections</h2>/n<ul>/n<li><a href=\\"openapi/test-controller/index.html\\">test-controller</a></li>/n</ul>/n<h2 id=\\"specification\\"><a href=\\"openapi/index.html#specification\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Specification</span></a>Specification</h2>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">Open API</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs text\\">{/n \\"openapi\\": \\"3.0.1\\",/n \\"info\\": {/n \\"title\\": \\"OpenAPI definition\\",/n \\"version\\": \\"v0\\"/n },/n \\"servers\\": [/n {/n \\"url\\": \\"http://localhost:8080\\",/n \\"description\\": \\"Generated server url\\"/n }/n ],/n \\"paths\\": {/n \\"/test\\": {/n \\"get\\": {/n \\"tags\\": [/n \\"test-controller\\"/n ],/n \\"summary\\": \\"Simple get operation. тест новой верстки 3\\",/n \\"description\\": \\"Defines a simple get operation with no inputs and a complex\\",/n \\"operationId\\": \\"getWithPayloadResponse\\",/n \\"responses\\": {/n \\"200\\": {/n \\"description\\": \\"200!!!!\\",/n \\"content\\": {/n \\"application/json\\": {/n \\"schema\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n }/n },/n \\"components\\": {/n \\"schemas\\": {/n \\"RecurceTop\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n },/n \\"RecurceMiddle\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"B\\": {/n \\"type\\": \\"array\\",/n \\"items\\": {/n \\"type\\": \\"object\\",/n \\"properties\\": {/n \\"A\\": {/n \\"type\\": \\"string\\"/n }/n }/n }/n }/n }/n }/n }/n }/n}/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"21\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-21\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-21\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-21.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n</div></details>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/index.md"},"headings":[{"title":"Sections","href":"openapi/index.html#sections","level":2},{"title":"Specification","href":"openapi/index.html#specification","level":2}],"title":"OpenAPI definition"},"router":{"pathname":"openapi/index","depth":2,"base":"../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1170
1154
|
</script>
|
|
1171
1155
|
<script type="application/javascript">
|
|
1172
1156
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1196,7 +1180,7 @@ exports[`Regression > internal 47`] = `
|
|
|
1196
1180
|
<body class="g-root g-root_theme_light">
|
|
1197
1181
|
<div id="root"></div>
|
|
1198
1182
|
<script type="application/json" id="diplodoc-state">
|
|
1199
|
-
{"data":{"leading":false,"html":"<div class=\\"openapi\\">/n<h1>Simple get operation. тест новой верстки 3</h1>/n<p>Defines a simple get operation with no inputs and a complex</p>/n<h2 id=\\"request\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#request\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Request</span></a>Request</h2>/n<div class=\\"openapi__requests\\">/n<div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\">/n<div class=\\"openapi__request\\">/n<p class=\\"openapi__method\\">GET</p>/n/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs text\\">http://localhost:8080/test/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"16\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-16\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-16\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-16.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n</div>/n<p>Generated server url</p>/n</div>/n</div>/n<h2 id=\\"responses\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#responses\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Responses</span></a>Responses</h2>/n<div class=\\"openapi__response__code__200\\">/n<h2 id=\\"200-ok\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#200-ok\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">200 OK</span></a>200 OK</h2>/n<p>200!!!!</p>/n<div class=\\"openapi-entity\\">/n<h3 id=\\"body\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#body\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Body</span></a>Body</h3>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">application/json</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"A\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"string\\"</span>/n<span class=\\"hljs-punctuation\\">}</span>/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"42\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-42\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-42\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-42.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n</div></details><table>/n<tbody>/n<tr>/n<td>/n<p><strong>Name</strong></p>/n</td>/n<td>/n<p><strong>Description</strong></p>/n</td>/n</tr>/n<tr>/n<td class=\\"openapi-table-parameter-name\\">/n<p>A</p>/n</td>/n<td>/n<p><strong>Type:</strong> string</p>/n</td>/n</tr>/n</tbody>/n</table>/n</div>/n</div>/n/n</div>/n<dfn class=\\"yfm yfm-term_dfn\\" id=\\":Deprecated_element\\" role=\\"dialog\\"><p>No longer supported, please use an alternative and newer version.</p>/n</dfn>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/test-controller/getWithPayloadResponse.md"
|
|
1183
|
+
{"data":{"leading":false,"html":"<div class=\\"openapi\\">/n<h1>Simple get operation. тест новой верстки 3</h1>/n<p>Defines a simple get operation with no inputs and a complex</p>/n<h2 id=\\"request\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#request\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Request</span></a>Request</h2>/n<div class=\\"openapi__requests\\">/n<div class=\\"openapi__request__wrapper\\" style=\\"--method:var(--dc-openapi-methods-get);margin-bottom:12px\\">/n<div class=\\"openapi__request\\">/n<p class=\\"openapi__method\\">GET</p>/n/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs text\\">http://localhost:8080/test/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"16\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-16\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-16\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-16.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n</div>/n<p>Generated server url</p>/n</div>/n</div>/n<h2 id=\\"responses\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#responses\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Responses</span></a>Responses</h2>/n<div class=\\"openapi__response__code__200\\">/n<h2 id=\\"200-ok\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#200-ok\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">200 OK</span></a>200 OK</h2>/n<p>200!!!!</p>/n<div class=\\"openapi-entity\\">/n<h3 id=\\"body\\"><a href=\\"openapi/test-controller/getWithPayloadResponse.html#body\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Body</span></a>Body</h3>/n<details class=\\"yfm-cut\\"><summary class=\\"yfm-cut-title\\">application/json</summary><div class=\\"yfm-cut-content\\">/n <div class=\\"yfm-clipboard\\">/n <pre><code class=\\"hljs json\\"><span class=\\"hljs-punctuation\\">{</span>/n <span class=\\"hljs-attr\\">\\"A\\"</span><span class=\\"hljs-punctuation\\">:</span> <span class=\\"hljs-string\\">\\"string\\"</span>/n<span class=\\"hljs-punctuation\\">}</span>/n</code></pre>/n/n <button class=\\"yfm-clipboard-button\\">/n <svg width=\\"16\\" height=\\"16\\" viewBox=\\"0 0 24 24\\" class=\\"yfm-clipboard-icon\\" data-animation=\\"42\\">/n <path fill=\\"currentColor\\" d=\\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\\"></path>/n <path stroke=\\"currentColor\\" fill=\\"transparent\\" stroke-width=\\"1.5\\" d=\\"M9.5 13l3 3l5 -5\\" visibility=\\"hidden\\">/n <animate id=\\"visibileAnimation-42\\" attributeName=\\"visibility\\" from=\\"hidden\\" to=\\"visible\\" dur=\\"0.2s\\" fill=\\"freeze\\" begin></animate>/n <animate id=\\"hideAnimation-42\\" attributeName=\\"visibility\\" from=\\"visible\\" to=\\"hidden\\" dur=\\"1s\\" begin=\\"visibileAnimation-42.end+1\\" fill=\\"freeze\\"></animate>/n </path>/n </svg>/n </button>/n </div>/n</div></details><table>/n<tbody>/n<tr>/n<td>/n<p><strong>Name</strong></p>/n</td>/n<td>/n<p><strong>Description</strong></p>/n</td>/n</tr>/n<tr>/n<td class=\\"openapi-table-parameter-name\\">/n<p>A</p>/n</td>/n<td>/n<p><strong>Type:</strong> string</p>/n</td>/n</tr>/n</tbody>/n</table>/n</div>/n</div>/n/n</div>/n<dfn class=\\"yfm yfm-term_dfn\\" id=\\":Deprecated_element\\" role=\\"dialog\\"><p>No longer supported, please use an alternative and newer version.</p>/n</dfn>","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"style":["_assets/cut-extension.css"],"script":["_assets/cut-extension.js"],"vcsPath":"openapi/test-controller/getWithPayloadResponse.md"},"headings":[{"title":"Request","href":"openapi/test-controller/getWithPayloadResponse.html#request","level":2},{"title":"Responses","href":"openapi/test-controller/getWithPayloadResponse.html#responses","level":2},{"title":"200 OK","href":"openapi/test-controller/getWithPayloadResponse.html#200-ok","level":2,"items":[{"title":"Body","href":"openapi/test-controller/getWithPayloadResponse.html#body","level":3}]}],"title":""},"router":{"pathname":"openapi/test-controller/getWithPayloadResponse","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1200
1184
|
</script>
|
|
1201
1185
|
<script type="application/javascript">
|
|
1202
1186
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1225,7 +1209,7 @@ exports[`Regression > internal 48`] = `
|
|
|
1225
1209
|
<body class="g-root g-root_theme_light">
|
|
1226
1210
|
<div id="root"></div>
|
|
1227
1211
|
<script type="application/json" id="diplodoc-state">
|
|
1228
|
-
{"data":{"leading":false,"html":"<h2 id=\\"endpoints\\"><a href=\\"openapi/test-controller/index.html#endpoints\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Endpoints</span></a>Endpoints</h2>/n<ul>/n<li><a href=\\"openapi/test-controller/getWithPayloadResponse.html\\">Simple get operation. тест новой верстки 3</a></li>/n</ul>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"openapi/test-controller/index.md"
|
|
1212
|
+
{"data":{"leading":false,"html":"<h2 id=\\"endpoints\\"><a href=\\"openapi/test-controller/index.html#endpoints\\" class=\\"yfm-anchor\\" aria-hidden=\\"true\\"><span class=\\"visually-hidden\\" data-no-index=\\"true\\">Endpoints</span></a>Endpoints</h2>/n<ul>/n<li><a href=\\"openapi/test-controller/getWithPayloadResponse.html\\">Simple get operation. тест новой верстки 3</a></li>/n</ul>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"openapi/test-controller/index.md"},"headings":[{"title":"Endpoints","href":"openapi/test-controller/index.html#endpoints","level":2}],"title":"test-controller"},"router":{"pathname":"openapi/test-controller/index","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1229
1213
|
</script>
|
|
1230
1214
|
<script type="application/javascript">
|
|
1231
1215
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -1253,7 +1237,7 @@ exports[`Regression > internal 49`] = `
|
|
|
1253
1237
|
<body class="g-root g-root_theme_light">
|
|
1254
1238
|
<div id="root"></div>
|
|
1255
1239
|
<script type="application/json" id="diplodoc-state">
|
|
1256
|
-
{"data":{"leading":false,"html":"<p>Item 1 text</p>/n<p><a href=\\"images.html\\">Images</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"sub/folder/item-1.md"
|
|
1240
|
+
{"data":{"leading":false,"html":"<p>Item 1 text</p>/n<p><a href=\\"images.html\\">Images</a></p>/n","meta":{"metadata":[{"name":"generator","content":"Diplodoc Platform vDIPLODOC-VERSION"}],"vcsPath":"sub/folder/item-1.md"},"headings":[],"title":"Item 1"},"router":{"pathname":"sub/folder/item-1","depth":3,"base":"../../"},"lang":"ru","langs":["ru"],"viewerInterface":{"toc":true,"search":true,"feedback":true}}
|
|
1257
1241
|
</script>
|
|
1258
1242
|
<script type="application/javascript">
|
|
1259
1243
|
const data = document.querySelector('script#diplodoc-state');
|
|
@@ -19,7 +19,6 @@ restricted-access:
|
|
|
19
19
|
- - userA
|
|
20
20
|
- userB
|
|
21
21
|
vcsPath: plugins/index.md
|
|
22
|
-
sourcePath: plugins/index.md
|
|
23
22
|
---
|
|
24
23
|
"
|
|
25
24
|
`;
|
|
@@ -33,7 +32,6 @@ restricted-access:
|
|
|
33
32
|
- - userA
|
|
34
33
|
- userB
|
|
35
34
|
vcsPath: project/index.md
|
|
36
|
-
sourcePath: project/index.md
|
|
37
35
|
---
|
|
38
36
|
"
|
|
39
37
|
`;
|
|
@@ -77,7 +75,6 @@ metadata:
|
|
|
77
75
|
- name: generator
|
|
78
76
|
content: Diplodoc Platform vDIPLODOC-VERSION
|
|
79
77
|
vcsPath: a1.md
|
|
80
|
-
sourcePath: a1.md
|
|
81
78
|
---
|
|
82
79
|
This is the /a1.md file content.
|
|
83
80
|
"
|
|
@@ -94,7 +91,6 @@ restricted-access:
|
|
|
94
91
|
- - userAtoc2
|
|
95
92
|
- userBtoc2
|
|
96
93
|
vcsPath: folder1/a1.md
|
|
97
|
-
sourcePath: folder1/a1.md
|
|
98
94
|
---
|
|
99
95
|
This is the /folder1/a1.md file content.
|
|
100
96
|
"
|
|
@@ -111,7 +107,6 @@ restricted-access:
|
|
|
111
107
|
- - userAtoc3
|
|
112
108
|
- userBtoc3
|
|
113
109
|
vcsPath: folder1/folder2/a1.md
|
|
114
|
-
sourcePath: folder1/folder2/a1.md
|
|
115
110
|
---
|
|
116
111
|
This is the /folder1/folder1/a1.md file content.
|
|
117
112
|
"
|
|
@@ -161,7 +156,6 @@ metadata:
|
|
|
161
156
|
restricted-access:
|
|
162
157
|
- - admin
|
|
163
158
|
vcsPath: index.md
|
|
164
|
-
sourcePath: index.md
|
|
165
159
|
---
|
|
166
160
|
"
|
|
167
161
|
`;
|
|
@@ -174,7 +168,6 @@ metadata:
|
|
|
174
168
|
restricted-access:
|
|
175
169
|
- - admin
|
|
176
170
|
vcsPath: plugins/index.md
|
|
177
|
-
sourcePath: plugins/index.md
|
|
178
171
|
---
|
|
179
172
|
"
|
|
180
173
|
`;
|
|
@@ -189,7 +182,6 @@ restricted-access:
|
|
|
189
182
|
- - admin
|
|
190
183
|
- user
|
|
191
184
|
vcsPath: plugins/index2.md
|
|
192
|
-
sourcePath: plugins/index2.md
|
|
193
185
|
---
|
|
194
186
|
"
|
|
195
187
|
`;
|
|
@@ -202,7 +194,6 @@ metadata:
|
|
|
202
194
|
restricted-access:
|
|
203
195
|
- - admin
|
|
204
196
|
vcsPath: plugins/index3.md
|
|
205
|
-
sourcePath: plugins/index3.md
|
|
206
197
|
---
|
|
207
198
|
"
|
|
208
199
|
`;
|
|
@@ -216,7 +207,6 @@ restricted-access:
|
|
|
216
207
|
- - admin
|
|
217
208
|
- - customInFile
|
|
218
209
|
vcsPath: plugins/index4.md
|
|
219
|
-
sourcePath: plugins/index4.md
|
|
220
210
|
---
|
|
221
211
|
"
|
|
222
212
|
`;
|