Flux.jl/docs/make.jl

30 lines
1.2 KiB
Julia
Raw Normal View History

2019-08-19 14:49:50 +00:00
using Pkg;
Pkg.activate(joinpath(@__DIR__, "..")); Pkg.instantiate()
Pkg.activate(); Pkg.instantiate()
pushfirst!(LOAD_PATH, joinpath(@__DIR__, ".."))
2017-10-18 10:09:33 +00:00
using Documenter, Flux, NNlib
2017-01-16 00:46:50 +00:00
2017-10-18 10:09:33 +00:00
makedocs(modules=[Flux, NNlib],
2017-01-17 20:04:01 +00:00
sitename = "Flux",
2017-01-18 00:39:00 +00:00
pages = ["Home" => "index.md",
2017-09-10 01:01:19 +00:00
"Building Models" =>
2017-09-07 05:49:46 +00:00
["Basics" => "models/basics.md",
2017-09-08 21:52:41 +00:00
"Recurrence" => "models/recurrence.md",
2018-02-09 19:00:26 +00:00
"Regularisation" => "models/regularisation.md",
2017-10-18 14:30:05 +00:00
"Model Reference" => "models/layers.md"],
2017-09-10 01:01:19 +00:00
"Training Models" =>
["Optimisers" => "training/optimisers.md",
"Training" => "training/training.md"],
2017-09-28 10:08:37 +00:00
"One-Hot Encoding" => "data/onehot.md",
"GPU Support" => "gpu.md",
2018-03-05 23:52:04 +00:00
"Saving & Loading" => "saving.md",
"Performance Tips" => "performance.md",
2019-08-19 14:49:50 +00:00
"Community" => "community.md"],
format = Documenter.HTML(assets = ["assets/flux.css"],
analytics = "UA-36890222-9",
prettyurls = haskey(ENV, "CI")))
2017-01-16 00:46:50 +00:00
2019-01-10 13:54:17 +00:00
deploydocs(repo = "github.com/FluxML/Flux.jl.git")