This commit is contained in:
Mike J Innes 2017-01-16 01:46:50 +01:00
parent d7fe525f4d
commit 1010b18084
4 changed files with 26 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
*.jl.cov
*.jl.*.cov
*.jl.mem
docs/build/
docs/site/

View File

@ -9,6 +9,9 @@ notifications:
email: false
# uncomment the following lines to override the default test script
script:
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone("https://github.com/MikeInnes/DataFlow.jl")'
- julia -e 'Pkg.clone(pwd()); Pkg.build("Flux"); Pkg.test("Flux"; coverage=true)'
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
- julia -e 'Pkg.clone("https://github.com/MikeInnes/DataFlow.jl")'
- 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"))'

17
docs/make.jl Normal file
View File

@ -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)

1
docs/src/index.md Normal file
View File

@ -0,0 +1 @@
# Flux