Skip to content

Commit

Permalink
Retry...
Browse files Browse the repository at this point in the history
  • Loading branch information
georgebina committed Oct 16, 2016
1 parent fdebb3a commit a2770c3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .travis/publish.sh
Expand Up @@ -93,8 +93,9 @@ USERNAME=`basename $PARENTDIR`
echo "====================================="
echo "publish"
echo "====================================="
mkdir out/simple
java -cp saxon9/saxon9he.jar:dita-ot-2.3.3/lib/xml-resolver-1.2.jar net.sf.saxon.Transform -xsl:publish/publish.xsl -it:main -catalog:dita-ot-2.3.3/catalog-dita.xml ghuser=$USERNAME ghproject=$REPONAME ghbranch=$TRAVIS_BRANCH oxygen-web-author=https://www.oxygenxml.com/webapp-demo-aws/app/oxygen.html
mkdir out/wiki/simple
mv out/wiki/*.html out/wiki/simple

MDTOPICS=`ls -1 wiki/*.md | sed -e 's/$/,/' | tr -d "\n" | sed -e 's/,$//'`

Expand Down
2 changes: 1 addition & 1 deletion publish/publish.xsl
Expand Up @@ -18,7 +18,7 @@
</xsl:template>

<xsl:template match="/">
<xsl:variable name="relativeLocation" select="concat('simple/', substring-after(document-uri(.), 'wiki/'))"/>
<xsl:variable name="relativeLocation" select="substring-after(document-uri(.), 'wiki/')"/>
<xsl:result-document href="out/{replace($relativeLocation, '.dita$', '.html')}" method="xhtml">
<xsl:apply-templates select="." mode="publish">
<xsl:with-param name="editURL"
Expand Down

0 comments on commit a2770c3

Please sign in to comment.