Skip to content

Commit 46b0525

Browse files
haampieandreasnoack
authored andcommitted
Automatically build & deploy docs (#170)
* Automatically build & deploy docs * Add .git suffix * Do not try to run doctests (there aren't any) * Remove 'internal' page. It was not part of the docs
1 parent 0aa0760 commit 46b0525

File tree

3 files changed

+4
-54
lines changed

3 files changed

+4
-54
lines changed

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@ notifications:
1111
email: false
1212
after_success:
1313
- julia -e 'Pkg.add("Coverage"); cd(Pkg.dir("IterativeSolvers")); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(process_folder())'
14+
- julia -e 'Pkg.add("Documenter"); cd(Pkg.dir("IterativeSolvers")); include(joinpath("docs", "make.jl"))'

docs/make.jl

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ using Documenter, IterativeSolvers
33
makedocs(
44
modules = [IterativeSolvers],
55
format = :html,
6+
doctest = false,
7+
clean = true,
68
sitename = "IterativeSolvers.jl",
79
pages = [
810
"Home" => "index.md",
@@ -25,10 +27,6 @@ makedocs(
2527
"SVDL" => "svd/svdl.md",
2628
"Randomized algorithms" => "randomized.md",
2729
"The iterator approach" => "iterators.md",
28-
# "Additional resources" => [
29-
# # "Public" => "library/public.md",
30-
# # "Internal" => "library/internal.md",
31-
# ],
3230
"About" => [
3331
"Contributing" => "about/CONTRIBUTING.md",
3432
"License" => "about/license.md",
@@ -37,7 +35,7 @@ makedocs(
3735
)
3836

3937
deploydocs(
40-
repo = "github.com/JuliaMath/IterativeSolvers.jl",
38+
repo = "github.com/JuliaMath/IterativeSolvers.jl.git",
4139
target = "build",
4240
osname = "linux",
4341
julia = "0.6",

docs/src/library/internal.md

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)