Skip to content

Commit

Permalink
Merge pull request #112 from ndw/update-metadata
Browse files Browse the repository at this point in the history
Update metadata
  • Loading branch information
ndw committed Nov 13, 2014
2 parents 7aee370 + 0e9e11b commit 8f7d461
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 8 deletions.
5 changes: 0 additions & 5 deletions Makefile
Expand Up @@ -17,7 +17,6 @@ xproc20:
cp langspec/xproc20/diff.html build/langspec/xproc20/
cp langspec/xproc20/changelog.xml build/langspec/xproc20/
cp langspec/xproc20/changelog.html build/langspec/xproc20/
cp langspec/xproc20/.htaccess build/langspec/xproc20/
cd langspec/xproc20 && tar cf - graphics \
| (cd ../../build/langspec/xproc20; tar xf -)
cp style/xproc.css build/langspec/xproc20/
Expand All @@ -35,28 +34,24 @@ xproc20:
cp langspec/xproc20-steps/diff.html build/langspec/xproc20-steps/
cp langspec/xproc20-steps/changelog.xml build/langspec/xproc20-steps/
cp langspec/xproc20-steps/changelog.html build/langspec/xproc20-steps/
cp langspec/xproc20-steps/.htaccess build/langspec/xproc20-steps/
cp style/xproc.css build/langspec/xproc20-steps/
cp js/prism.js build/langspec/xproc20-steps/
@echo ==================================================
cp build/langspec/xproc20/base.css build/langspec/ns-p/
cp langspec/ns-p/Overview.html build/langspec/ns-p/index.html
cp langspec/ns-p/,xproc.xml build/langspec/ns-p/ns-p.xml
cp langspec/xproc20/.htaccess build/langspec/ns-p/
cp style/xproc.css build/langspec/ns-p/
cp js/prism.js build/langspec/ns-p/
@echo ==================================================
cp build/langspec/xproc20/base.css build/langspec/ns-c/
cp langspec/ns-c/Overview.html build/langspec/ns-c/index.html
cp langspec/ns-c/,xproc-step.xml build/langspec/ns-c/ns-c.xml
cp langspec/xproc20/.htaccess build/langspec/ns-c/
cp style/xproc.css build/langspec/ns-c/
cp js/prism.js build/langspec/ns-c/
@echo ==================================================
cp build/langspec/xproc20/base.css build/langspec/ns-err/
cp langspec/ns-err/Overview.html build/langspec/ns-err/index.html
cp langspec/ns-err/,xproc-error.xml build/langspec/ns-err/ns-err.xml
cp langspec/xproc20/.htaccess build/langspec/ns-err/
cp style/xproc.css build/langspec/ns-err/
cp js/prism.js build/langspec/ns-err/

Expand Down
1 change: 0 additions & 1 deletion langspec/xproc20-steps/.htaccess

This file was deleted.

1 change: 0 additions & 1 deletion langspec/xproc20/.htaccess

This file was deleted.

1 change: 1 addition & 0 deletions style/dbspec.xsl
Expand Up @@ -30,6 +30,7 @@
<xsl:param name="travis-build-number" select="''" as="xs:string"/>
<xsl:param name="travis-user" select="''" as="xs:string"/>
<xsl:param name="travis-repo" select="''" as="xs:string"/>
<xsl:param name="travis-branch" select="''" as="xs:string"/>
<xsl:param name="auto-diff" select="''" as="xs:string"/>

<xsl:param name="syntax.highlight.map" as="element()*">
Expand Down
26 changes: 25 additions & 1 deletion style/docbook.xsl
Expand Up @@ -173,7 +173,7 @@
<xsl:value-of select="format-dateTime($dtz, '[H01]:[m01]&#160;UTC')"/>
<xsl:if test="$travis-build-number != ''">
<xsl:text> (</xsl:text>
<a href="https://github.com/{$travis-user}//{$travis-repo}/commit/{$travis-commit}">
<a href="https://github.com/{$travis-user}/{$travis-repo}/commit/{$travis-commit}">
<xsl:text>build </xsl:text>
<xsl:value-of select="$travis-build-number"/>
</a>
Expand Down Expand Up @@ -269,6 +269,30 @@
</xsl:if>
</dd>
</xsl:for-each>

<dt>Repository:</dt>
<dd>
<a href="http://github.com/{$travis-user}/{$travis-repo}">
<xsl:text>This specification on GitHub</xsl:text>
</a>
</dd>
<dd>
<a href="http://github.com/xproc/specification/issues">
<xsl:text>Report an issue</xsl:text>
</a>
</dd>

<dt>Changes:</dt>
<xsl:if test="$auto-diff != ''">
<dd>
<a href="diff.html">Diff against current “status quo” draft</a>
</dd>
</xsl:if>
<dd>
<a href="http://github.com/{$travis-user}/{$travis-repo}/commits/{$travis-branch}">
<xsl:text>Commits for this specification</xsl:text>
</a>
</dd>
</dl>

<xsl:apply-templates
Expand Down
4 changes: 4 additions & 0 deletions style/formatspec.xpl
Expand Up @@ -41,6 +41,10 @@
select="substring-after(
/c:result/c:env[@name='TRAVIS_REPO_SLUG']/@value,
'/')"/>
<p:with-param name="travis-branch"
select="substring-after(
/c:result/c:env[@name='TRAVIS_BRANCH']/@value,
'/')"/>
<p:with-param name="auto-diff"
select="string((/c:result/c:env[@name='DELTA_BASE' or @name='DELTA_LOCAL'])[1]/@value)"/>
</dbp:docbook>
Expand Down

0 comments on commit 8f7d461

Please sign in to comment.