diff --git a/docs/make.jl b/docs/make.jl index a078971..4ab7aad 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,26 +1,26 @@ -push!(LOAD_PATH, "../src/") +using Documenter, DocumenterVitepress -using Documenter -using DocumenterCitations -using DocumenterMarkdown +push!(LOAD_PATH, "../src/") using SpeciesInteractionSamplers -bibliography = CitationBibliography(joinpath(@__DIR__, "SIS.bib")) - -makedocs( - bibliography; - sitename="SpeciesInteractionSamplers.jl", - authors="Michael D. Catchen", +makedocs(; modules=[SpeciesInteractionSamplers], - format=Markdown(),) - + authors="Michael D. Catchen", + repo="https://github.com/gottacatchenall/SpeciesInteractionSamplers.jl", + sitename="SpeciesInteractionSamplers.jl", + format=DocumenterVitepress.MarkdownVitepress( + repo="https://github.com/gottacatchenall/SpeciesInteractionSamplers.jl", + devurl="dev", + deploy_url="gottacatchenall.github.io/SpeciesInteractionSamplers.jl", + ), + pages=[ + "Home" => "index.md", + ], + warnonly=true, +) deploydocs(; - deps=Deps.pip("mkdocs", "pygments", "python-markdown-math", "mkdocs-material"), - repo="github.com/gottacatchenall/SpeciesInteractionSamplers.jl.git", - devbranch="main", - make=() -> run(`mkdocs build`), - target="site", + repo="github.com/gottacatchenall/SpeciesInteractionSamplers.jl", push_preview=true, ) diff --git a/docs/src/index.md b/docs/src/index.md index 7d9aac9..699071f 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -1,2 +1,8 @@ # SpeciesInteractionSamplers.jl +Documentation for `SpeciesInteractionSamplers.jl`. + +```@autodocs +Modules=[SpeciesInteractionSamplers] +``` +