autodoc: remove reference to github, replace with placeholder link

This commit is contained in:
Loris Cro 2022-08-16 16:19:54 +02:00
parent a0a1178694
commit 0a0b3dda03

View File

@ -51,7 +51,7 @@ var zigAnalysis;
const domHdrName = document.getElementById("hdrName");
const domHelpModal = document.getElementById("helpModal");
const domSearchPlaceholder = document.getElementById("searchPlaceholder");
const sourceFileUrlTemplate = "https://github.com/ziglang/zig/blob/master/lib/std/{{file}}#L{{line}}"
const sourceFileUrlTemplate = "/src-viewer/{{file}}#L{{line}}"
let searchTimer = null;
let searchTrimResults = true;
@ -974,7 +974,7 @@ var zigAnalysis;
"switch(" +
cond +
") {" +
'<a href="https://github.com/ziglang/zig/tree/master/lib/std/' +
'<a href="/src-viewer/' +
file_name +
"#L" +
line +