Skip to content

Commit

Permalink
Fix docs sidebar generation (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
tobil4sk authored Oct 10, 2024
1 parent e570f4f commit 8f59524
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/util/MarkdownListParser.hx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ class MarkdownListParser {
}
case _:
}
prevIndent = indent;
} else {
// TODO: support going back more than one indentation level
if (indent < prevIndent) {
Expand All @@ -73,9 +72,9 @@ class MarkdownListParser {
links.push(link);
case _:
}
prevIndent = indent;
prevLink = link;
}
prevIndent = indent;
prevLink = link;
}
}
return toplevel;
Expand Down

0 comments on commit 8f59524

Please sign in to comment.