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
|
# Module `Include_sections`
```
module type Something = sig ... end
```
A module type.
Let's include [`Something`](./Include_sections-module-type-Something.md) once
## Something 1
foo
### Something 2
## Something 1-bis
Some text.
## Second include
Let's include [`Something`](./Include_sections-module-type-Something.md) a second time: the heading level should be shift here.
### Something 1
foo
#### Something 2
### Something 1-bis
Some text.
### Third include
Shifted some more.
#### Something 1
foo
##### Something 2
#### Something 1-bis
Some text.
And let's include it again, but without inlining it this time: the ToC shouldn't grow.
```
val something : unit
```
## Something 1
foo
```
val foo : unit
```
### Something 2
```
val bar : unit
```
foo bar
## Something 1-bis
Some text.
|