This repo contains most of the general AsciiDoc-based part of the documentation. It contains generals parts of the content and a CI-pipeline that renders the document with Antora.
Note | The actual hosting has been moved to the generator repository (see link below). |
See the documentation here.
The documentation was originally licensed under the CC-BY-3.0 license. Starting with OSI version 3.8.0, it is additionally dual-licensed under the MPL-2.0 license used by all other parts of OSI to ensure harmonization. With the release of the major version OSI 4.0.0, the CC BY 3.0 license will be discontinued and removed.
Note | This pipeline runs on https://github.com/OpenSimulationInterface/osi-antora-generator. |
Important | These instructions relate ONLY to the Asciidoctor build. For Antora, check the ASAM OSI Antora generator. |
The following instructions show how to build the document locally. Take note that the document is built with a version 'localbuild' in the document and filename.
The instruction should work on Windows, Linux, and MacOS.
Precondition: have docker and docker-compose installed.
TipOfficial installation can be found here. Clone this repository with submodules.
git clone https://github.com/OpenSimulationInterface/osi-documentation.git git submodule update --init
Clone OSI and OSMP with submodules into the osi-documentation folder
cd osi-documentation git clone https://github.com/OpenSimulationInterface/open-simulation-interface.git git clone https://github.com/OpenSimulationInterface/osi-sensor-model-packaging.gitCheck file
docker-compose.ymlwith the following content:version: "2"services: asciidoctor: image: asciidoctor/docker-asciidoctor:1volumes: - .:/documentsworking_dir: /documentsentrypoint: asciidoctor -D . --failure-level WARN -r asciidoctor-bibtex -r asciidoctor-diagram -a mathjax --trace --backend=html5 index.adoc -o open-simulation-interface_localbuild.html
Run
docker-compose run asciidoctor
Result: Document is build as
open-simulation-interface_localbuild.htmlin the folder osi-documentation.