From 7c72cf8af877abdfecd5879a3a40e018deaf767f Mon Sep 17 00:00:00 2001 From: Pierre Navaro Date: Wed, 10 Jul 2024 10:37:55 +0200 Subject: [PATCH] Upgrade Documenter to version 1.0 (#24) * Upgrade to Documenter 1.0 * Update Project.toml * Update docs/Project.toml Co-authored-by: David Widmann * Update test/Project.toml Co-authored-by: David Widmann * Update test/Project.toml --------- Co-authored-by: David Widmann --- docs/Project.toml | 2 +- docs/make.jl | 3 +-- test/Project.toml | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/Project.toml b/docs/Project.toml index 6a62c91..2344f45 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -3,6 +3,6 @@ Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" PythonOT = "3c485715-4278-42b2-9b5f-8f00e43c12ef" [compat] -Documenter = "0.27" +Documenter = "1" PythonOT = "0.1" julia = "1" diff --git a/docs/make.jl b/docs/make.jl index 0202fcc..2e9180a 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -12,15 +12,14 @@ DocMeta.setdocmeta!(PythonOT, :DocTestSetup, :(using PythonOT); recursive=true) makedocs(; modules=[PythonOT, PythonOT.Smooth], authors="David Widmann", - repo="https://github.com/JuliaOptimalTransport/PythonOT.jl/blob/{commit}{path}#{line}", sitename="PythonOT.jl", format=Documenter.HTML(; prettyurls=get(ENV, "CI", "false") == "true", canonical="https://juliaoptimaltransport.github.io/PythonOT.jl", + repolink="https://github.com/JuliaOptimalTransport/PythonOT.jl/blob/{commit}{path}#{line}", assets=String[], ), pages=["Home" => "index.md", "api.md"], - strict=true, checkdocs=:exports, doctestfilters=[ r"{([a-zA-Z0-9]+,\s?)+[a-zA-Z0-9]+}", diff --git a/test/Project.toml b/test/Project.toml index 52a1bbd..522c06f 100644 --- a/test/Project.toml +++ b/test/Project.toml @@ -4,5 +4,5 @@ Pkg = "44cfe95a-1eb2-52ea-b672-e2afdf69b78f" Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40" [compat] -Documenter = "0.27" +Documenter = "0.27, 1" julia = "1"