mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
autodoc: Fix rendering of imported modules
This commit is contained in:
parent
e584dd8062
commit
3e5824d2a6
@ -557,7 +557,7 @@ const NAV_MODES = {
|
||||
let rootMod = zigAnalysis.modules[zigAnalysis.rootMod];
|
||||
let mod = rootMod;
|
||||
curNav.modObjs = [mod];
|
||||
for (let i = 1; i < curNav.modNames.length; i += 1) {
|
||||
for (let i = 0; i < curNav.modNames.length; i += 1) {
|
||||
let childMod = zigAnalysis.modules[mod.table[curNav.modNames[i]]];
|
||||
if (childMod == null) {
|
||||
return render404();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user