From 58a7859deec3275fa941076a9c8a001a7fb65f2e Mon Sep 17 00:00:00 2001 From: s-ol Date: Mon, 16 Mar 2020 10:16:30 +0100 Subject: switch repo docs to github --- core/version.moon | 8 ++++++-- docs/guide.md | 4 ++-- docs/style.css | 5 +++-- extra/git-version.sh | 4 ++++ extra/layout.moon | 2 +- 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 < "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' } -- cgit v1.2.3