From 44de81ce138d8ac79adae8e29b874858b4912d05 Mon Sep 17 00:00:00 2001 From: Xianda Sun Date: Fri, 23 Aug 2024 13:53:10 +0100 Subject: [PATCH] add to doc --- docs/make.jl | 2 +- docs/src/gibbs.md | 2 +- test/runtests.jl | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/make.jl b/docs/make.jl index 9395d2a0..a2adb8e9 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -8,7 +8,7 @@ makedocs(; sitename="AbstractMCMC", format=Documenter.HTML(), modules=[AbstractMCMC], - pages=["Home" => "index.md", "api.md", "design.md"], + pages=["Home" => "index.md", "api.md", "design.md", "gibbs.md"], checkdocs=:exports, ) diff --git a/docs/src/gibbs.md b/docs/src/gibbs.md index db8430b8..3ff87fa0 100644 --- a/docs/src/gibbs.md +++ b/docs/src/gibbs.md @@ -1,4 +1,4 @@ -# `state` Interface +# `state` Interface Functions We encourage sampler packages to implement the following interface functions for the `state` type(s) they maintain: diff --git a/test/runtests.jl b/test/runtests.jl index 909ae8b3..afc804b8 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -24,4 +24,5 @@ include("utils.jl") include("stepper.jl") include("transducer.jl") include("logdensityproblems.jl") + include("gibbs_example/gibbs.jl") end