From 68f1cd0c74b408d6175f7a999ed125eec3acd4bd Mon Sep 17 00:00:00 2001 From: Oscar Dowson Date: Sat, 16 Sep 2023 15:00:50 +1200 Subject: [PATCH] [docs] update to Documenter@1.0.0 (#3501) --- docs/Project.toml | 2 +- docs/make.jl | 18 ++++++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index 65ed8a72e6e..f9fa2673836 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -40,7 +40,7 @@ Clarabel = "=0.5.1" DataFrames = "1" DimensionalData = "0.24" Distributions = "0.25" -Documenter = "0.27.9, 0.28" +Documenter = "=1.0.0" Dualization = "0.5" GLPK = "=1.1.2" HTTP = "1.5.4" diff --git a/docs/make.jl b/docs/make.jl index 730936c546c..69c98b4766d 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -3,13 +3,11 @@ # License, v. 2.0. If a copy of the MPL was not distributed with this # file, You can obtain one at https://mozilla.org/MPL/2.0/. -import Pkg -Pkg.pkg"add Documenter#2fabe9c3bd40b6288c3d86d96c6031728b2d92ad" - import Documenter import Downloads import Literate import MathOptInterface +import Pkg import Test import TOML @@ -555,7 +553,19 @@ write(joinpath(@__DIR__, "src", "JuMP.pdf"), "") assets = ["assets/extra_styles.css"], sidebar_sitename = false, # Do no check for large pages. - size_threshold = nothing, + size_threshold_ignore = [ + "changelog.md", + "release_notes.md", + "api/JuMP.md", + "tutorials/getting_started/getting_started_with_data_and_plotting.md", + "moi/changelog.md", + "moi/release_notes.md", + "moi/reference/models.md", + "moi/reference/standard_form.md", + "moi/submodules/Bridges/list_of_bridges.md", + "moi/submodules/Bridges/reference.md", + "moi/submodules/Utilities/reference.md", + ], ), modules = [JuMP, MOI], checkdocs = :none,