@neo4j-antora/antora-publish-type
v0.1.3
Published
Injects asciidoc into the top of pages based on the page-publish-type attribute
Downloads
1
Readme
antora-publish-type
Adds asciidoc into the top of pages based on the page-publish-type
attribute.
Usage
Asciidoc files stored as partials in /modules/ROOT/partials/publish-notes/ can be added to every page in a component with the page-publish-type
asciidoc attribute in the playbook.
To include <FILENAME>.adoc
add page-publish-type: <FILENAME>
.
To include multiple files, add the filenames as a comma-delimeted list.
Example
Create modules/ROOT/partials/publish-notes/preview.adoc with the following content:
[NOTE] ==== This page contains preview content for an upcoming release. ====
In your Antora playbook file, add an asciidoc attribute -
page-publish-type: preview@
Use Antora to generate HTML.