From 454f13b3513db1ee0d6ca11416992cce6658765f Mon Sep 17 00:00:00 2001 From: Joshua Pulsipher Date: Thu, 4 Apr 2019 14:33:19 -0500 Subject: [PATCH] Attempt 2 to fix documenter --- docs/Project.toml | 2 ++ docs/REQUIRE | 1 - docs/make.jl | 9 ++++++--- src/FlexJuMP.jl | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) delete mode 100644 docs/REQUIRE diff --git a/docs/Project.toml b/docs/Project.toml index ce87d15..a301ad5 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,5 +1,7 @@ [deps] Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +JuMP = "4076af6c-e467-56ae-b986-b466b2749572" + [compat] Documenter = "~0.21" diff --git a/docs/REQUIRE b/docs/REQUIRE deleted file mode 100644 index 0f2f954..0000000 --- a/docs/REQUIRE +++ /dev/null @@ -1 +0,0 @@ -Documenter diff --git a/docs/make.jl b/docs/make.jl index 44107b1..c2efc61 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,7 +1,7 @@ -using Documenter, FlexJuMP +using Documenter, FlexJuMP, JuMP makedocs(modules = [FlexJuMP], - doctest=true,html_prettyurls = get(ENV, "CI", nothing) == "true" + format = Documenter.HTML(prettyurls = get(ENV, "CI", nothing) == "true"), sitename = "FlexJuMP.jl - A Framework for Flexibility Analysis", authors = "Joshua Pulsipher", pages = ["Home" => "index.md", @@ -11,5 +11,8 @@ makedocs(modules = [FlexJuMP], "Library" => "api.md"]) deploydocs( - repo = "github.com/pulsipher/FlexJuMP.jl.git" + repo = "github.com/pulsipher/FlexJuMP.jl.git", + target = "build", + deps = nothing, + make = nothing ) diff --git a/src/FlexJuMP.jl b/src/FlexJuMP.jl index 5fbc88e..3afc0c9 100644 --- a/src/FlexJuMP.jl +++ b/src/FlexJuMP.jl @@ -20,7 +20,7 @@ index problem. Thus, basic functionality uses [`FlexibilityModel`](@ref), [`@ran - [`ismeanfeasible`](@ref) - [`findcenteredmean`](@ref) - [`getflexibilityindex`](@ref) -- ['getsolutiontime'](@ref) +- [`getsolutiontime`](@ref) - [`getconfidencelevel`](@ref) - [`getactiveconstraints`](@ref) - [`rankinequalities`](@ref)