diff --git a/build/ci-cd/generate-model-documentation.sh b/build/ci-cd/generate-model-documentation.sh index 6c4dbf7ee8..bebe27443b 100644 --- a/build/ci-cd/generate-model-documentation.sh +++ b/build/ci-cd/generate-model-documentation.sh @@ -41,7 +41,8 @@ while IFS="|" read path gen_schema gen_converter gen_docs || [[ -n "$path" ]]; d base="${filename/_metaschema/}" converter="$working_dir/json/convert/${base}_xml-to-json-converter.xsl" metaschema_path=$(realpath --relative-to="$working_dir" "$metaschema") - converter_path=$(realpath --relative-to="$working_dir" "$converter") + stylesheet_dir=$(dirname "$stylesheet") + converter_path=$(realpath --relative-to="$stylesheet_dir" "$converter") #split on commas IFS=, read -a formats <<< "$gen_docs" diff --git a/build/metaschema/xml/produce-and-run-either-documentor.xsl b/build/metaschema/xml/produce-and-run-either-documentor.xsl index 03fe77769b..c0a4452713 100644 --- a/build/metaschema/xml/produce-and-run-either-documentor.xsl +++ b/build/metaschema/xml/produce-and-run-either-documentor.xsl @@ -55,7 +55,6 @@ -