Skip to content

Commit

Permalink
adoc headers include new line
Browse files Browse the repository at this point in the history
#style
  • Loading branch information
alandefreitas committed Jan 2, 2025
1 parent c43082a commit 351658e
Show file tree
Hide file tree
Showing 98 changed files with 3,166 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{#if id}}[#{{{id}}}]
{{/if}}
={{{select level (repeat "=" level) (select @root.config.multipage "==" "=")}}} {{> @partial-block }}
={{{select level (repeat "=" level) (select @root.config.multipage "==" "=")}}} {{> @partial-block }}
11 changes: 11 additions & 0 deletions test-files/golden-tests/core/libcxx.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
[#index]
== Global namespace


=== Namespaces

[cols=2]
|===
| Name | Description
Expand All @@ -14,6 +16,7 @@

|===
=== Functions

[cols=2]
|===
| Name | Description
Expand All @@ -29,15 +32,18 @@
== std



[#sqrt]
== sqrt


Computes the square root of an integral value.



=== Synopsis


Declared in `<libcxx.cpp>`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
Expand All @@ -49,13 +55,15 @@ sqrt(T value);

=== Description


This function calculates the square root of a
given integral value using bit manipulation.



=== Exceptions


|===
| Name | Thrown on

Expand All @@ -67,12 +75,14 @@ given integral value using bit manipulation.

=== Return Value


The square root of the input value.



=== Template Parameters


|===
| Name | Description

Expand All @@ -84,6 +94,7 @@ The square root of the input value.

=== Parameters


|===
| Name | Description

Expand Down
4 changes: 4 additions & 0 deletions test-files/golden-tests/core/utf-8.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
[#index]
== Global namespace


=== Functions

[cols=2]
|===
| Name | Description
Expand All @@ -17,8 +19,10 @@
[#Христос_воскрес]
== Христос_воскрес


=== Synopsis


Declared in `<utf‐8.cpp>`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
Expand Down
1 change: 1 addition & 0 deletions test-files/golden-tests/filters/file/exclude-self.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@




[.small]#Created with https://www.mrdocs.com[MrDocs]#
6 changes: 6 additions & 0 deletions test-files/golden-tests/filters/file/include-self.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
[#index]
== Global namespace


=== Namespaces

[cols=2]
|===
| Name | Description
Expand All @@ -17,7 +19,9 @@
[#TEST]
== TEST


=== Types

[cols=2]
|===
| Name | Description
Expand All @@ -30,8 +34,10 @@
[#TEST-SUCCESS]
== <<TEST,TEST>>::SUCCESS


=== Synopsis


Declared in `&lt;include&hyphen;self&period;cpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
Expand Down
24 changes: 24 additions & 0 deletions test-files/golden-tests/filters/symbol-name/blacklist_0.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
[#index]
== Global namespace


=== Namespaces

[cols=2]
|===
| Name | Description
Expand All @@ -26,7 +28,9 @@
[#N0]
== N0


=== Functions

[cols=2]
|===
| Name | Description
Expand All @@ -39,8 +43,10 @@
[#N0-f0]
== <<N0,N0>>::f0


=== Synopsis


Declared in `&lt;blacklist&lowbar;0&period;cpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
Expand All @@ -53,10 +59,13 @@ f0();
== N3



[#N4]
== N4


=== Namespaces

[cols=2]
|===
| Name | Description
Expand All @@ -72,7 +81,9 @@ f0();
[#N4-N5]
== <<N4,N4>>::N5


=== Functions

[cols=2]
|===
| Name | Description
Expand All @@ -85,8 +96,10 @@ f0();
[#N4-N5-f1]
== <<N4,N4>>::<<N4-N5,N5>>::f1


=== Synopsis


Declared in `&lt;blacklist&lowbar;0&period;cpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
Expand All @@ -98,7 +111,9 @@ f1();
[#N4-N6]
== <<N4,N4>>::N6


=== Functions

[cols=2]
|===
| Name | Description
Expand All @@ -111,8 +126,10 @@ f1();
[#N4-N6-f1]
== <<N4,N4>>::<<N4-N6,N6>>::f1


=== Synopsis


Declared in `&lt;blacklist&lowbar;0&period;cpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
Expand All @@ -124,7 +141,9 @@ f1();
[#N7]
== N7


=== Namespaces

[cols=2]
|===
| Name | Description
Expand All @@ -141,10 +160,13 @@ f1();
== <<N7,N7>>::N8



[#N7-N9]
== <<N7,N7>>::N9


=== Functions

[cols=2]
|===
| Name | Description
Expand All @@ -157,8 +179,10 @@ f1();
[#N7-N9-g0]
== <<N7,N7>>::<<N7-N9,N9>>::g0


=== Synopsis


Declared in `&lt;blacklist&lowbar;0&period;cpp&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
Expand Down
Loading

0 comments on commit 351658e

Please sign in to comment.