File: Include_sections.html

package info (click to toggle)
ocaml-odoc 3.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 12,104 kB
  • sloc: ml: 59,291; javascript: 2,572; sh: 566; makefile: 31
file content (140 lines) | stat: -rw-r--r-- 5,107 bytes parent folder | download
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
 <head><title>Include_sections (Include_sections)</title>
  <meta charset="utf-8"/><link rel="stylesheet" href="odoc.css"/>
  <meta name="generator" content="odoc 3.0.0"/>
  <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">
  <nav class="odoc-nav"><a href="index.html">Up</a> – 
   <a href="index.html">Index</a> &#x00BB; Include_sections
  </nav>
  <header class="odoc-preamble">
   <h1>Module <code><span>Include_sections</span></code></h1>
  </header>
  <div class="odoc-tocs">
   <nav class="odoc-toc odoc-local-toc">
    <ul>
     <li><a href="#something-1">Something 1</a>
      <ul><li><a href="#something-2">Something 2</a></li></ul>
     </li><li><a href="#something-1-bis">Something 1-bis</a></li>
     <li><a href="#second-include">Second include</a>
      <ul>
       <li><a href="#something-1_2">Something 1</a>
        <ul><li><a href="#something-2_2">Something 2</a></li></ul>
       </li><li><a href="#something-1-bis_2">Something 1-bis</a></li>
       <li><a href="#third-include">Third include</a>
        <ul>
         <li><a href="#something-1_3">Something 1</a>
          <ul><li><a href="#something-2_3">Something 2</a></li></ul>
         </li><li><a href="#something-1-bis_3">Something 1-bis</a></li>
        </ul>
       </li>
      </ul>
     </li>
    </ul>
   </nav>
  </div>
  <div class="odoc-content">
   <div class="odoc-spec">
    <div class="spec module-type anchored" id="module-type-Something">
     <a href="#module-type-Something" class="anchor"></a>
     <code>
      <span><span class="keyword">module</span> 
       <span class="keyword">type</span> 
       <a href="Include_sections-module-type-Something.html">Something</a>
      </span>
      <span> = <span class="keyword">sig</span> ... 
       <span class="keyword">end</span>
      </span>
     </code>
    </div><div class="spec-doc"><p>A module type.</p></div>
   </div>
   <p>Let's include 
    <a href="Include_sections-module-type-Something.html">
     <code>Something</code>
    </a> once
   </p>
   <h2 id="something-1"><a href="#something-1" class="anchor"></a>Something 1
   </h2><p>foo</p>
   <h3 id="something-2"><a href="#something-2" class="anchor"></a>Something 2
   </h3>
   <h2 id="something-1-bis"><a href="#something-1-bis" class="anchor"></a>
    Something 1-bis
   </h2><p>Some text.</p>
   <h2 id="second-include"><a href="#second-include" class="anchor"></a>
    Second include
   </h2>
   <p>Let's include 
    <a href="Include_sections-module-type-Something.html">
     <code>Something</code>
    </a> a second time: the heading level should be shift here.
   </p>
   <h3 id="something-1_2"><a href="#something-1_2" class="anchor"></a>
    Something 1
   </h3><p>foo</p>
   <h4 id="something-2_2"><a href="#something-2_2" class="anchor"></a>
    Something 2
   </h4>
   <h3 id="something-1-bis_2">
    <a href="#something-1-bis_2" class="anchor"></a>Something 1-bis
   </h3><p>Some text.</p>
   <h3 id="third-include"><a href="#third-include" class="anchor"></a>
    Third include
   </h3><p>Shifted some more.</p>
   <h4 id="something-1_3"><a href="#something-1_3" class="anchor"></a>
    Something 1
   </h4><p>foo</p>
   <h5 id="something-2_3"><a href="#something-2_3" class="anchor"></a>
    Something 2
   </h5>
   <h4 id="something-1-bis_3">
    <a href="#something-1-bis_3" class="anchor"></a>Something 1-bis
   </h4><p>Some text.</p>
   <p>And let's include it again, but without inlining it this time: 
    the ToC shouldn't grow.
   </p>
   <div class="odoc-include">
    <details open="open">
     <summary class="spec include">
      <code>
       <span><span class="keyword">include</span> 
        <a href="Include_sections-module-type-Something.html">Something</a>
       </span>
      </code>
     </summary>
     <div class="odoc-spec">
      <div class="spec value anchored" id="val-something">
       <a href="#val-something" class="anchor"></a>
       <code><span><span class="keyword">val</span> something : unit</span>
       </code>
      </div>
     </div>
     <h2 id="something-1_4"><a href="#something-1_4" class="anchor"></a>
      Something 1
     </h2><p>foo</p>
     <div class="odoc-spec">
      <div class="spec value anchored" id="val-foo">
       <a href="#val-foo" class="anchor"></a>
       <code><span><span class="keyword">val</span> foo : unit</span></code>
      </div>
     </div>
     <h3 id="something-2_4"><a href="#something-2_4" class="anchor"></a>
      Something 2
     </h3>
     <div class="odoc-spec">
      <div class="spec value anchored" id="val-bar">
       <a href="#val-bar" class="anchor"></a>
       <code><span><span class="keyword">val</span> bar : unit</span></code>
      </div><div class="spec-doc"><p>foo bar</p></div>
     </div>
     <h2 id="something-1-bis_4">
      <a href="#something-1-bis_4" class="anchor"></a>Something 1-bis
     </h2><p>Some text.</p>
    </details>
   </div>
  </div>
 </body>
</html>