From bb881df7bb17ce997de0c37d2ac31b9ee749d745 Mon Sep 17 00:00:00 2001 From: Kilari Teja Date: Thu, 24 May 2018 23:50:56 +0530 Subject: [PATCH] Fix wiki link template Fixes #5 --- docker/etc/nginx/shortlinks.conf | 10 +++++----- templates/url_builder.jj2 | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docker/etc/nginx/shortlinks.conf b/docker/etc/nginx/shortlinks.conf index ffcc06e..844125b 100644 --- a/docker/etc/nginx/shortlinks.conf +++ b/docker/etc/nginx/shortlinks.conf @@ -25,11 +25,11 @@ location /cep14 { return 301 https://github.com/coala/cEPs/blob/master/cEP-0014. location /coc { return 301 https://github.com/coala/cEPs/blob/master/cEP-0006.md; } location /tutorial { return 301 https://docs.coala.io/en/latest/Users/Tutorial.html; } location /writingbears { return 301 https://api.coala.io/en/latest/Developers/Writing_Native_Bears.html; } -location /channels { return 301 https://github.com/coala/repo/wiki/Communication-Channels; } +location /channels { return 301 https://github.com/coala/coala/wiki/Communication-Channels; } location /newform { return 301 https://docs.google.com/forms/d/e/1FAIpQLSd7g_MU_c-BMQ62WHeznrvcoXwqW87O_Wq4Gz7-pp8PJ38Wdg/viewform; } -location /projects { return 301 https://github.com/coala/repo/wiki/Project-Ideas; } +location /projects { return 301 https://github.com/coala/coala/wiki/Project-Ideas; } location /reviewsprint { return 301 https://docs.google.com/forms/d/e/1FAIpQLSd4vHafTyY4RW--fOyIVecBM0WKNEeF-RyFvUn83jCF9ou2tg/viewform; } -location /reply { return 301 https://github.com/coala/repo/wiki/Reply-Templates; } +location /reply { return 301 https://github.com/coala/coala/wiki/Reply-Templates; } location /linespots { return 301 https://gitlab.com/sims1253/Linespots; } location /usability { return 301 https://docs.google.com/forms/d/e/1FAIpQLSe9lZxuYEKlvxXzQUOTwrre3CQMNsks7eOzEl49_2q5vlDl0w/viewform; } location /starwars { return 301 https://www.youtube.com/watch?v=JWVCMjKU_10; } @@ -37,9 +37,9 @@ location /docs { return 301 https://docs.coala.io; } location /api { return 301 https://api.coala.io; } location /viperform { return 301 https://docs.google.com/forms/d/e/1FAIpQLSdtdIF5CLnO2erAc41yLRoEvUMXyt3ZWUOVJ5LSqpwZEYF03A/viewform; } location /romania { return 301 https://www.bigmarker.com/remote-meetup/Open-Source-and-Google-Summer-of-Code-8-Gorgeous-Short-Presentations; } -location /thesis { return 301 https://github.com/coala/repo/wiki/Writing-a-Thesis-with-coala; } +location /thesis { return 301 https://github.com/coala/coala/wiki/Writing-a-Thesis-with-coala; } location /install { return 301 https://docs.coala.io/en/latest/Users/Install.html; } -location /comania { return 301 https://github.com/coala/repo/wiki/Hackathon-comania; } +location /comania { return 301 https://github.com/coala/coala/wiki/Hackathon-comania; } location /pizza { return 301 https://docs.google.com/forms/d/e/1FAIpQLSdt_zc_bgAE6vqTypSBnWk240AEnhCE7NBmpU1nLnFBuaivqA/viewform; } location /help { return 301 https://api.coala.io/en/latest/Developers/coala_settings.html; } location /devsetup { return 301 https://api.coala.io/en/latest/Developers/Development_Setup.html; } diff --git a/templates/url_builder.jj2 b/templates/url_builder.jj2 index 5ffb69d..e8668fc 100644 --- a/templates/url_builder.jj2 +++ b/templates/url_builder.jj2 @@ -43,7 +43,7 @@ {%- endmacro %} {% macro wiki(page) -%} - {{ github_wiki("coala", "repo", page) }} + {{ github_wiki("coala", "coala", page) }} {%- endmacro %} {% macro get_url(sl) %} -- GitLab