From 0068e311c8cd6cbf11a2f0e69ae843aa49700108 Mon Sep 17 00:00:00 2001 From: abhro <5664668+abhro@users.noreply.github.com> Date: Fri, 27 Nov 2026 23:16:28 -0500 Subject: [PATCH] Use Documenter.Remotes.GitHub in docs/make.jl The current string for the repo argument doesn't provide a proper repository link at the top of the page. (Extremely minor side effect: this commit also removes the "#L" anchor from the "edit page" button) --- docs/make.jl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/make.jl b/docs/make.jl index 5e9e7f1a8..10d70501c 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -2,6 +2,7 @@ using KernelAbstractions using KernelInterface using Adapt using Documenter +using Documenter.Remotes: GitHub using DocumenterCodeBlocks: CodeBlocks function main() @@ -10,7 +11,7 @@ function main() makedocs(; modules = [KernelAbstractions, KernelInterface], authors = "JuliaGPU and contributors", - repo = "https://github.com/JuliaGPU/KernelAbstractions.jl/blob/{commit}{path}#L{line}", + repo = GitHub("JuliaGPU/KernelAbstractions.jl"), sitename = "KernelAbstractions.jl", plugins = [ CodeBlocks(; line_counter = :named),