diff --git a/src/lib/docs.js b/src/lib/docs.js index 7b83104..85423ef 100644 --- a/src/lib/docs.js +++ b/src/lib/docs.js @@ -81,7 +81,8 @@ export function getPaths(nextRoutes, options, carry = []) { ) } carry.push(removeFromLast(path, extension)) - } else if (routes) { + } + if (routes) { getPaths(routes, options, carry) } })