diff --git a/Project.toml b/Project.toml index 679a7cbd..c3569589 100644 --- a/Project.toml +++ b/Project.toml @@ -2,7 +2,7 @@ name = "DocumentationGenerator" uuid = "8f0d3306-d70b-5309-b898-24bb6ab47850" authors = ["Sebastian Pfitzner ", "Simon Danisch ", "Venkatesh Dayananda "] repo = "https://github.com/JuliaDocs/DocumentationGenerator.jl.git" -version = "0.8.2" +version = "0.8.3" [deps] AbstractTrees = "1520ce14-60c1-5f80-bbc7-55ef81b5835c" @@ -28,7 +28,7 @@ GitHub = "5.1, 5.2, 5.3, 5.4" GitForge = "0.4" GithubMarkdown = "0.2" Gumbo = "0.8" -HTMLSanitizer = "0.2" +HTMLSanitizer = "0.2.1" Highlights = "0.4, 0.5" JSON = "0.21" julia = "1.1" diff --git a/test/runtests.jl b/test/runtests.jl index 7dc1518e..1b229335 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -5,7 +5,7 @@ const julia = first(Base.julia_cmd()) @test length(keys(DocumentationGenerator.installable_on_version(joinpath(homedir(), ".julia", "registries", "General"), VERSION))) > 1500 -@test DocumentationGenerator.maybe_redirect("https://docs.julialang.org/") == "https://docs.julialang.org/en/v1" +@test strip(DocumentationGenerator.maybe_redirect("https://docs.julialang.org/"), ['/']) == "https://docs.julialang.org/en/v1" @testset "Running code with a timeout" begin let @@ -98,7 +98,7 @@ end success = [true], server_type = "github", api_url="", - hosted_uri=["https://docs.sciml.ai/Overview/"], + hosted_uri=["https://docs.sciml.ai/Overview"], doctype = ["hosted"], ), # with docs @@ -358,7 +358,7 @@ end @test pkgdoctype == pkg.doctype[i] if pkg.doctype[i] == "hosted" - @test get(toml, "hosted_uri", "") == pkg.hosted_uri[i] + @test strip(get(toml, "hosted_uri", ""), ['/']) == pkg.hosted_uri[i] end if pkginstalls == true