authorgravatar for der.teufel.mail@gmail.comKrzysztof Wolicki <der.teufel.mail@gmail.com> 2023-05-16 13:11:33+02:00
committergravatar for der.teufel.mail@gmail.comKrzysztof Wolicki <der.teufel.mail@gmail.com> 2023-05-16 13:11:33+02:00
log3e5824d2a66cb037b6e47601d774130abcbc546e
tree6572ba38d59384a1625c2704d23dc41d0000523c
parente584dd806259f37fc17bedbd4d0fb33b936747f6

autodoc: Fix rendering of imported modules


1 files changed, 1 insertions(+), 1 deletions(-)

lib/docs/main.js+1-1
...@@ -557,7 +557,7 @@ const NAV_MODES = {...@@ -557,7 +557,7 @@ const NAV_MODES = {
557 let rootMod = zigAnalysis.modules[zigAnalysis.rootMod];557 let rootMod = zigAnalysis.modules[zigAnalysis.rootMod];
558 let mod = rootMod;558 let mod = rootMod;
559 curNav.modObjs = [mod];559 curNav.modObjs = [mod];
560 for (let i = 1; i < curNav.modNames.length; i += 1) {560 for (let i = 0; i < curNav.modNames.length; i += 1) {
561 let childMod = zigAnalysis.modules[mod.table[curNav.modNames[i]]];561 let childMod = zigAnalysis.modules[mod.table[curNav.modNames[i]]];
562 if (childMod == null) {562 if (childMod == null) {
563 return render404();563 return render404();