mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-08-06 04:21:33 +00:00
Documentation deployment fix (#230)
Similar work done in FEMQuad.jl and FEMBase.jl
This commit is contained in:
+11
@@ -17,5 +17,16 @@ matrix:
|
|||||||
allow_failures:
|
allow_failures:
|
||||||
- julia: nightly
|
- julia: nightly
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
include:
|
||||||
|
- stage: "Documentation"
|
||||||
|
julia: 1.0
|
||||||
|
os: linux
|
||||||
|
script:
|
||||||
|
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd()));
|
||||||
|
Pkg.instantiate()'
|
||||||
|
- julia --project=docs/ -e 'import Pkg; Pkg.add("Documenter"); include("docs/make.jl")'
|
||||||
|
after_success: skip
|
||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
- julia -e 'cd(Pkg.dir("JuliaFEM")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
|
- julia -e 'cd(Pkg.dir("JuliaFEM")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
|
||||||
|
|||||||
@@ -5,7 +5,6 @@ using Documenter
|
|||||||
|
|
||||||
deploydocs(
|
deploydocs(
|
||||||
repo = "github.com/JuliaFEM/JuliaFEM.jl.git",
|
repo = "github.com/JuliaFEM/JuliaFEM.jl.git",
|
||||||
julia = "1.0",
|
|
||||||
target = "build",
|
target = "build",
|
||||||
deps = nothing,
|
deps = nothing,
|
||||||
make = nothing)
|
make = nothing)
|
||||||
|
|||||||
+4
-3
@@ -254,8 +254,9 @@ PAGES = [
|
|||||||
@info("Pages in documentation", PAGES)
|
@info("Pages in documentation", PAGES)
|
||||||
|
|
||||||
makedocs(modules=[JuliaFEM],
|
makedocs(modules=[JuliaFEM],
|
||||||
format = Documenter.HTML(),
|
format = Documenter.HTML(analytics="UA-83590644-1"),
|
||||||
checkdocs = :all,
|
checkdocs = :all,
|
||||||
sitename = "JuliaFEM",
|
sitename = "JuliaFEM.jl",
|
||||||
analytics = "UA-83590644-1",
|
|
||||||
pages = PAGES)
|
pages = PAGES)
|
||||||
|
|
||||||
|
include("deploy.jl")
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
|
|
||||||
using JuliaFEM, Test
|
using JuliaFEM, Test
|
||||||
|
|
||||||
include("../docs/make.jl")
|
|
||||||
|
|
||||||
@testset "JuliaFEM.jl" begin
|
@testset "JuliaFEM.jl" begin
|
||||||
@testset "test_dirichlet.jl" begin
|
@testset "test_dirichlet.jl" begin
|
||||||
include("test_dirichlet.jl")
|
include("test_dirichlet.jl")
|
||||||
@@ -163,5 +161,3 @@ include("../docs/make.jl")
|
|||||||
include("test_von_mises_material.jl")
|
include("test_von_mises_material.jl")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
include("../docs/deploy.jl")
|
|
||||||
|
|||||||
Reference in New Issue
Block a user