1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
|
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head><title>Section (Section)</title>
<link rel="stylesheet" href="odoc.css"/><meta charset="utf-8"/>
<meta name="generator" content="odoc 2.1.1"/>
<meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<script src="highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="odoc">
<header class="odoc-preamble">
<h1>Module <code><span>Section</span></code></h1>
<p>This is the module comment. Eventually, sections won't be allowed
in it.
</p>
</header>
<nav class="odoc-toc">
<ul><li><a href="#empty-section">Empty section</a></li>
<li><a href="#text-only">Text only</a></li>
<li><a href="#aside-only">Aside only</a></li>
<li><a href="#value-only">Value only</a></li>
<li><a href="#empty-section_2">Empty section</a></li>
<li><a href="#within-a-comment">within a comment</a>
<ul>
<li>
<a href="#and-one-with-a-nested-section">and one with a nested section
</a>
</li>
</ul>
</li>
<li>
<a href="#this-section-title-has-markup"><em>This</em>
<code>section</code> <b>title</b> <sub>has</sub> <sup>markup</sup>
</a>
</li>
</ul>
</nav>
<div class="odoc-content">
<h2 id="empty-section"><a href="#empty-section" class="anchor"></a>
Empty section
</h2>
<h2 id="text-only"><a href="#text-only" class="anchor"></a>Text only</h2>
<p>Foo bar.</p>
<h2 id="aside-only"><a href="#aside-only" class="anchor"></a>Aside only
</h2><p>Foo bar.</p>
<h2 id="value-only"><a href="#value-only" class="anchor"></a>Value only
</h2>
<div class="odoc-spec">
<div class="spec value" id="val-foo" class="anchored">
<a href="#val-foo" class="anchor"></a>
<code><span><span class="keyword">val</span> foo : unit</span></code>
</div>
</div>
<h2 id="empty-section_2"><a href="#empty-section_2" class="anchor"></a>
Empty section
</h2>
<h2 id="within-a-comment"><a href="#within-a-comment" class="anchor"></a>
within a comment
</h2>
<h3 id="and-one-with-a-nested-section">
<a href="#and-one-with-a-nested-section" class="anchor"></a>and one
with a nested section
</h3>
<h2 id="this-section-title-has-markup">
<a href="#this-section-title-has-markup" class="anchor"></a><em>This</em>
<code>section</code> <b>title</b> <sub>has</sub> <sup>markup</sup>
</h2>
<p>But links are impossible thanks to the parser, so we never have
trouble rendering a section title in a table of contents – no
link will be nested inside another link.
</p>
</div>
</body>
</html>
|