Allow a base path to be specified for a scan action
Allow a base path to be specified for a scan action using the base
key. If specified, the base path will be prepended to the path of every file that's discovered. This setting makes it possible to graft files into the Antora hierarchy, such as modules/ROOT/examples, that aren't stored that way.
The meaning of the base key is adapted from the base tag in HTML. It's a starting path to use for all relative paths discovered by the scan.
Here's an example of the base key in use:
ext:
collector:
scan:
dir: core/src/test/java
files: ['**/*', '!**/*Test.java']
base: modules/ROOT/examples
Edited by Dan Allen