[gtk-web/new-website] Fix links to files in GitLab



commit 4a37e2a5f819b3868981a550e499b2614830c6a1
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Jan 29 17:15:25 2020 +0100

    Fix links to files in GitLab
    
    The `blob` token is a GitHub-ism.

 _data/navigation.yml            | 2 +-
 _layouts/documentation.html     | 6 +++---
 collections/_docs/javascript.md | 2 +-
 collections/_pages/docs.html    | 2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/_data/navigation.yml b/_data/navigation.yml
index b56e54a..1e4690b 100644
--- a/_data/navigation.yml
+++ b/_data/navigation.yml
@@ -42,7 +42,7 @@ menu_links:
     footer: true
     section: Community
   - name: License
-    href: https://gitlab.gnome.org/GNOME/gtk/blob/master/COPYING/
+    href: https://gitlab.gnome.org/GNOME/gtk/tree/master/COPYING/
     header: false
     footer: true
     section: Project
diff --git a/_layouts/documentation.html b/_layouts/documentation.html
index cde0e66..5139765 100644
--- a/_layouts/documentation.html
+++ b/_layouts/documentation.html
@@ -67,10 +67,10 @@ any changes made to this file will affect all the documentation pages
           {% assign page_name = page.path | split: '/' %}
           {% assign page_name = page_name.last %}
           <i class="fas fa-edit text-info fa-fw pr-2"></i>
-          <span>Observed a typo or some missing information, edit this page <a href="{{ site.website_repo | 
append: 'blob/master/collections/_docs/' | append: page_name }}">here</a>.</span>
+          <span>Observed a typo or some missing information, edit this page <a href="{{ site.website_repo | 
append: '/tree/master/collections/_docs/' | append: page_name }}">here</a>.</span>
           <br>
           <i class="fas fa-plus-square text-info fa-fw pr-2"></i>
-          <span>Read on <a href="{{ site.website_repo | append: 'blob/master/CONTRIBUTING.md/' }}">how to 
contribute</a> to this website.</span>
+          <span>Read on <a href="{{ site.website_repo | append: '/tree/master/CONTRIBUTING.md/' }}">how to 
contribute</a> to this website.</span>
         </div>
       </div>
     </div>
@@ -101,4 +101,4 @@ any changes made to this file will affect all the documentation pages
   });
 </script>
 
-{% include footer.html %}
\ No newline at end of file
+{% include footer.html %}
diff --git a/collections/_docs/javascript.md b/collections/_docs/javascript.md
index 070f549..257b713 100644
--- a/collections/_docs/javascript.md
+++ b/collections/_docs/javascript.md
@@ -51,7 +51,7 @@ This code depicts how to use GJS and GTK together for creating a simple Hello Wo
 
 ## Contribute
 
-If you are interested in contributing to the GJS project, read the instructions on how to get started for 
contributing to GJS in the [contributing 
guide](https://gitlab.gnome.org/GNOME/gjs/blob/master/CONTRIBUTING.md).
+If you are interested in contributing to the GJS project, read the instructions on how to get started for 
contributing to GJS in the [contributing 
guide](https://gitlab.gnome.org/GNOME/gjs/tree/master/CONTRIBUTING.md).
 
 If you want to get in touch with the original source files, you can visit the project's [git 
repository](https://gitlab.gnome.org/GNOME/gjs/) on Gitlab.
 
diff --git a/collections/_pages/docs.html b/collections/_pages/docs.html
index 4da5739..8f075d7 100644
--- a/collections/_pages/docs.html
+++ b/collections/_pages/docs.html
@@ -89,7 +89,7 @@ docs_list:
           <a href="https://developer.gnome.org/howdoi"; target="_blank" class="d-flex py-3 px-3 
text-decoration-none text-dark border rounded shadow-sm-hover bg-light-hover justify-content-between 
align-items-center mb-2">How do I…?<i class="fas fa-chevron-circle-right text-info"></i></a>
           <a href="https://developer.gnome.org/gtk3/stable/gtk-question-index.html"; target="_blank" 
class="d-flex py-3 px-3 text-decoration-none text-dark border rounded shadow-sm-hover bg-light-hover 
justify-content-between align-items-center mb-2">Frequently asked question sections<i class="fas 
fa-chevron-circle-right text-info"></i></a>
           <a href="https://developer.gnome.org/gtk3/stable/ch01s04.html"; target="_blank" class="d-flex py-3 
px-3 text-decoration-none text-dark border rounded shadow-sm-hover bg-light-hover justify-content-between 
align-items-center mb-2">Creating your first application<i class="fas fa-chevron-circle-right 
text-info"></i></a>
-          <a href="https://gitlab.gnome.org/GNOME/gtk/blob/master/CONTRIBUTING.md"; target="_blank" 
class="d-flex py-3 px-3 text-decoration-none text-dark border rounded shadow-sm-hover bg-light-hover 
justify-content-between align-items-center mb-2">Your first contribution to GTK<i class="fas 
fa-chevron-circle-right text-info"></i></a>
+          <a href="https://gitlab.gnome.org/GNOME/gtk/tree/master/CONTRIBUTING.md"; target="_blank" 
class="d-flex py-3 px-3 text-decoration-none text-dark border rounded shadow-sm-hover bg-light-hover 
justify-content-between align-items-center mb-2">Your first contribution to GTK<i class="fas 
fa-chevron-circle-right text-info"></i></a>
           <a href="https://wiki.gnome.org/Projects/GTK/BestPractices"; target="_blank" class="d-flex py-3 
px-3 text-decoration-none text-dark border rounded shadow-sm-hover bg-light-hover justify-content-between 
align-items-center mb-2">Learn about GTK's best practices<i class="fas fa-chevron-circle-right 
text-info"></i></a>
         </div>
       </div>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]