Skip to content

Commit a5fa0f3

Browse files
authored
Merge pull request #267 from tkf/private-docstrings
Exclude internals from reference
2 parents ff2f503 + 1ab4b3c commit a5fa0f3

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

docs/make.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ makedocs(;
1717
"Manual" => "manual.md",
1818
"Linux-based environments" => "linuxtips.md",
1919
"Reference" => "reference.md",
20+
hide("Internals" => "internals.md"),
2021
],
2122
)
2223

docs/src/internals.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Internals
2+
3+
```@autodocs
4+
Modules = [BenchmarkTools]
5+
Public = false
6+
Filter = f -> f !== Base.run
7+
```

docs/src/reference.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,9 @@
22

33
```@autodocs
44
Modules = [BenchmarkTools]
5+
Private = false
6+
```
7+
8+
```@docs
9+
Base.run
510
```

0 commit comments

Comments
 (0)