docs
This commit is contained in:
parent
d7fe525f4d
commit
1010b18084
|
@ -1,3 +1,5 @@
|
||||||
*.jl.cov
|
*.jl.cov
|
||||||
*.jl.*.cov
|
*.jl.*.cov
|
||||||
*.jl.mem
|
*.jl.mem
|
||||||
|
docs/build/
|
||||||
|
docs/site/
|
||||||
|
|
|
@ -9,6 +9,9 @@ notifications:
|
||||||
email: false
|
email: false
|
||||||
# uncomment the following lines to override the default test script
|
# uncomment the following lines to override the default test script
|
||||||
script:
|
script:
|
||||||
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
|
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
|
||||||
- julia -e 'Pkg.clone("https://github.com/MikeInnes/DataFlow.jl")'
|
- julia -e 'Pkg.clone("https://github.com/MikeInnes/DataFlow.jl")'
|
||||||
- julia -e 'Pkg.clone(pwd()); Pkg.build("Flux"); Pkg.test("Flux"; coverage=true)'
|
- julia -e 'Pkg.clone(pwd()); Pkg.build("Flux"); Pkg.test("Flux"; coverage=true)'
|
||||||
|
# after_success:
|
||||||
|
- julia -e 'Pkg.add("Documenter")'
|
||||||
|
- julia -e 'cd(Pkg.dir("Flux")); include(joinpath("docs", "make.jl"))'
|
||||||
|
|
|
@ -0,0 +1,17 @@
|
||||||
|
using Documenter, Flux
|
||||||
|
|
||||||
|
makedocs(modules=Module[Flux],
|
||||||
|
doctest=false, clean=true,
|
||||||
|
format = :html,
|
||||||
|
sitename="Flux Documentation",
|
||||||
|
pages = [
|
||||||
|
"Home" => "index.md",
|
||||||
|
])
|
||||||
|
|
||||||
|
deploydocs(
|
||||||
|
repo = "github.com/MikeInnes/Flux.jl.git",
|
||||||
|
target = "build",
|
||||||
|
osname = "linux",
|
||||||
|
julia = "0.5",
|
||||||
|
deps = nothing,
|
||||||
|
make = nothing)
|
|
@ -0,0 +1 @@
|
||||||
|
# Flux
|
Loading…
Reference in New Issue