aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authors-ol <s-ol@users.noreply.github.com>2020-03-16 09:16:30 +0000
committers-ol <s-ol@users.noreply.github.com>2020-03-16 09:16:30 +0000
commit58a7859deec3275fa941076a9c8a001a7fb65f2e (patch)
tree29a94a98ad90ec0f12c1bca98bda385cef881e21
parentadd Input spec (diff)
downloadalive-58a7859deec3275fa941076a9c8a001a7fb65f2e.tar.gz
alive-58a7859deec3275fa941076a9c8a001a7fb65f2e.zip
switch repo docs to github
-rw-r--r--core/version.moon8
-rw-r--r--docs/guide.md4
-rw-r--r--docs/style.css5
-rwxr-xr-xextra/git-version.sh4
-rw-r--r--extra/layout.moon2
5 files changed, 16 insertions, 7 deletions
diff --git a/core/version.moon b/core/version.moon
index 1dbde05..e5a965c 100644
--- a/core/version.moon
+++ b/core/version.moon
@@ -8,8 +8,12 @@
-- @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: "v0.0"
- rev_short: "c1bf536"
- rev_long: "c1bf53627c894e4068aca5576d054803bc574a86"
+ rev_short: "23f893a"
+ rev_long: "23f893a1303b35e11d7103d892c40b7e8d209a06"
+ repo: "https://github.com/s-ol/alivecoding.git"
+ web: "https://github.com/s-ol/alivecoding/tree/v0.0"
}
diff --git a/docs/guide.md b/docs/guide.md
index 4b1fc64..7448fbd 100644
--- a/docs/guide.md
+++ b/docs/guide.md
@@ -40,7 +40,7 @@ required.
After installing the dependencies, you can clone the
[`alivecoding` repository][git] using git:
- $ git clone https://git.s-ol.nu/alivecoding.git
+ $ git clone https://github.com/s-ol/alivecoding.git
You should now be able to run `alive` from within the repository, but first, you
will need to create a file for it to run. Create an empty file in the text
@@ -446,5 +446,5 @@ them.
[max]: https://cycling74.com/products/max
[vvvv]: https://vvvv.org/
[luarocks]: https://github.com/luarocks/luarocks/#installing
-[git]: https://git.s-ol.nu/alivecoding
+[git]: https://github.com/s-ol/alivecoding
[reference]: reference/
diff --git a/docs/style.css b/docs/style.css
index e063e58..b9ef4a1 100644
--- a/docs/style.css
+++ b/docs/style.css
@@ -90,11 +90,12 @@ nav a {
}
nav > a {
- margin-left: 1rem;
+ margin-left: 0.6rem;
+ padding: 0.03em 0.2em;
text-decoration: none;
}
nav > a.active {
- text-decoration: underline;
+ background: #cccccc;
}
nav span a {
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'
}