-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create separate playbook files: basic for testing, full with future s…
…ettings.
- Loading branch information
Showing
2 changed files
with
76 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# Configuration based on Antora Generator Template | ||
# Source: https://code.asam.net/common/templates/antora-base-repo-example/-/blob/standard_generator/site.yml | ||
# tag::site[] | ||
site: | ||
title: ASAM OpenMATERIAL | ||
url: https://asam-ev.github.io/OpenMATERIAL/ | ||
start_page: asamopenmaterial:specification:index.adoc | ||
# end::site[] | ||
urls: # Creates a redirect for the newest version to the link "latest" | ||
latest_version_segment_strategy: redirect:to | ||
latest_version_segment: latest | ||
|
||
# tag::content[] | ||
content: | ||
sources: | ||
- url: https://github.com/asam-ev/OpenMATERIAL.git | ||
branches: [antora-test] # ACHTUNG - aktuellen Branch eintragen! [main, v*.*.*] | ||
tags: [v*,V*] | ||
start_path: .antora | ||
- url: https://code.asam.net/common/asam-terminology.git | ||
start_path: .antora | ||
tags: [v*,V*] | ||
# end::content[] | ||
|
||
ui: | ||
bundle: | ||
url: https://code.asam.net/common/antora-ui/-/jobs/artifacts/main/raw/build/ui-bundle.zip?job=bundle-stable | ||
snapshot: true | ||
# supplemental_files: ./supplemental_ui # Activate this if you need to make local UI changes. Check the official Antora documentation for more information. | ||
|
||
output: | ||
clean: true | ||
dir: ./build/site | ||
|
||
runtime: | ||
fetch: true | ||
|
||
# tag::asciidoctor[] | ||
asciidoc: | ||
attributes: | ||
page-pagination: true | ||
hide-uri-scheme: "" | ||
kroki-server-url: 'http://kroki:8000' | ||
kroki-fetch-diagram: "" | ||
# Allow URI read to retrieve SVG on compilation | ||
allow-uri-read: true | ||
# use SVG unless otherwise specified | ||
kroki-default-format: svg | ||
# Make SVG inline so that we can get interactive (can be overridden by schema with "opts=none") | ||
kroki-default-options: interactive | ||
sectnums: "@" | ||
xrefstyle: short@ | ||
listing-caption: Code | ||
page-width-limit: none@ | ||
THIS_STANDARD: ASAM OpenMATERIAL | ||
|
||
# end::asciidoctor[] | ||
|
||
extensions: | ||
- asciidoctor-kroki | ||
- './asam-antora-extensions/asam-asciidoctor_extensions.js' | ||
- './asam-antora-extensions/asam-asciidoctor_extensions-registered.js' | ||
|
||
# tag::antora[] | ||
antora: | ||
extensions: | ||
- require: '@antora/lunr-extension' | ||
- require: './asam-antora-extensions/asam-antora_extension.js' | ||
numbered_titles: true | ||
section_number_style: 'iso' | ||
alternate_xref_style: 'full' | ||
loft: true | ||
local_to_global_references: true | ||
bibliography: true | ||
|
||
# end::antora[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters