Including same content multiple times leads to warnings about reused IDs
I have a module that includes the same partials multiple times in different pages, and I do want to generate a single PDF for the module.
The partials have section titles, and so when the PDF holds the equivalent of multiple HTML pages, the section IDs repeat, leading to build warnings like:
npx antora site-pdf.yml --stacktrace
asciidoctor: WARNING: @example::pdf$example-docs.adoc: line 37: id assigned to block already in use: branch-7
asciidoctor: WARNING: @example::pdf$example-docs.adoc: line 43: id assigned to block already in use: branch-7
asciidoctor: WARNING: @example::pdf$example-docs.adoc: line 57: id assigned to section already in use: branch-7
asciidoctor: WARNING: @example::pdf$example-docs.adoc: line 60: id assigned to block already in use: branch-7
Site generation complete!
Open file:///Users/markc/Repositories/antora-pdf/build/site/index.html in a browser to view your site.
This is no doubt legitimate, but it would be nice to be able to silence the warnings, since I do want to include the same section multiple times in the same PDF.
To reproduce the issue, clone https://github.com/markcraig/antora-pdf and build the PDF.