Skip to content

Commit

Permalink
Updated, rebuild with new license
Browse files Browse the repository at this point in the history
  • Loading branch information
ndw committed Jul 31, 2024
1 parent be13e69 commit 9ff1928
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ jobs:
folder: build/dist
token: ${{ secrets.ACCESS_TOKEN }}
branch: gh-pages
target-folder: /
target-folder: /dashboard
4 changes: 2 additions & 2 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ projectName=XProcDashboard
projectVersion=1.0.0

# The version of Saxon EE and Saxon JS to download.
saxonVersion=11.3
saxonJsVersion=2.4
saxonVersion=12.5
saxonJsVersion=2.6

# This option specifies the directory where your Saxon EE license
# resides. The default is ~/java.
Expand Down
2 changes: 1 addition & 1 deletion src/main/js/start.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
window.onload = function() {
document.querySelector("html").className = "js";

const webroot = "https://spec.xproc.org/";
const webroot = "https://spec.xproc.org";
SaxonJS.getResource({"location": `${webroot}dashboard.json`,
"type": "json"})
.then(config => {
Expand Down
6 changes: 4 additions & 2 deletions src/main/xsl/dashboard.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -463,7 +463,7 @@
<xsl:variable name="comm" select="map:get($ignore, $community)"/>
<xsl:if test="$comm instance of map(*)
and map:contains($comm, $repository)">
<xsl:sequence select="map:get($comm, $repository)?pulls ! xs:integer(.)"/>
<xsl:sequence select="array:flatten(map:get($comm, $repository)?pulls) ! xs:integer(.)"/>
</xsl:if>
</xsl:if>
</xsl:if>
Expand Down Expand Up @@ -535,7 +535,6 @@
|| $community || '/' || $repository || '/compare/'
|| ../@x-base || '...' || ../@x-head"/>


<ixsl:schedule-action
http-request="map {
'method': 'GET',
Expand Down Expand Up @@ -566,6 +565,9 @@
<xsl:variable name="files" select="array:flatten($body?files) ! .?filename"/>
<xsl:if test="exists($files)">
<h5>Changed files</h5>
<!-- It would be nice to link to the diffs for each file, but CORS
prevents us from reading the GitHub page and I have no idea
how to predict the fragment identifiers for each file. -->
<ul class="changed-files">
<xsl:for-each select="$files">
<li>{.}</li>
Expand Down

0 comments on commit 9ff1928

Please sign in to comment.