
# ensure in right directory and environment
cd(dirname(@__FILE__))
using Pkg
Pkg.activate(".")

using Documenter, MuseInference, Turing

makedocs(
    sitename = "MuseInference",
    format = Documenter.HTML(
        assets = ["assets/muse.css"],
        disable_git = true,
    ),
    pages = [
        "index.md",
        "api.md",
    ],
    checkdocs = :none,
    strict = true,
    modules = [MuseInference]
)

deploydocs(
    repo = "https://github.com/marius311/MuseInference.jl",
    devbranch = "main",
    devurl = "latest",
    push_preview = true,
    forcepush = true
)
