Skip to content

Commit 52f9a54

Browse files
committed
make guide + reference
1 parent da8ce81 commit 52f9a54

File tree

1 file changed

+29
-28
lines changed

1 file changed

+29
-28
lines changed

docs/make.jl

Lines changed: 29 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -9,44 +9,45 @@ makedocs(
99
sitename = "Flux",
1010
# strict = [:cross_references,],
1111
pages = [
12-
"Getting Started" => [
13-
"Welcome" => "index.md",
12+
"Welcome" => "index.md",
13+
"Guide" => [
14+
# You could read this end-to-end, or skip to what you need.
15+
# Aim is to cover each new concept exactly once (but not list all variants).
16+
# Hard to invent further divisions which aren't more confusing than helpful?
1417
"Quick Start" => "models/quickstart.md",
1518
"Fitting a Line" => "models/overview.md",
1619
"Gradients and Layers" => "models/basics.md",
20+
"Training" => "training/training.md",
21+
"Regularisation" => "models/regularisation.md",
22+
"Recurrence" => "models/recurrence.md",
23+
"GPU Support" => "gpu.md",
24+
"Saving & Loading" => "saving.md",
25+
"Performance Tips" => "performance.md",
1726
],
18-
"Building Models" => [
27+
"Reference" => [
28+
# This essentially collects docstrings, with a bit of introduction.
29+
# Probably the 📚 marker can be removed now.
1930
"Built-in Layers 📚" => "models/layers.md",
20-
"Recurrence" => "models/recurrence.md",
2131
"Activation Functions 📚" => "models/activation.md",
32+
"Weight Initialisation 📚" => "utilities.md",
33+
"Loss Functions 📚" => "models/losses.md",
34+
"Optimisation Rules 📚" => "training/optimisers.md", # TODO move optimiser intro up to Training
35+
"Shape Inference 📚" => "outputsize.md",
36+
"Flat vs. Nested 📚" => "destructure.md",
37+
"Callback Helpers 📚" => "training/callbacks.md",
2238
"NNlib.jl 📚 (`softmax`, `conv`, ...)" => "models/nnlib.md",
39+
"Zygote.jl 📚 (`gradient`, ...)" => "training/zygote.md",
40+
"MLUtils.jl 📚 (`DataLoader`, ...)" => "data/mlutils.md",
41+
"Functors.jl 📚 (`fmap`, ...)" => "models/functors.md",
42+
"OneHotArrays.jl 📚 (`onehot`, ...)" => "data/onehot.md",
2343
],
24-
"Handling Data" => [
25-
"MLUtils.jl 📚 (`DataLoader`, ...)" => "data/mlutils.md",
26-
"OneHotArrays.jl 📚 (`onehot`, ...)" => "data/onehot.md",
27-
],
28-
"Training Models" => [
29-
"Training" => "training/training.md",
30-
"Regularisation" => "models/regularisation.md",
31-
"Loss Functions 📚" => "models/losses.md",
32-
"Optimisation Rules 📚" => "training/optimisers.md", # TODO move optimiser intro up to Training
33-
"Callback Helpers 📚" => "training/callbacks.md",
34-
"Zygote.jl 📚 (`gradient`, ...)" => "training/zygote.md",
35-
],
36-
"Model Tools" => [
37-
"GPU Support" => "gpu.md",
38-
"Saving & Loading" => "saving.md",
39-
"Shape Inference 📚" => "outputsize.md",
40-
"Weight Initialisation 📚" => "utilities.md",
41-
"Flat vs. Nested 📚" => "destructure.md",
42-
"Functors.jl 📚 (`fmap`, ...)" => "models/functors.md",
43-
],
44-
"Tutorials" => [
44+
"Flux's Ecosystem" => "ecosystem.md", # This is a links page
45+
"Tutorials" => [
46+
# These walk you through various tasks. It's fine if they overlap quite a lot.
47+
# All the website tutorials can move here, perhaps much of the model zoo too.
4548
"Linear Regression" => "tutorials/linear_regression.md",
4649
"Custom Layers" => "models/advanced.md", # TODO move freezing to Training
47-
],
48-
"Performance Tips" => "performance.md",
49-
"Flux's Ecosystem" => "ecosystem.md",
50+
],
5051
],
5152
format = Documenter.HTML(
5253
sidebar_sitename = false,

0 commit comments

Comments
 (0)