Open
Description
The plugin-pages
does not appear to work correctly on simple non-monorepositories.
Following the example shown on this page:
pages: [
{ title: 'Getting started', source: 'getting-started.md', children: [
{ title: 'Configuration', source: 'configuration.md' },
] },
{ title: 'Additional resources', childrenDir: 'additional-resources', children: [
{ title: 'Some cool docs', source: 'some-cool-docs.md' },
] },
],
I obtain the following tree structure:
I observe that:
- The menus are always expanded, regardless the currently selected page
- The second menu is represented by an attribute-less
<a>...</a>
tag
I tested other combinations of parameters but couldn't make it work correctly. I haven't tested on a mono-repository but by looking at the configuration of this very repository and seeing the result I'm assuming it works correctly in that case.