From f8dd24af5bad8405e26e22028aa3128bb23a3285 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 18 Nov 2024 00:42:42 +0100 Subject: [PATCH] docs: invoke AbstractAlgebra.doctestsetup() --- .github/workflows/CI.yml | 3 ++- Project.toml | 2 +- docs/Project.toml | 1 + docs/make.jl | 1 + 4 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index e215f653ac..57bec44505 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -64,8 +64,9 @@ jobs: Pkg.develop(PackageSpec(path=pwd())) Pkg.instantiate() using Documenter - using Nemo + import Nemo: Nemo, AbstractAlgebra DocMeta.setdocmeta!(Nemo, :DocTestSetup, :(using Nemo); recursive = true) + DocMeta.setdocmeta!(AbstractAlgebra, :DocTestSetup, AbstractAlgebra.doctestsetup(); recursive = true) doctest(Nemo)' - name: "Process code coverage" uses: julia-actions/julia-processcoverage@v1 diff --git a/Project.toml b/Project.toml index df26e46c6d..bc1f9e2aa9 100644 --- a/Project.toml +++ b/Project.toml @@ -13,7 +13,7 @@ RandomExtensions = "fb686558-2515-59ef-acaa-46db3789a887" SHA = "ea8e919c-243c-51af-8825-aaa63cd721ce" [compat] -AbstractAlgebra = "0.43.9" +AbstractAlgebra = "0.43.10" FLINT_jll = "^300.100.100" Libdl = "1.6" LinearAlgebra = "1.6" diff --git a/docs/Project.toml b/docs/Project.toml index 9e99902980..341bbcbfd2 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -1,6 +1,7 @@ [deps] AbstractAlgebra = "c3fe647b-3220-5bb0-a1ea-a7954cac585d" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" +Nemo = "2edaba10-b0f1-5616-af89-8c11ac63239a" [compat] Documenter = "1.0" diff --git a/docs/make.jl b/docs/make.jl index 0b0a2b2e49..119a57b2d9 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,6 +1,7 @@ using Documenter, Nemo, AbstractAlgebra DocMeta.setdocmeta!(Nemo, :DocTestSetup, :(using Nemo); recursive = true) +DocMeta.setdocmeta!(AbstractAlgebra, :DocTestSetup, AbstractAlgebra.doctestsetup(); recursive = true) makedocs( format = Documenter.HTML(),