-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #85 from OpenSimulationInterface/antora/base-antor…
…a-setup Build: Create base Antora setup
- Loading branch information
Showing
24 changed files
with
177 additions
and
17 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,10 @@ | ||
# Component name (without spaces!). All content repositories with the same component name are merged in Antora. | ||
name: asamosi | ||
version: | ||
# Update version number accordingly. This is the version for the main branch | ||
main: 'current' | ||
v(*)-antora: V$1 | ||
v(*): V$1 | ||
V(*): V$1 | ||
# Update version number accordingly. This is the version for any other activated branch (branch must be added in the generator site.yml!). Schema = 0.0.x-<branch-name> (only works for branches starting with "feature/") | ||
(*): 'V3.6.0-$1' |
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,22 @@ | ||
[preface] | ||
* xref:00_preface/00_foreword.adoc[] | ||
[preface] | ||
* xref:00_preface/01_introduction.adoc[] | ||
* xref:01_scope/01_scope.adoc[] | ||
* xref:02_normative_references/01_normative_references.adoc[] | ||
* xref:03_terms_and_definitions/01_terms_and_definitions.adoc[] | ||
* xref:04_abbreviations/01_abbreviations.adoc[] | ||
* xref:05_backward_compatibility/01_backward_compatibility.adoc[] | ||
[appendix] | ||
* xref:xx_annexes/REPLACE_ME.adoc[] | ||
[bibliography] | ||
* xref:bibliography.adoc[] | ||
:sectnums!: | ||
* xref:list_of_figures.adoc[] | ||
|
||
:sectnums!: | ||
* xref:list_of_tables.adoc[] | ||
|
||
// TODO Replace with generator |
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 @@ | ||
../../../doc |
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
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,52 @@ | ||
|
||
// This file contains AsciiDoc attributes that shall be used in every AsciiDoc file. | ||
// NOTE: Its content is only applied for Asciidoctor! | ||
// If the same attribute is defined in the antora.yml (without @), the antora.yml definition takes precedence for Antora. | ||
|
||
ifndef::root-path[:root-path: ./] | ||
|
||
:partials-path: {root-path}../_additional_content | ||
:appendix-caption: Annex | ||
|
||
// ifndef::use-antora-rules,include-only-once[] | ||
ifndef::include-only-once[] | ||
:GLO_VAR_STA_ASAM_OpenCRG: ASAM OpenCRG | ||
:glo_var_sta_asam_opencrg: {GLO_VAR_STA_ASAM_OpenCRG} | ||
:GLO_VAR_STA_ASAM_OpenDRIVE: ASAM OpenDRIVE | ||
:GLO_VAR_STA_ASAM_OpenLABEL: ASAM OpenLABEL | ||
:GLO_VAR_STA_ASAM_OpenODD: ASAM OpenODD | ||
:GLO_VAR_STA_ASAM_OSI: ASAM OSI® | ||
:GLO_VAR_STA_ASAM_OpenSCENARIO: ASAM OpenSCENARIO | ||
:GLO_VAR_STA_ASAM_OpenXOntology: ASAM OpenXOntology | ||
:GLO_VAR_STA_BSI_PAS_1883: BSI PAS 1883 | ||
:revnumber: --localbuild-- | ||
:revdate: {docdate} | ||
:bibtex-file: ./content/general_docs/bibliography.bib | ||
// Replace PLACEHOLDER with the name of your standard, e.g. OpenDRIVE | ||
:THIS_STANDARD: {GLO_VAR_STA_ASAM_OSI} | ||
:asam-terminology: https://code.asam.net/common/asam-terminology/-/raw/main/terms_and_definitions_opendrive.adoc | ||
:imagesdir: {root-path}/images | ||
:include-only-once: true | ||
:topicdir: topics | ||
:reusedir: reuse | ||
:toclevels: 3 | ||
:xrefstyle: full | ||
:images_open_simulation_interface: ./open-simulation-interface/doc/images | ||
// :images_osi-sensor-model-packaging: ./osi-sensor-model-packaging/doc/images | ||
:doc_open_simulation_interface: ../../open-simulation-interface/doc/ | ||
:doc_osi-sensor-model-packaging: ../../osi-sensor-model-packaging/doc/ | ||
// Since a document spanning multiple repos is rendered here, the pathing regarding images is a bit involved. | ||
// We create a variable for every repo that is included. It point to the repo in question. | ||
// If the subrepo is rendered seperatly, then the variable is set to just "./images" with ifdef. | ||
// Please note that this variable has to used in all image includes. Includes here have to use "image::./images..." | ||
// :images_osi_sensor_model_packaging: ./osi-sensor-model-packaging/doc/images // example | ||
:imagesoutdir: ./images/generated_images | ||
:page-feedbackurl: https://github.com/OpenSimulationInterface/osi-sensor-model-packaging/issues/new | ||
|
||
|
||
endif::[] | ||
|
||
|
||
ifdef::env-gitlab[] | ||
:relfilesuffix: .adoc | ||
endif::[] |
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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,3 @@ | ||
@ECHO OFF | ||
docker-compose up -d | ||
PAUSE |
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,8 @@ | ||
version: "2" | ||
|
||
services: | ||
asciidoctor: | ||
image: asciidoctor/docker-asciidoctor | ||
volumes: | ||
- ../:/documents | ||
entrypoint: asciidoctor --failure-level WARN -r asciidoctor-kroki -a mathjax -r asciidoctor-bibtex --trace content/index.adoc -o local_build_tools/HTML_content_local_build.html |
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,13 @@ | ||
@ECHO OFF | ||
SET Targetpath=..\.antora\modules\sensor-model | ||
SET Symlinkroot=..\..\.. | ||
|
||
@REM mklink /D %Targetpath%\images %Symlinkroot%\doc\images | ||
|
||
mklink /D %Targetpath%\pages %Symlinkroot%\doc | ||
|
||
@REM mklink /D %Targetpath%\partials %Symlinkroot%\_additional_content | ||
|
||
@REM mklink /D %Targetpath%\attachments %Symlinkroot%\_attachments | ||
|
||
PAUSE |