A barebones Antora demo with sample pages demonstrating all AsciiDoc features.
This template provides a complete set of sample AsciiDoc pages covering every major documentation feature. Use it as:
-
A reference for AsciiDoc syntax in Antora
-
A starting point for new documentation projects
-
A test suite for custom themes
| Page | Features |
|---|---|
Typography |
Headings, inline formatting, links, paragraphs, footnotes |
Code Blocks |
Syntax highlighting, callouts, line numbers, titles |
Admonitions |
NOTE, TIP, IMPORTANT, WARNING, CAUTION blocks |
Tables |
Headers, footers, alignment, nested content, CSV |
Blocks & Quotes |
Sidebars, examples, quotes, verses, collapsible blocks |
Lists |
Ordered, unordered, description, checklists, nested |
Images & Media |
Block images, alignment, captions, icons |
git clone https://github.com/antora-supplemental/antora-demo.git
cd antora-demo
pnpm install
pnpm buildpnpm serveThis builds the site and opens it in your browser at http://localhost:8080.
antora-demo/
├── docs/
│ ├── antora.yml # Component descriptor
│ └── modules/ROOT/
│ ├── nav.adoc # Navigation
│ └── pages/ # Sample pages
│ ├── index.adoc
│ ├── typography.adoc
│ ├── code-blocks.adoc
│ ├── admonitions.adoc
│ ├── tables.adoc
│ ├── blocks.adoc
│ ├── lists.adoc
│ └── images.adoc
├── antora-playbook.yml # Antora playbook
├── package.json
└── README.adoc-
Fork or clone this repository
-
Modify
docs/antora.ymlwith your component name -
Update
antora-playbook.ymlwith your site title -
Replace sample content with your own documentation
-
Clone this repository
-
Add your theme’s supplemental UI:
ui: bundle: url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable snapshot: true supplemental_files: ./path/to/your/supplemental-ui
-
Build and verify all elements are styled correctly