Static files under `src` are not added to UI-bundle
Documentation at https://docs.antora.org/antora-ui-default/add-static-files/ states that static files can be placed immediately under the src
folder. The fact is that static files must be placed under the src/static
folder, and they automatically get promoted to the top of the resulting ui-bundle.
To test this:
- Clone the repository and install dependencies.
echo "Hello" > src/hello.txt
mkdir src/static
echo "Bye" > src/static/bye.txt
npx gulp
unzip -l build/ui-bundle.zip | grep txt
Only bye.txt
is added to the root of the ui-bundle.zip
file.