To receive notifications about scheduled maintenance, please subscribe to the mailing-list gitlab-operations@sympa.ethz.ch. You can subscribe to the mailing-list at https://sympa.ethz.ch

make.jl 1.14 KB
Newer Older
Victor's avatar
Victor committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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),
        pages = [
            "Home" => "index.md",
            "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))],
            "Examples" => [ joinpath(s[end-1:end]...) for s in splitpath.(readdir(joinpath(pathsrc,"examples"),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",
        ],)

deploydocs(repo= "gitlab.ethz.ch:bvictor/abmev.wiki.git",)