-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
fix: use arguments to
\par
if available
1 parent
f92f1f2
commit 03d1a75
Showing
5 changed files
with
187 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
= Reference | ||
:mrdocs: | ||
|
||
[#index] | ||
== Global namespace | ||
|
||
=== Functions | ||
[cols=2] | ||
|=== | ||
| Name | Description | ||
|
||
| <<#my_function,`my_function`>> | ||
| A function | ||
|
||
|=== | ||
|
||
[#my_function] | ||
== my_function | ||
|
||
A function | ||
|
||
=== Synopsis | ||
|
||
Declared in `<para‐3.cpp>` | ||
|
||
[source,cpp,subs="verbatim,replacements,macros,-callouts"] | ||
---- | ||
void | ||
my_function(); | ||
---- | ||
|
||
=== Description | ||
|
||
|
||
=== A heading. | ||
Some text. | ||
|
||
More text... | ||
|
||
Another paragraph | ||
Next line | ||
|
||
|
||
=== Exception safety | ||
No‐throw guarantee. | ||
|
||
|
||
|
||
|
||
|
||
[.small]#Created with https://www.mrdocs.com[MrDocs]# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
/** | ||
* \brief A function | ||
* | ||
* \par | ||
* A heading. | ||
* Some text. | ||
* | ||
* More text... | ||
* | ||
* Another paragraph | ||
* Next line | ||
* | ||
* \par Exception safety | ||
* No-throw guarantee. | ||
*/ | ||
void my_function(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
<html lang="en"> | ||
<head> | ||
<title>Reference</title> | ||
</head> | ||
<body> | ||
<div> | ||
<h1>Reference</h1> | ||
<div> | ||
<div> | ||
<h2 id="index">Global namespace</h2> | ||
</div> | ||
<h2>Functions</h2> | ||
<table style="table-layout: fixed; width: 100%;"> | ||
<thead> | ||
<tr> | ||
<th>Name</th><th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr> | ||
<td><a href="#my_function"><code>my_function</code></a> </td><td><span><span>A function</span></span> | ||
</td></tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
<div> | ||
<div> | ||
<h2 id="my_function">my_function</h2> | ||
<div> | ||
<span><span>A function</span></span> | ||
|
||
</div> | ||
</div> | ||
<div> | ||
<h3>Synopsis</h3> | ||
<div> | ||
Declared in <code><para-3.cpp></code></div> | ||
<pre> | ||
<code class="source-code cpp"> | ||
void | ||
my_function(); | ||
</code> | ||
</pre> | ||
</div> | ||
<div> | ||
<h3>Description</h3> | ||
<h3>A heading.</h3> | ||
<p><span>Some text.</span></p> | ||
|
||
<p><span>More text...</span></p> | ||
|
||
<p><span>Another paragraph</span> <span>Next line</span></p> | ||
|
||
<h3>Exception safety</h3> | ||
<p><span>No-throw guarantee.</span></p> | ||
|
||
|
||
|
||
</div> | ||
</div> | ||
|
||
</div> | ||
<div> | ||
<h4>Created with <a href="https://www.mrdocs.com">MrDocs</a></h4> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<mrdocs xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:noNamespaceSchemaLocation="https://github.com/cppalliance/mrdocs/raw/develop/mrdocs.rnc"> | ||
<namespace id="//////////////////////////8="> | ||
<function name="my_function" id="jv2AC4inoS2L4+tVOPxfYiZpb3g="> | ||
<file path="para-3.cpp" line="16"/> | ||
<doc> | ||
<brief> | ||
<text>A function</text> | ||
</brief> | ||
<head>A heading.</head> | ||
<para> | ||
<text> Some text.</text> | ||
</para> | ||
<para> | ||
<text>More text...</text> | ||
</para> | ||
<para> | ||
<text>Another paragraph</text> | ||
<text> Next line</text> | ||
</para> | ||
<head>Exception safety</head> | ||
<para> | ||
<text>No-throw guarantee.</text> | ||
</para> | ||
</doc> | ||
</function> | ||
</namespace> | ||
</mrdocs> |