Skip to content

Commit 37d9b93

Browse files
committed
unify test files
#refactor
1 parent 256c583 commit 37d9b93

34 files changed

+1755
-181
lines changed

test-files/adoc/compile_commands.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

test-files/adoc/mrdocs.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

test-files/adoc/test.cpp

Lines changed: 0 additions & 27 deletions
This file was deleted.

test-files/adoc/test.xml

Lines changed: 0 additions & 45 deletions
This file was deleted.
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
= Reference
2+
:mrdocs:
3+
4+
[#index]
5+
== Global namespace
6+
7+
8+
=== Functions
9+
10+
[cols=1]
11+
|===
12+
| Name
13+
14+
| <<f0,`f0`>>
15+
| <<f1,`f1`>>
16+
| <<f2,`f2`>>
17+
| <<f3,`f3`>>
18+
|===
19+
20+
[#f0]
21+
== f0
22+
23+
24+
=== Synopsis
25+
26+
27+
Declared in `&lt;brief&hyphen;4&period;cpp&gt;`
28+
29+
[source,cpp,subs="verbatim,replacements,macros,-callouts"]
30+
----
31+
void
32+
f0();
33+
----
34+
35+
[#f1]
36+
== f1
37+
38+
39+
=== Synopsis
40+
41+
42+
Declared in `&lt;brief&hyphen;4&period;cpp&gt;`
43+
44+
[source,cpp,subs="verbatim,replacements,macros,-callouts"]
45+
----
46+
void
47+
f1();
48+
----
49+
50+
[#f2]
51+
== f2
52+
53+
54+
=== Synopsis
55+
56+
57+
Declared in `&lt;brief&hyphen;4&period;cpp&gt;`
58+
59+
[source,cpp,subs="verbatim,replacements,macros,-callouts"]
60+
----
61+
void
62+
f2();
63+
----
64+
65+
[#f3]
66+
== f3
67+
68+
69+
=== Synopsis
70+
71+
72+
Declared in `&lt;brief&hyphen;4&period;cpp&gt;`
73+
74+
[source,cpp,subs="verbatim,replacements,macros,-callouts"]
75+
----
76+
void
77+
f3();
78+
----
79+
80+
81+
82+
[.small]#Created with https://www.mrdocs.com[MrDocs]#
File renamed without changes.
Lines changed: 98 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,98 @@
1+
<html lang="en">
2+
<head>
3+
<title>Reference</title>
4+
</head>
5+
<body>
6+
<div>
7+
<h1>Reference</h1>
8+
<div>
9+
<div>
10+
<h2 id="index">Global namespace</h2>
11+
</div>
12+
<h2>Functions</h2>
13+
<table style="table-layout: fixed; width: 100%;">
14+
<thead>
15+
<tr>
16+
<th>Name</th>
17+
</tr>
18+
</thead>
19+
<tbody>
20+
<tr>
21+
<td><a href="#f0"><code>f0</code></a> </td></tr><tr>
22+
<td><a href="#f1"><code>f1</code></a> </td></tr><tr>
23+
<td><a href="#f2"><code>f2</code></a> </td></tr><tr>
24+
<td><a href="#f3"><code>f3</code></a> </td></tr>
25+
</tbody>
26+
</table>
27+
</div>
28+
<div>
29+
<div>
30+
<h2 id="f0">f0</h2>
31+
</div>
32+
<div>
33+
<h3>Synopsis</h3>
34+
<div>
35+
Declared in <code>&lt;brief-4.cpp&gt;</code></div>
36+
<pre>
37+
<code class="source-code cpp">
38+
void
39+
f0();
40+
</code>
41+
</pre>
42+
</div>
43+
</div>
44+
<div>
45+
<div>
46+
<h2 id="f1">f1</h2>
47+
</div>
48+
<div>
49+
<h3>Synopsis</h3>
50+
<div>
51+
Declared in <code>&lt;brief-4.cpp&gt;</code></div>
52+
<pre>
53+
<code class="source-code cpp">
54+
void
55+
f1();
56+
</code>
57+
</pre>
58+
</div>
59+
</div>
60+
<div>
61+
<div>
62+
<h2 id="f2">f2</h2>
63+
</div>
64+
<div>
65+
<h3>Synopsis</h3>
66+
<div>
67+
Declared in <code>&lt;brief-4.cpp&gt;</code></div>
68+
<pre>
69+
<code class="source-code cpp">
70+
void
71+
f2();
72+
</code>
73+
</pre>
74+
</div>
75+
</div>
76+
<div>
77+
<div>
78+
<h2 id="f3">f3</h2>
79+
</div>
80+
<div>
81+
<h3>Synopsis</h3>
82+
<div>
83+
Declared in <code>&lt;brief-4.cpp&gt;</code></div>
84+
<pre>
85+
<code class="source-code cpp">
86+
void
87+
f3();
88+
</code>
89+
</pre>
90+
</div>
91+
</div>
92+
93+
</div>
94+
<div>
95+
<h4>Created with <a href="https://www.mrdocs.com">MrDocs</a></h4>
96+
</div>
97+
</body>
98+
</html>
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<mrdocs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="https://github.com/cppalliance/mrdocs/raw/develop/mrdocs.rnc">
4-
<namespace>
4+
<namespace id="//////////////////////////8=">
55
<function name="f0" id="e1UQQek5v3C9OClW5cGf57XvwQo=">
6-
<file path="brief-1.cpp" line="3"/>
6+
<file short-path="brief-4.cpp" source-path="brief-4.cpp" line="3"/>
77
</function>
88
<function name="f1" id="CnO51rIKTzfiVKHkR3TdPa0eo+8=">
9-
<file path="brief-1.cpp" line="6"/>
9+
<file short-path="brief-4.cpp" source-path="brief-4.cpp" line="6"/>
1010
</function>
1111
<function name="f2" id="0MJUv5yGFR9nXWFLeYc+rjOY+iM=">
12-
<file path="brief-1.cpp" line="10"/>
12+
<file short-path="brief-4.cpp" source-path="brief-4.cpp" line="10"/>
1313
</function>
1414
<function name="f3" id="khwJweIqd5FuWAg8T+l+GEljQVc=">
15-
<file path="brief-1.cpp" line="15"/>
15+
<file short-path="brief-4.cpp" source-path="brief-4.cpp" line="15"/>
1616
</function>
1717
</namespace>
1818
</mrdocs>

0 commit comments

Comments
 (0)