-
Notifications
You must be signed in to change notification settings - Fork 3
/
makedocs.jl
52 lines (45 loc) · 1.44 KB
/
makedocs.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
using Documenter
using TimeSeriesEcon
using ModelBaseEcon
using StateSpaceEcon
using FAME
# Scans the src/Tutorials path and populates the tutorials array used below
# include("scan_tutorials.jl")
##
ENV["GKSwstype"] = "100"
makedocs(
sitename="StateSpaceEcon",
format=Documenter.HTML(prettyurls=get(ENV, "CI", nothing) == "true"),
modules=[StateSpaceEcon, ModelBaseEcon, TimeSeriesEcon, FAME],
doctest=false,
pages=[
"index.md",
"Tutorials" => [
"Tutorials/index.md",
"Tutorials/README.md",
"Tutorials/1.TimeSeriesEcon/main.md",
"Tutorials/2.simple_RBC/main.md",
"Tutorials/3.US_SW07/main.md",
"FRB/US" => "Tutorials/4.FRB-US/main.md",
],
"Reference" => [
"TimeSeriesEcon" => "Reference/TimeSeriesEcon.md",
"ModelBaseEcon" => "Reference/ModelBaseEcon.md",
"StateSpaceEcon" => "Reference/StateSpaceEcon.md",
"FAME" => "Reference/FAME.md",
],
"Design Papers" => [
"DesignPapers/index.md",
"DesignPapers/final_conditions.md",
"DesignPapers/log_variables.md",
"DesignPapers/equation_changes.md",
"DesignPapers/frequency_conversions.md",
],
"Index" => "indexpage.md"
]
)
##
if get(ENV, "CI", nothing) == "true"
deploydocs(repo="github.com/bankofcanada/DocsEcon.jl.git",
push_preview=true)
end