using Documenter, DerivativeFreeSolvers

makedocs(
  modules = [DerivativeFreeSolvers],
  doctest = true,
  # linkcheck = true,
  strict = true,
  format = Documenter.HTML(assets = ["assets/style.css"], prettyurls = get(ENV, "CI", nothing) == "true"),
  sitename = "DerivativeFreeSolvers.jl",
  pages = Any["Home" => "index.md",
              "Tutorial" => "tutorial.md",
              "Reference" => "reference.md"]
)

deploydocs(
  repo = "github.com/JuliaSmoothOptimizers/DerivativeFreeSolvers.jl.git",
  push_preview = true,
  devbranch = "main",
)
