|
1 | 1 | using Documenter, Flux, NNlib, Functors, MLUtils, BSON
|
2 | 2 |
|
| 3 | + |
3 | 4 | DocMeta.setdocmeta!(Flux, :DocTestSetup, :(using Flux); recursive = true)
|
4 |
| -makedocs(modules = [Flux, NNlib, Functors, MLUtils, BSON], |
5 |
| - doctest = false, |
6 |
| - sitename = "Flux", |
7 |
| - pages = ["Home" => "index.md", |
8 |
| - "Building Models" => |
9 |
| - ["Overview" => "models/overview.md", |
10 |
| - "Basics" => "models/basics.md", |
11 |
| - "Recurrence" => "models/recurrence.md", |
12 |
| - "Model Reference" => "models/layers.md", |
13 |
| - "Loss Functions" => "models/losses.md", |
14 |
| - "Regularisation" => "models/regularisation.md", |
15 |
| - "Advanced Model Building" => "models/advanced.md", |
16 |
| - "NNlib" => "models/nnlib.md", |
17 |
| - "Functors" => "models/functors.md"], |
18 |
| - "Handling Data" => |
19 |
| - ["One-Hot Encoding" => "data/onehot.md", |
20 |
| - "MLUtils" => "data/mlutils.md"], |
21 |
| - "Training Models" => |
22 |
| - ["Optimisers" => "training/optimisers.md", |
23 |
| - "Training" => "training/training.md"], |
24 |
| - "GPU Support" => "gpu.md", |
25 |
| - "Saving & Loading" => "saving.md", |
26 |
| - "The Julia Ecosystem" => "ecosystem.md", |
27 |
| - "Utility Functions" => "utilities.md", |
28 |
| - "Performance Tips" => "performance.md", |
29 |
| - "Datasets" => "datasets.md", |
30 |
| - "Community" => "community.md"], |
31 |
| - format = Documenter.HTML( |
32 |
| - analytics = "UA-36890222-9", |
33 |
| - assets = ["assets/flux.css"], |
34 |
| - prettyurls = get(ENV, "CI", nothing) == "true"), |
35 |
| - ) |
36 | 5 |
|
37 |
| -deploydocs(repo = "github.com/FluxML/Flux.jl.git", |
38 |
| - target = "build", |
39 |
| - push_preview = true) |
| 6 | +makedocs( |
| 7 | + modules = [Flux, NNlib, Functors, MLUtils, BSON], |
| 8 | + doctest = false, |
| 9 | + sitename = "Flux", |
| 10 | + pages = [ |
| 11 | + "Home" => "index.md", |
| 12 | + "Building Models" => [ |
| 13 | + "Overview" => "models/overview.md", |
| 14 | + "Basics" => "models/basics.md", |
| 15 | + "Recurrence" => "models/recurrence.md", |
| 16 | + "Model Reference" => "models/layers.md", |
| 17 | + "Loss Functions" => "models/losses.md", |
| 18 | + "Regularisation" => "models/regularisation.md", |
| 19 | + "Advanced Model Building" => "models/advanced.md", |
| 20 | + "NNlib" => "models/nnlib.md", |
| 21 | + "Functors" => "models/functors.md" |
| 22 | + ], |
| 23 | + "Handling Data" => [ |
| 24 | + "One-Hot Encoding" => "data/onehot.md", |
| 25 | + "MLUtils" => "data/mlutils.md" |
| 26 | + ], |
| 27 | + "Training Models" => [ |
| 28 | + "Optimisers" => "training/optimisers.md", |
| 29 | + "Training" => "training/training.md" |
| 30 | + ], |
| 31 | + "GPU Support" => "gpu.md", |
| 32 | + "Saving & Loading" => "saving.md", |
| 33 | + "The Julia Ecosystem" => "ecosystem.md", |
| 34 | + "Utility Functions" => "utilities.md", |
| 35 | + "Performance Tips" => "performance.md", |
| 36 | + "Datasets" => "datasets.md", |
| 37 | + "Community" => "community.md" |
| 38 | + ], |
| 39 | + format = Documenter.HTML( |
| 40 | + analytics = "UA-36890222-9", |
| 41 | + assets = ["assets/flux.css"], |
| 42 | + prettyurls = get(ENV, "CI", nothing) == "true" |
| 43 | + ), |
| 44 | +) |
| 45 | + |
| 46 | +deploydocs( |
| 47 | + repo = "github.com/FluxML/Flux.jl.git", |
| 48 | + target = "build", |
| 49 | + push_preview = true |
| 50 | +) |
0 commit comments