using Documenter, MultivariateStats, StatsBase, Statistics, Random, LinearAlgebra

if Base.HOME_PROJECT[] !== nothing
    Base.HOME_PROJECT[] = abspath(Base.HOME_PROJECT[])
end

makedocs(
    sitename = "MultivariateStats.jl",
    modules = [MultivariateStats],
    pages = ["Home"=>"index.md",
             "whiten.md",
             "lreg.md",
             "lda.md",
             "pca.md",
             "ica.md",
             "cca.md",
             "fa.md",
             "mds.md",
             "Development"=>"api.md"]
)

deploydocs(
    repo = "github.com/JuliaStats/MultivariateStats.jl.git"
)
