using Documenter
using OmegaCore

makedocs(
  modules = [OmegaCore],
  authors = "Zenna Tavares, Javier Burroni, Edgar Minaysan, Rajesh Ragananth, Armando Solar-Lezama",
  format = Documenter.HTML(),
  sitename = "OmegaCore.jl",
  pages = [
    "Home" => "index.md",
    "Basic Tutorial" => "basictutorial.md",
    # "Modeling" => "model.md",
    # "(Conditional) Independence" => "conditionalindependence.md",
    # "Conditional Inference" => "inference.md",
    # "Soft Execution" => "soft.md",
    # "Inference Algorithms" => ["Sampling Algorithms" => "inferencealgorithms.md",
    #                            "Callbacks" => "callbacks.md"],
    # "Causal Inference" => ["Causal Inference" => "causal.md",
    #                        "Tutorial" => "basiccausal.md",
    #                        "Preservation" => "correspondence.md"],
    # "Distributional Inference" => "higher.md",
    # "Built-in Distributions" => "distributions.md",
    # "Cheat Sheet" => "cheatsheet.md",
    # "FAQ" => "faq.md",
    # "Performance Tips" => "performance.md",
    # "Internals" => ["Overview" => "internalsoverview.md",
    #                 "Ω" => "omega.md",
    #                 "RandVar" => "randvar.md"],
    # "Contribution Guide" => "contrib.md",
    # "Omega vs other PPLs" => "omegavsotherppls.md",
  ]
)

deploydocs(
  repo = "github.com/zenna/OmegaCore.jl.git",
)
