diff --git a/docs/make.jl b/docs/make.jl
index 93591535cdaf3435212ce230dd339b553b3e05d2..76c1d53a5416a450bf1b135867c369bb98f44345 100644
--- a/docs/make.jl
+++ b/docs/make.jl
@@ -26,7 +26,7 @@ makedocs(;
         ],
         "API" => "api.md"
     ],
-    repo = URL(
+    repo = Documenter.Remotes.URL(
         "https://git.km3net.de/common/KM3io.jl/blob/{commit}{path}#L{line}",
         "https://git.km3net.de/common/KM3io.jl"
     ),