@diplodoc/cli-tests 0.0.0-rc-resolve-codeblock-md2md-18979117835 → 0.0.0-rc-extract-openapi-test-19461729203

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.
@@ -0,0 +1,3 @@
1
+ # Page 2
2
+
3
+ Page 2 content
@@ -0,0 +1,13 @@
1
+ ### Pdf title page 1
2
+
3
+ Should be able to use variables {{test}}
4
+
5
+ Should be able to use link to other pages [test](../page1.md)
6
+
7
+ Should be able to use inlcudes
8
+
9
+ {% include [test-include](../__includes/include1.md) %}
10
+
11
+ Should be able to resolve liquid syntax
12
+
13
+ {% if test == "pdf" %} should be visible {% endif %}
@@ -0,0 +1,18 @@
1
+ ### Pdf title page 2
2
+
3
+ <style>
4
+ .pdf-title-page-wrapper {
5
+ height: 400px;
6
+ background-color: grey
7
+ }
8
+
9
+ img {
10
+ width: 100px;
11
+ height: 100px;
12
+ }
13
+ </style>
14
+
15
+ ![](../__images/mountain.jpg)
16
+ <div class="pdf-title-page-wrapper">
17
+ <p>Lorem ipsum title page with var {{test}}</p>
18
+ </div>
@@ -0,0 +1,2 @@
1
+ default:
2
+ test: pdf
@@ -0,0 +1,12 @@
1
+ title: Pdf title pages
2
+ href: index.md
3
+ pdf:
4
+ startPages:
5
+ - ./pdf-titles/pdf-title-page1.md
6
+ - ./pdf-titles/pdf-title-page2.md
7
+
8
+ items:
9
+ - name: Title 1
10
+ href: page1.md
11
+ - name: Title 2
12
+ href: page2.md
@@ -6,11 +6,13 @@
6
6
  <stop offset="0" stop-color="#F14D5C"/>
7
7
  <stop offset="0.1309" stop-color="#F05454"/>
8
8
  <stop offset="0.3346" stop-color="#3bf488"/>
9
- <stop offset="0.3492" stop-color="#ED683C"/>
9
+ <stop offset="0.3492"
10
+ stop-color="#ED683C"/>
10
11
  <stop offset="0.714" stop-color="#1e15a3"/>
11
12
  <stop offset="1" stop-color="#FDC70C"/>
12
13
  </linearGradient>
13
- <path d="M300.766,87.509c-33.056,0-64.133,12.873-87.507,36.246c-23.374,23.374-36.247,54.451-36.247,87.507 c0,24.234,6.927,47.4,19.83,67.252l-12.669,12.669c0,0.001-0.001,0.001-0.001,0.001l-90.664,90.665 c-8.353,8.354-7.88,22.418,1.055,31.353l4.261,4.262c4.669,4.668,10.736,7.028,16.658,7.028c5.417,0,10.713-1.976,14.703-5.966 l15.405-15.405l75.259-75.259l12.671-12.672c19.85,12.9,43.014,19.826,67.246,19.826c33.056,0,64.133-12.873,87.506-36.247 c48.252-48.251,48.252-126.762,0-175.014C364.898,100.382,333.821,87.509,300.766,87.509z M138.518,396.049 c-4.454,4.453-12.178,3.979-17.219-1.063l-4.261-4.262c-5.036-5.035-5.509-12.756-1.055-17.21l71.38-71.38 c3.284,4.164,6.834,8.16,10.601,11.926c3.766,3.766,7.764,7.318,11.935,10.607L138.518,396.049z M105.894,410.391l-4.261-4.26 c-5.036-5.036-5.509-12.757-1.055-17.211l2.902-2.902c0.936,4.27,3.101,8.393,6.486,11.779l4.261,4.26 c3.392,3.393,7.523,5.549,11.799,6.483l-2.914,2.914C118.658,415.908,110.934,415.432,105.894,410.391z M213.788,320.779 c0.002-0.003,0.005-0.006,0.007-0.008l0,0L213.788,320.779z M217.033,317.534c-4.201-3.248-8.229-6.775-11.998-10.544 c-3.771-3.771-7.295-7.797-10.537-11.99l8.214-8.214c3.233,4.181,6.749,8.185,10.547,11.982c3.8,3.8,7.806,7.317,11.989,10.552 L217.033,317.534z M381.201,291.697c-21.485,21.485-50.052,33.318-80.436,33.318c-30.385,0-58.951-11.833-80.436-33.318 c-21.485-21.484-33.318-50.051-33.318-80.436s11.833-58.95,33.318-80.436c21.485-21.485,50.051-33.317,80.436-33.317 c30.384,0,58.95,11.832,80.436,33.317C425.553,175.179,425.553,247.346,381.201,291.697z" fill="url(#SVGID_1_)"/>
14
+ <path d="M300.766,87.509c-33.056,0-64.133,12.873-87.507,36.246c-23.374,23.374-36.247,54.451-36.247,87.507
15
+ c0,24.234,6.927,47.4,19.83,67.252l-12.669,12.669c0,0.001-0.001,0.001-0.001,0.001l-90.664,90.665 c-8.353,8.354-7.88,22.418,1.055,31.353l4.261,4.262c4.669,4.668,10.736,7.028,16.658,7.028c5.417,0,10.713-1.976,14.703-5.966 l15.405-15.405l75.259-75.259l12.671-12.672c19.85,12.9,43.014,19.826,67.246,19.826c33.056,0,64.133-12.873,87.506-36.247 c48.252-48.251,48.252-126.762,0-175.014C364.898,100.382,333.821,87.509,300.766,87.509z M138.518,396.049 c-4.454,4.453-12.178,3.979-17.219-1.063l-4.261-4.262c-5.036-5.035-5.509-12.756-1.055-17.21l71.38-71.38 c3.284,4.164,6.834,8.16,10.601,11.926c3.766,3.766,7.764,7.318,11.935,10.607L138.518,396.049z M105.894,410.391l-4.261-4.26 c-5.036-5.036-5.509-12.757-1.055-17.211l2.902-2.902c0.936,4.27,3.101,8.393,6.486,11.779l4.261,4.26 c3.392,3.393,7.523,5.549,11.799,6.483l-2.914,2.914C118.658,415.908,110.934,415.432,105.894,410.391z M213.788,320.779 c0.002-0.003,0.005-0.006,0.007-0.008l0,0L213.788,320.779z M217.033,317.534c-4.201-3.248-8.229-6.775-11.998-10.544 c-3.771-3.771-7.295-7.797-10.537-11.99l8.214-8.214c3.233,4.181,6.749,8.185,10.547,11.982c3.8,3.8,7.806,7.317,11.989,10.552 L217.033,317.534z M381.201,291.697c-21.485,21.485-50.052,33.318-80.436,33.318c-30.385,0-58.951-11.833-80.436-33.318 c-21.485-21.484-33.318-50.051-33.318-80.436s11.833-58.95,33.318-80.436c21.485-21.485,50.051-33.317,80.436-33.317 c30.384,0,58.95,11.832,80.436,33.317C425.553,175.179,425.553,247.346,381.201,291.697z" fill="url(#SVGID_1_)"/>
14
16
  <path d="M258.117,115.27l3.604,9.328c2.592-1.001,5.267-1.887,7.949-2.632l-2.676-9.636 C263.998,113.162,261.012,114.151,258.117,115.27z" fill="#3bf488ff"/>
15
17
  <path d="M206.264,162.886l8.985,4.389c8.299-16.992,22.191-30.997,39.118-39.433l-4.46-8.95 C231.022,128.304,215.523,143.928,206.264,162.886z" fill="#1e15a3ff"/>
16
18
  </g>
@@ -0,0 +1,41 @@
1
+ openapi: 3.0.1
2
+ info:
3
+ title: '%%%0%%%'
4
+ version: v0
5
+ servers:
6
+ - url: http://localhost:8080
7
+ description: '%%%1%%%'
8
+ paths:
9
+ /test:
10
+ get:
11
+ tags:
12
+ - '%%%2%%%'
13
+ summary: '%%%3%%%'
14
+ description: '%%%4%%%'
15
+ operationId: getWithPayloadResponse
16
+ responses:
17
+ '200':
18
+ description: '%%%5%%%'
19
+ content:
20
+ application/json:
21
+ schema:
22
+ $ref: '#/components/schemas/RecurceTop'
23
+ components:
24
+ schemas:
25
+ RecurceTop:
26
+ type: object
27
+ properties:
28
+ A:
29
+ type: string
30
+ description: |
31
+ %%%6%%%
32
+ - %%%7%%%
33
+ - %%%8%%%
34
+ - %%%9%%%
35
+ RecurceMiddle:
36
+ type: object
37
+ properties:
38
+ B:
39
+ type: array
40
+ items:
41
+ $ref: '#/components/schemas/RecurceTop'
@@ -0,0 +1,52 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
3
+ <file original="file.ext" source-language="ru-RU" target-language="en-US" datatype="markdown">
4
+ <header>
5
+ <skeleton>
6
+ <external-file href="file.skl"></external-file>
7
+ </skeleton>
8
+ </header>
9
+ <body>
10
+ <trans-unit id="0">
11
+ <source xml:space="preserve">OpenAPI definition</source>
12
+ <target>Перевод 1</target>
13
+ </trans-unit>
14
+ <trans-unit id="1">
15
+ <source xml:space="preserve">Generated server url</source>
16
+ <target>Перевод 2</target>
17
+ </trans-unit>
18
+ <trans-unit id="2">
19
+ <source xml:space="preserve">test-controller</source>
20
+ <target>Перевод 3</target>
21
+ </trans-unit>
22
+ <trans-unit id="3">
23
+ <source xml:space="preserve">Simple get operation. тест новой верстки 3</source>
24
+ <target>Перевод 4</target>
25
+ </trans-unit>
26
+ <trans-unit id="4">
27
+ <source xml:space="preserve">Defines a simple get operation with no inputs and a complex</source>
28
+ <target>Перевод 5</target>
29
+ </trans-unit>
30
+ <trans-unit id="5">
31
+ <source xml:space="preserve">200!!!!</source>
32
+ <target>Перевод 6</target>
33
+ </trans-unit>
34
+ <trans-unit id="6">
35
+ <source xml:space="preserve">Статус загрузки:</source>
36
+ <target>Перевод 7</target>
37
+ </trans-unit>
38
+ <trans-unit id="7">
39
+ <source xml:space="preserve"><x ctype="code_open" equiv-text="`" id="x-1"/>UPLOADED<x ctype="code_close" equiv-text="`" id="x-2"/> — загрузка завершена.</source>
40
+ <target>Перевод 8</target>
41
+ </trans-unit>
42
+ <trans-unit id="8">
43
+ <source xml:space="preserve"><x ctype="code_open" equiv-text="`" id="x-3"/>IN_PROGRESS<x ctype="code_close" equiv-text="`" id="x-4"/> — загрузка находится в процессе обработки.</source>
44
+ <target>Перевод 9</target>
45
+ </trans-unit>
46
+ <trans-unit id="9">
47
+ <source xml:space="preserve"><x ctype="code_open" equiv-text="`" id="x-5"/>PROCESSED<x ctype="code_close" equiv-text="`" id="x-6"/> — загрузка успешно обработана.</source>
48
+ <target>Перевод 10</target>
49
+ </trans-unit>
50
+ </body>
51
+ </file>
52
+ </xliff>
@@ -0,0 +1,8 @@
1
+ items:
2
+ - name: '%%%0%%%'
3
+ include:
4
+ path: openapi
5
+ includers:
6
+ - name: openapi
7
+ input: openapi-spec.yaml
8
+ mode: link
@@ -0,0 +1,16 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" version="1.2">
3
+ <file original="file.ext" source-language="ru-RU" target-language="en-US" datatype="markdown">
4
+ <header>
5
+ <skeleton>
6
+ <external-file href="file.skl"></external-file>
7
+ </skeleton>
8
+ </header>
9
+ <body>
10
+ <trans-unit id="0">
11
+ <source xml:space="preserve">openapi</source>
12
+ <target>Перевод 1</target>
13
+ </trans-unit>
14
+ </body>
15
+ </file>
16
+ </xliff>