diff --git a/docs/Project.toml b/docs/Project.toml index 24160e5..ce47589 100644 --- a/docs/Project.toml +++ b/docs/Project.toml @@ -3,4 +3,3 @@ Diffusers = "90edb7a8-79d7-49b2-b6b1-9322c3fdead8" Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4" LaTeXStrings = "b964fa9f-0449-5b57-a5c2-d3ea65f4040f" PlotlyJS = "f0f68f2c-4968-5e81-91da-67840de0976a" -Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80" diff --git a/docs/make.jl b/docs/make.jl index 954c995..98bf9f9 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -1,6 +1,5 @@ using Diffusers using Documenter -using Plots DocMeta.setdocmeta!(Diffusers, :DocTestSetup, :(using Diffusers); recursive=true) @@ -10,7 +9,7 @@ makedocs(; repo="https://github.com/Laurent2916/Diffusers.jl/blob/{commit}{path}#{line}", sitename="Diffusers.jl", format=Documenter.HTML(; - prettyurls=get(ENV, "CI", "false") == "true", + prettyurls=true, edit_link="main", assets=String[] ), diff --git a/docs/src/beta_schedules.md b/docs/src/beta_schedules.md index 9d355c3..7ba4757 100644 --- a/docs/src/beta_schedules.md +++ b/docs/src/beta_schedules.md @@ -52,8 +52,6 @@ p1 = plot( ) ) -savefig(p1, "fig_beta_schedules.html") - p2 = plot( [ scatter(y=α̅_linear, name="Linear"), @@ -89,14 +87,15 @@ p2 = plot( ) ) -savefig(p2, "fig_alpha_bar_schedules.html") - +mkpath("beta_schedules") +savefig(p1, "beta_schedules/beta_schedules.html") +savefig(p2, "beta_schedules/alpha_bar_schedules.html") nothing ``` ```@raw html - - + + ```