Skip to content

Commit aa73250

Browse files
Merge pull request #74 from baggepinnen/apiindex
Add contents and index to API pages
2 parents 538fb2b + b8cf74b commit aa73250

File tree

5 files changed

+43
-0
lines changed

5 files changed

+43
-0
lines changed

docs/src/API/blocks.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22
```@meta
33
CurrentModule = ModelingToolkitStandardLibrary.Blocks
44
```
5+
```@contents
6+
Pages = ["blocks.md"]
7+
```
8+
## Index
9+
```@index
10+
Pages = ["blocks.md"]
11+
```
512

613
## Utility Blocks
714

docs/src/API/electrical.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
CurrentModule = ModelingToolkitStandardLibrary.Electrical
44
```
55

6+
7+
```@contents
8+
Pages = ["electrical.md"]
9+
```
10+
## Index
11+
```@index
12+
Pages = ["electrical.md"]
13+
```
14+
615
## Electrical Utilities
716

817
```@docs

docs/src/API/magnetic.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# ModelingToolkitStandardLibrary: Magnetic Components
22

3+
4+
```@contents
5+
Pages = ["magnetic.md"]
6+
```
7+
## Index
8+
```@index
9+
Pages = ["magnetic.md"]
10+
```
311
## Flux Tubes
412
```@meta
513
CurrentModule = ModelingToolkitStandardLibrary.Magnetic.FluxTubes

docs/src/API/mechanical.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
# ModelingToolkit Standard Library: Mechanical Components
22

3+
4+
```@contents
5+
Pages = ["mechanical.md"]
6+
Depth = 3
7+
```
8+
## Index
9+
```@index
10+
Pages = ["mechanical.md"]
11+
```
12+
313
## Rotational Components
414
```@meta
515
CurrentModule = ModelingToolkitStandardLibrary.Mechanical.Rotational

docs/src/API/thermal.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
CurrentModule = ModelingToolkitStandardLibrary.Thermal
44
```
55

6+
7+
```@contents
8+
Pages = ["thermal.md"]
9+
```
10+
## Index
11+
```@index
12+
Pages = ["thermal.md"]
13+
```
14+
615
## Thermal Utilities
716

817
```@docs

0 commit comments

Comments
 (0)