Skip to content

Commit

Permalink
Automatically build & deploy docs (#170)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
haampie authored and andreasnoack committed Nov 30, 2017
1 parent 0aa0760 commit 46b0525
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 54 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -11,3 +11,4 @@ notifications:
email: false
after_success:
- julia -e 'Pkg.add("Coverage"); cd(Pkg.dir("IterativeSolvers")); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(process_folder())'
- julia -e 'Pkg.add("Documenter"); cd(Pkg.dir("IterativeSolvers")); include(joinpath("docs", "make.jl"))'
8 changes: 3 additions & 5 deletions docs/make.jl
Expand Up @@ -3,6 +3,8 @@ using Documenter, IterativeSolvers
makedocs(
modules = [IterativeSolvers],
format = :html,
doctest = false,
clean = true,
sitename = "IterativeSolvers.jl",
pages = [
"Home" => "index.md",
Expand All @@ -25,10 +27,6 @@ makedocs(
"SVDL" => "svd/svdl.md",
"Randomized algorithms" => "randomized.md",
"The iterator approach" => "iterators.md",
# "Additional resources" => [
# # "Public" => "library/public.md",
# # "Internal" => "library/internal.md",
# ],
"About" => [
"Contributing" => "about/CONTRIBUTING.md",
"License" => "about/license.md",
Expand All @@ -37,7 +35,7 @@ makedocs(
)

deploydocs(
repo = "github.com/JuliaMath/IterativeSolvers.jl",
repo = "github.com/JuliaMath/IterativeSolvers.jl.git",
target = "build",
osname = "linux",
julia = "0.6",
Expand Down
49 changes: 0 additions & 49 deletions docs/src/library/internal.md

This file was deleted.

0 comments on commit 46b0525

Please sign in to comment.