We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a0a1178 commit 0a0b3ddCopy full SHA for 0a0b3dd
lib/docs/main.js
@@ -51,7 +51,7 @@ var zigAnalysis;
51
const domHdrName = document.getElementById("hdrName");
52
const domHelpModal = document.getElementById("helpModal");
53
const domSearchPlaceholder = document.getElementById("searchPlaceholder");
54
- const sourceFileUrlTemplate = "https://github.com/ziglang/zig/blob/master/lib/std/{{file}}#L{{line}}"
+ const sourceFileUrlTemplate = "/src-viewer/{{file}}#L{{line}}"
55
56
let searchTimer = null;
57
let searchTrimResults = true;
@@ -974,7 +974,7 @@ var zigAnalysis;
974
"switch(" +
975
cond +
976
") {" +
977
- '<a href="https://github.com/ziglang/zig/tree/master/lib/std/' +
+ '<a href="/src-viewer/' +
978
file_name +
979
"#L" +
980
line +
0 commit comments