Skip to content

Commit 7798c0e

Browse files
Fixed paths in _config.adoc for local previews
1 parent cbeb8f8 commit 7798c0e

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

doc/_config.adoc

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,11 @@
22
// This file contains AsciiDoc attributes that shall be used in every AsciiDoc file.
33
// NOTE: Its content is only applied for Asciidoctor!
44
// If the same attribute is defined in the antora.yml (without @), the antora.yml definition takes precedence for Antora.
5-
65
ifndef::root-path[:root-path: ./]
7-
86
:partials-path: {root-path}../_additional_content
97
:asciidoc-resources: ../../../asciidoc-resources
108
:appendix-caption: Annex
119
:page-feedbackurl: https://github.com/OpenSimulationInterface/open-simulation-interface/issues/new
12-
1310
// ifndef::use-antora-rules,include-only-once[]
1411
ifndef::include-only-once[]
1512
:GLO_VAR_STA_ASAM_OpenCRG: ASAM OpenCRG
@@ -27,13 +24,14 @@ ifndef::include-only-once[]
2724
// Replace PLACEHOLDER with the name of your standard, e.g. OpenDRIVE
2825
:THIS_STANDARD: {GLO_VAR_STA_ASAM_OSI}
2926
:asam-terminology: https://code.asam.net/common/asam-terminology/-/raw/main/terms_and_definitions_opendrive.adoc
30-
:imagesdir: {root-path}/images
27+
:imagesdir: {root-path}images
3128
:include-only-once: true
3229
:topicdir: topics
3330
:reusedir: reuse
3431
:toclevels: 3
3532
:xrefstyle: full
36-
:images_open_simulation_interface: {imagesdir}
33+
:images_open_simulation_interface: ../images
34+
:data-uri:
3735
// :images_osi-sensor-model-packaging: ./osi-sensor-model-packaging/doc/images
3836
:doc_open_simulation_interface: ../../open-simulation-interface/doc/
3937
:doc_osi-sensor-model-packaging: ../../osi-sensor-model-packaging/doc/
@@ -43,13 +41,10 @@ ifndef::include-only-once[]
4341
// Please note that this variable has to used in all image includes. Includes here have to use "image::./images..."
4442
// :images_osi_sensor_model_packaging: ./osi-sensor-model-packaging/doc/images // example
4543
:imagesoutdir: ./images/generated_images
46-
4744
endif::[]
48-
4945
ifndef::use-antora-rules[]
5046
include::{asciidoc-resources}/preamble.adoc[]
5147
endif::[]
52-
5348
ifdef::env-gitlab[]
5449
:relfilesuffix: .adoc
5550
endif::[]

0 commit comments

Comments
 (0)