Add support for a moduleless (single module) docs component
We want to encourage the practice of partitioning content into modules, but this extra level of organization isn't always required (and may feel too formal). To accommodate that scenario, it should be possible to drop the modules folder and put the contents of the ROOT module directly inside the component folder. In other words, a completely flat structure like so:
antora.yml
assets/
images/
pages/
examples/
The logic for this is simple. If the modules folder is not found:
- assume that there is exactly one module folder
- the name of the module is ROOT
- the contents are directly inside the component folder
Edited by Sarah White