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 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171
|
.TH Include_sections 3 "" "Odoc" "OCaml Library"
.SH Name
Include_sections
.SH Synopsis
.sp
.in 2
\fBModule Include_sections\fR
.in
.sp
.SH Documentation
.sp
.nf
\f[CB]module\fR \f[CB]type\fR Something = \f[CB]sig\fR
.br
.ti +2
\f[CB]val\fR something : unit
.sp
.ti +2
\fB1\.1 Something 1\fR
.sp
.ti +2
.fi
foo
.nf
.sp
.ti +2
\f[CB]val\fR foo : unit
.sp
.ti +2
\fB1\.1\.1 Something 2\fR
.sp
.ti +2
\f[CB]val\fR bar : unit
.fi
.br
.ti +4
foo bar
.nf
.sp
.ti +2
\fB1\.2 Something 1-bis\fR
.sp
.ti +2
.fi
Some text\.
.nf
.br
\f[CB]end\fR
.fi
.br
.ti +2
A module type\.
.nf
.sp
.fi
Let's include \f[CI]Something\fR once
.nf
.sp
.in 3
\fB2 Something 1\fR
.in
.sp
.fi
foo
.nf
.sp
.in 4
\fB2\.1 Something 2\fR
.in
.sp
.in 3
\fB3 Something 1-bis\fR
.in
.sp
.fi
Some text\.
.nf
.sp
.in 3
\fB4 Second include\fR
.in
.sp
.fi
Let's include \f[CI]Something\fR a second time: the heading level should be shift here\.
.nf
.sp
.in 4
\fB4\.1 Something 1\fR
.in
.sp
.fi
foo
.nf
.sp
.in 5
\fB4\.1\.1 Something 2\fR
.in
.sp
.in 4
\fB4\.2 Something 1-bis\fR
.in
.sp
.fi
Some text\.
.nf
.sp
.in 4
\fB4\.3 Third include\fR
.in
.sp
.fi
Shifted some more\.
.nf
.sp
.in 5
\fB4\.3\.1 Something 1\fR
.in
.sp
.fi
foo
.nf
.sp
.in 6
\fBSomething 2\fR
.in
.sp
.in 5
\fB4\.3\.2 Something 1-bis\fR
.in
.sp
.fi
Some text\.
.nf
.sp
.fi
And let's include it again, but without inlining it this time: the ToC shouldn't grow\.
.nf
.sp
\f[CB]val\fR something : unit
.sp
.in 5
\fB4\.3\.3 Something 1\fR
.in
.sp
.fi
foo
.nf
.sp
\f[CB]val\fR foo : unit
.sp
.in 6
\fBSomething 2\fR
.in
.sp
\f[CB]val\fR bar : unit
.fi
.br
.ti +2
foo bar
.nf
.sp
.in 5
\fB4\.3\.4 Something 1-bis\fR
.in
.sp
.fi
Some text\.
.nf
|