diff --git a/README.md b/README.md index 2899426..3a65be6 100644 --- a/README.md +++ b/README.md @@ -1 +1,6 @@ # StochasticWeatherGenerator + +[![Stable](https://img.shields.io/badge/docs-stable-blue.svg)](https://dmetivie.github.io/StochasticWeatherGenerator.jl/stable/) +[![Dev](https://img.shields.io/badge/docs-dev-blue.svg)](https://dmetivie.github.io/StochasticWeatherGenerator.jl/dev/) + +A Julia package, to define, fit and use a Stochastic Weather Generator as proposed in [TO COME!]. \ No newline at end of file diff --git a/docs/make.jl b/docs/make.jl index 7425590..61afd39 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -24,16 +24,22 @@ pages = [ "Paper" => joinpath("examples", "tuto_paper.md") ] ] + +fmt = Documenter.HTML(; + prettyurls=get(ENV, "CI", "false") == "true", + repolink="https://github.com/dmetivie/StochasticWeatherGenerator.jl", + canonical="https://dmetivie.github.io/StochasticWeatherGenerator.jl", + assets=String[], +) + makedocs( sitename = "StochasticWeatherGenerator", authors = "David Métivier", - format = Documenter.HTML(), + format = fmt, modules = [StochasticWeatherGenerator] ) # Documenter can also automatically deploy documentation to gh-pages. # See "Hosting Documentation" and deploydocs() in the Documenter manual # for more information. -#=deploydocs( - repo = "" -)=# +deploydocs(; repo="github.com/dmetivie/StochasticWeatherGenerator.jl", devbranch="master") \ No newline at end of file