37 lines
1.6 KiB
Julia
37 lines
1.6 KiB
Julia
using Documenter, Flux, NNlib
|
|
|
|
DocMeta.setdocmeta!(Flux, :DocTestSetup, :(using Flux); recursive=true)
|
|
makedocs(modules=[Flux, NNlib],
|
|
doctest = VERSION >= v"1.4",
|
|
sitename = "Flux",
|
|
pages = ["Home" => "index.md",
|
|
"Building Models" =>
|
|
["Basics" => "models/basics.md",
|
|
"Recurrence" => "models/recurrence.md",
|
|
"Regularisation" => "models/regularisation.md",
|
|
"Model Reference" => "models/layers.md",
|
|
"Advanced Model Building" => "models/advanced.md",
|
|
"NNlib" => "models/nnlib.md"],
|
|
"Handling Data" =>
|
|
["One-Hot Encoding" => "data/onehot.md",
|
|
"DataLoader" => "data/dataloader.md"],
|
|
"Training Models" =>
|
|
["Optimisers" => "training/optimisers.md",
|
|
"Training" => "training/training.md"],
|
|
"GPU Support" => "gpu.md",
|
|
"Saving & Loading" => "saving.md",
|
|
"The Julia Ecosystem" => "ecosystem.md",
|
|
"Utility Functions" => "utilities.md",
|
|
"Performance Tips" => "performance.md",
|
|
"Datasets" => "datasets.md",
|
|
"Community" => "community.md"],
|
|
format = Documenter.HTML(
|
|
analytics = "UA-36890222-9",
|
|
assets = ["assets/flux.css"],
|
|
prettyurls = get(ENV, "CI", nothing) == "true"),
|
|
)
|
|
|
|
deploydocs(repo = "github.com/FluxML/Flux.jl.git",
|
|
target = "build",
|
|
push_preview = true)
|