mirror of
https://github.com/ziglang/zig.git
synced 2024-11-26 23:22:44 +00:00
autodoc: remove reference to github, replace with placeholder link
This commit is contained in:
parent
a0a1178694
commit
0a0b3dda03
@ -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 +
|
||||
|
Loading…
Reference in New Issue
Block a user