make.jl 1.17 KB
Newer Older
Victor's avatar
Victor committed
1
2
3
4
5
using Documenter, ABMEv
# push!(LOAD_PATH,"/Users/victorboussange/ETHZ/projects/ABMEv/") # not sure this is necessary
pathsrc = joinpath(@__DIR__,"src")
makedocs(sitename="ABMEv.jl",
        format = Documenter.HTML(prettyurls = false),
Victor's avatar
Victor committed
6
        authors = "Victor Boussange",
Victor's avatar
Victor committed
7
8
        pages = [
            "Home" => "index.md",
Victor's avatar
Victor committed
9
            "Examples" => [ joinpath(s[end-1:end]...) for s in splitpath.(readdir(joinpath(pathsrc,"examples"),join=true))],
Victor's avatar
Victor committed
10
11
12
13
14
15
16
17
18
19
20
21
22
            "Manual" => [ joinpath(s[end-1:end]...) for s in splitpath.(readdir(joinpath(pathsrc,"manual"),join=true))],
            "Mathematics" => [ joinpath(s[end-1:end]...) for s in splitpath.(readdir(joinpath(pathsrc,"mathematics"),join=true))],
            "Library" => Any[
                "Public" => "lib/public.md",
                # "Internals" => map(
                #     s -> "lib/internals/$(s)",
                #     sort(readdir(joinpath(@__DIR__, "src/lib/internals")))
                # ),
                ],
            "Developping" => [ joinpath(s[end-1:end]...) for s in splitpath.(readdir(joinpath(pathsrc,"dev"),join=true))],
        # "contributing.md",
        ],)

Victor's avatar
Victor committed
23
deploydocs(repo = "github.com/vboussange/ABMEv.jl")