Skip to content

Commit

Permalink
Repaired broken path logic in docs generation (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
wendellpiez authored and david-waltermire committed Jun 4, 2019
1 parent 39f9168 commit 6816cda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build/ci-cd/generate-model-documentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 0 additions & 1 deletion build/metaschema/xml/produce-and-run-either-documentor.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
</xsl:variable>

<xsl:template match="/">
<!--<xsl:message expand-text="true"> { resolve-uri($result-path, document-uri(/)) }</xsl:message>-->
<xsl:result-document href="{$result-path}/{ $metaschema-code }.html" method="xhtml">

<xsl:call-template name="yaml-header">
Expand Down

0 comments on commit 6816cda

Please sign in to comment.