aboutsummaryrefslogtreecommitdiffstats
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-rwxr-xr-xextra/git-version.sh4
-rw-r--r--extra/layout.moon2
2 files changed, 5 insertions, 1 deletions
diff --git a/extra/git-version.sh b/extra/git-version.sh
index 1c90d8c..c2ffe06 100755
--- a/extra/git-version.sh
+++ b/extra/git-version.sh
@@ -15,9 +15,13 @@ cat <<EOF
-- @tfield string tag the last versions git tag
-- @tfield string rev_short the short git revision hash
-- @tfield string rev_long the full git revision hash
+-- @tfield string repo the git repo URL
+-- @tfield string web the repo web URL
{
tag: "${TAG}"
rev_short: "${REV_SHORT}"
rev_long: "${REV_LONG}"
+ repo: "https://github.com/s-ol/alivecoding.git"
+ web: "https://github.com/s-ol/alivecoding/tree/${TAG}"
}
EOF
diff --git a/extra/layout.moon b/extra/layout.moon
index dfc8116..70d9848 100644
--- a/extra/layout.moon
+++ b/extra/layout.moon
@@ -89,7 +89,7 @@ layout = (opts) ->
"alive documentation"
foot = footer div {
'alive '
- a (code v.tag), href: "https://git.s-ol.nu/alivecoding/#{v.tag}"
+ a (code v.tag), href: v.web
', generated '
os.date '!%Y-%m-%d %T'
}