mirror of
https://github.com/ziglang/zig.git
synced 2024-11-27 07:32: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 domHdrName = document.getElementById("hdrName");
|
||||||
const domHelpModal = document.getElementById("helpModal");
|
const domHelpModal = document.getElementById("helpModal");
|
||||||
const domSearchPlaceholder = document.getElementById("searchPlaceholder");
|
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 searchTimer = null;
|
||||||
let searchTrimResults = true;
|
let searchTrimResults = true;
|
||||||
@ -974,7 +974,7 @@ var zigAnalysis;
|
|||||||
"switch(" +
|
"switch(" +
|
||||||
cond +
|
cond +
|
||||||
") {" +
|
") {" +
|
||||||
'<a href="https://github.com/ziglang/zig/tree/master/lib/std/' +
|
'<a href="/src-viewer/' +
|
||||||
file_name +
|
file_name +
|
||||||
"#L" +
|
"#L" +
|
||||||
line +
|
line +
|
||||||
|
Loading…
Reference in New Issue
Block a user