File tree 7 files changed +179
-4
lines changed
meta/version-from-guides-xml/expected
7 files changed +179
-4
lines changed Original file line number Diff line number Diff line change
1
+ <!-- content start -->
2
+ < div class ="section " id ="sample-rst-document ">
3
+ < h1 > Sample RST Document</ h1 >
4
+
5
+ < div class ="section " id ="introduction ">
6
+ < h2 > Introduction</ h2 >
7
+
8
+ < p > This is a sample reStructuredText document demonstrating sections and subsections.</ p >
9
+ < div class ="section " id ="section-1 ">
10
+ < h3 > Section 1</ h3 >
11
+
12
+ < p > This is the first section of the document.</ p >
13
+ < div class ="section " id ="subsection-1-1 ">
14
+ < h4 > Subsection 1.1</ h4 >
15
+
16
+ < p > This is a subsection under Section 1.</ p >
17
+ </ div >
18
+
19
+ < div class ="section " id ="subsection-1-2 ">
20
+ < h4 > Subsection 1.2</ h4 >
21
+
22
+ < p > Another subsection under Section 1.</ p >
23
+ </ div >
24
+
25
+ </ div >
26
+
27
+ < div class ="section " id ="section-2 ">
28
+ < h3 > Section 2</ h3 >
29
+
30
+ < p > Moving on to the second section of the document.</ p >
31
+ < div class ="section " id ="subsection-2-1 ">
32
+ < h4 > Subsection 2.1</ h4 >
33
+
34
+ < p > A subsection under Section 2.</ p >
35
+ </ div >
36
+
37
+ </ div >
38
+
39
+ </ div >
40
+
41
+ < div class ="section " id ="conclusion ">
42
+ < h2 > Conclusion</ h2 >
43
+
44
+ < p > In conclusion, this is a simple example of a reStructuredText document with various sections and subsections.</ p >
45
+ </ div >
46
+
47
+ </ div >
48
+
49
+ <!-- content end -->
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <guides xmlns =" https://www.phpdoc.org/guides"
3
+ xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
4
+ xsi : schemaLocation =" https://www.phpdoc.org/guides packages/guides-cli/resources/schema/guides.xsd"
5
+ input-format =" md"
6
+ >
7
+ </guides >
Original file line number Diff line number Diff line change
1
+ # Sample Markdown Document
2
+
3
+ ## Introduction
4
+
5
+ This is a sample Markdown document demonstrating sections and subsections.
6
+
7
+ ## Section 1
8
+
9
+ This is the first section of the document.
10
+
11
+ ### Subsection 1.1
12
+
13
+ This is a subsection under Section 1.
14
+
15
+ ### Subsection 1.2
16
+
17
+ Another subsection under Section 1.
18
+
19
+ ## Section 2
20
+
21
+ Moving on to the second section of the document.
22
+
23
+ ### Subsection 2.1
24
+
25
+ A subsection under Section 2.
26
+
27
+ ## Conclusion
28
+
29
+ In conclusion, this is a simple example of a Markdown document with various sections and subsections.
Original file line number Diff line number Diff line change
1
+ Markdown does currently not support sections but only displays headlines and content
2
+
3
+ https://github.com/phpDocumentor/guides/issues/842
Original file line number Diff line number Diff line change 1
1
<!-- content start -->
2
- < div class ="section " id ="some-document ">
3
- < h1 > Some Document</ h1 >
2
+ < div class ="section " id ="some-document ">
3
+ < h1 > Some Document</ h1 >
4
4
5
- < p > Project Render guides in version 3.0, release 3.0.0.</ p >
6
- </ div >
5
+ < p > Project Render guides in version 3.0, release 3.0.0.</ p >
6
+ </ div >
7
7
8
8
<!-- content end -->
Original file line number Diff line number Diff line change
1
+ <!-- content start -->
2
+ < div class ="section " id ="sample-rst-document ">
3
+ < h1 > Sample RST Document</ h1 >
4
+
5
+ < div class ="section " id ="introduction ">
6
+ < h2 > Introduction</ h2 >
7
+
8
+ < p > This is a sample reStructuredText document demonstrating sections and subsections.</ p >
9
+ < div class ="section " id ="section-1 ">
10
+ < h3 > Section 1</ h3 >
11
+
12
+ < p > This is the first section of the document.</ p >
13
+ < div class ="section " id ="subsection-1-1 ">
14
+ < h4 > Subsection 1.1</ h4 >
15
+
16
+ < p > This is a subsection under Section 1.</ p >
17
+ </ div >
18
+
19
+ < div class ="section " id ="subsection-1-2 ">
20
+ < h4 > Subsection 1.2</ h4 >
21
+
22
+ < p > Another subsection under Section 1.</ p >
23
+ </ div >
24
+
25
+ </ div >
26
+
27
+ < div class ="section " id ="section-2 ">
28
+ < h3 > Section 2</ h3 >
29
+
30
+ < p > Moving on to the second section of the document.</ p >
31
+ < div class ="section " id ="subsection-2-1 ">
32
+ < h4 > Subsection 2.1</ h4 >
33
+
34
+ < p > A subsection under Section 2.</ p >
35
+ </ div >
36
+
37
+ </ div >
38
+
39
+ </ div >
40
+
41
+ < div class ="section " id ="conclusion ">
42
+ < h2 > Conclusion</ h2 >
43
+
44
+ < p > In conclusion, this is a simple example of a reStructuredText document with various sections and subsections.</ p >
45
+ </ div >
46
+
47
+ </ div >
48
+
49
+ <!-- content end -->
Original file line number Diff line number Diff line change
1
+ ====================
2
+ Sample RST Document
3
+ ====================
4
+
5
+ Introduction
6
+ ------------
7
+
8
+ This is a sample reStructuredText document demonstrating sections and subsections.
9
+
10
+ Section 1
11
+ ~~~~~~~~~
12
+
13
+ This is the first section of the document.
14
+
15
+ Subsection 1.1
16
+ ^^^^^^^^^^^^^^
17
+
18
+ This is a subsection under Section 1.
19
+
20
+ Subsection 1.2
21
+ ^^^^^^^^^^^^^^
22
+
23
+ Another subsection under Section 1.
24
+
25
+ Section 2
26
+ ~~~~~~~~~
27
+
28
+ Moving on to the second section of the document.
29
+
30
+ Subsection 2.1
31
+ ^^^^^^^^^^^^^^
32
+
33
+ A subsection under Section 2.
34
+
35
+ Conclusion
36
+ -----------
37
+
38
+ In conclusion, this is a simple example of a reStructuredText document with various sections and subsections.
You can’t perform that action at this time.
0 commit comments