Skip to content

Commit 69bd859

Browse files
committed
fix table of contents for the docs
1 parent 3252e09 commit 69bd859

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

docs/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[deps]
22
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
LearnAPI = "92ad9a40-7767-427a-9ee6-6e577f1266cb"
34
MLUtils = "f1d291b0-491e-4a28-83b9-f70985020b54"
45
ScientificTypesBase = "30f210dd-8aff-4c5f-94ba-8e64358c1161"
56
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"

docs/make.jl

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,16 @@ makedocs(
1010
pages=[
1111
"Home" => "index.md",
1212
"Anatomy of an Implementation" => "anatomy_of_an_implementation.md",
13-
"Reference" => "reference.md",
14-
"... fit" => "fit.md",
15-
"... predict/transform" => "predict_transform.md",
16-
"... Kinds of Target Proxy" => "kinds_of_target_proxy.md",
17-
"... minimize" => "minimize.md",
18-
"... obs" => "obs.md",
19-
"... Accessor Functions" => "accessor_functions.md",
20-
"... Algorithm Traits" => "traits.md",
13+
"Reference" => [
14+
"Summary" => "reference.md",
15+
"fit" => "fit.md",
16+
"predict/transform" => "predict_transform.md",
17+
"Kinds of Target Proxy" => "kinds_of_target_proxy.md",
18+
"minimize" => "minimize.md",
19+
"obs" => "obs.md",
20+
"Accessor Functions" => "accessor_functions.md",
21+
"Algorithm Traits" => "traits.md",
22+
],
2123
"Common Implementation Patterns" => "common_implementation_patterns.md",
2224
"Testing an Implementation" => "testing_an_implementation.md",
2325
],

docs/src/anatomy_of_an_implementation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ functionality provided by third party packages, and to assist third party algori
215215
match machine learning algorithms to user-defined tasks.
216216

217217
According to the contract articulated in its document string, having set
218-
[`LearnAPI.target(::Ridge)`](@ref) equal to `true`, we are obliged to overload a
218+
[`LearnAPI.target`](@ref)`(::Ridge)`](@ref) equal to `true`, we are obliged to overload a
219219
multi-argument version of `LearnAPI.target` to extract the target from the `data` that
220220
gets supplied to `fit`:
221221

0 commit comments

Comments
 (0)