2 minutes to read
downloadTemplate
About This Task
Setup and Configuration
You can choose to bootstrap your project as an Antora project or as a plain AsciiDoc project. The Antora integration is currently in beta. The Antora integration enables you to register the project seamlessly with an existing Antora playbook.
experimental Antora support
-
to test the Antora template
-
install antora: https://docs.antora.org/antora/latest/install/install-antora/
-
download the arc42 template as antora style
./dtcw downloadTemplate
-
create a
playbook.yaml
within the root of your project -
make sure that your project is a valid git repository and contains at least one commit
-
execute
antora playbook.yml
-
site:
title: Antora ARC42 Template
start_page: arc42-template::index.adoc
content:
sources:
- url: ./
start_path: src/docs/arc42
branches: [HEAD]
ui:
bundle:
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
snapshot: true
asciidoc:
attributes:
sectanchors: true
output:
dir: build/antora
Note
|
To install antora, follow the instructions on https://docs.antora.org/antora/latest/install-and-run-quickstart/ |
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.