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 93d3230 commit 8efaab7Copy full SHA for 8efaab7
src/Generator/JsonGenerator.php
@@ -145,11 +145,6 @@ private function guessPrev(string $parserFilename): ?array
145
$meta = $this->getMetaEntry($parserFilename, true);
146
$parentFile = $meta->getParent();
147
148
- // no prev if parent is an index
149
- if ('index' === $parentFile) {
150
- return null;
151
- }
152
-
153
[$toc, $indexCurrentFile] = $this->getNextPrevInformation($parserFilename);
154
155
// if current file is the first one of the chapter, prev is the direct parent
0 commit comments