commit 87c7ef31c52ec1d5fa24bd9acfc08f45d9b206d2 (tree)
parent e584dd806259f37fc17bedbd4d0fb33b936747f6
Author: Loris Cro <kappaloris@gmail.com>
Date: Tue, 16 May 2023 13:20:16 +0200
Merge pull request #15731 from der-teufel-programming/autodoc-quickfixes
autodoc: Fix rendering of imported modules
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/docs/main.js b/lib/docs/main.js
@@ -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();