Skip to content

Commit a30017c

Browse files
authored
update docs build script (#15)
1 parent fea4186 commit a30017c

1 file changed

Lines changed: 16 additions & 18 deletions

File tree

docs/make.jl

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
using Documenter, FortranFiles
22

3-
makedocs(
4-
modules = [FortranFiles],
5-
sitename = "FortranFiles.jl",
6-
format = Documenter.HTML(prettyurls = false),
7-
pages = [
8-
"Home" => "index.md",
9-
"files.md",
10-
"types.md",
11-
"read.md",
12-
"write.md",
13-
"exceptions.md",
14-
"tests.md",
15-
"Index" => "theindex.md",
16-
]
3+
format = Documenter.HTML(
4+
edit_link = "master",
5+
prettyurls = Base.get_bool_env("CI", false)
176
)
187

19-
deploydocs(
20-
repo = "github.com/JuliaData/FortranFiles.jl.git",
21-
branch = "gh-pages"
22-
)
8+
pages = [
9+
"Home" => "index.md",
10+
"files.md",
11+
"types.md",
12+
"read.md",
13+
"write.md",
14+
"exceptions.md",
15+
"tests.md",
16+
"Index" => "theindex.md",
17+
]
18+
19+
makedocs(; modules = [FortranFiles], sitename = "FortranFiles.jl", format, pages)
20+
deploydocs(; repo = "github.com/JuliaData/FortranFiles.jl.git")

0 commit comments

Comments
 (0)