From 790c1efa9a55f58dfc9832e3f5c0d7c25ac9f983 Mon Sep 17 00:00:00 2001
From: Dorchies David <david.dorchies@inrae.fr>
Date: Wed, 9 Mar 2022 15:41:38 +0100
Subject: [PATCH] docs(pkgdown): add github links, DOI and pipeline badges

---
 README.md    | 11 +++++++----
 _pkgdown.yml |  7 ++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/README.md b/README.md
index 6001998..479675b 100644
--- a/README.md
+++ b/README.md
@@ -1,9 +1,12 @@
 # <img src="man/figures/logo.png" align="right" height="80px"/>airGRiwrm: airGR based Integrated Water Resource Management R package
 
-![CRAN](https://www.r-pkg.org/badges/version-ago/airGRiwrm)
-[![License:
-AGPL-3](https://img.shields.io/badge/license-AGPL--3-orange.svg)](https://cran.r-project.org/web/licenses/AGPL-3)
-![Total downloads](https://cranlogs.r-pkg.org/badges/grand-total/airGRiwrm)
+<!-- badges: start -->
+[![CRAN](https://www.r-pkg.org/badges/version-ago/airGRiwrm)](https://cran.r-project.org/package=airGRiwrm)
+[![Total downloads](https://cranlogs.r-pkg.org/badges/grand-total/airGRiwrm)](https://cran.r-project.org/package=airGRiwrm)
+[![License: AGPL-3](https://img.shields.io/badge/license-AGPL--3-orange.svg)](https://cran.r-project.org/web/licenses/AGPL-3)
+[![DOI: 10.15454/3CVD1I](https://img.shields.io/badge/doi-10.15454%2F3CVD1I-purple)](https://doi.org/10.15454/3CVD1I)
+[![Dev check status](https://gitlab.irstea.fr/in-wop/airGRiwrm/badges/dev/pipeline.svg)](https://gitlab.irstea.fr/in-wop/airGRiwrm/-/pipelines)
+<!-- badges: end -->
 
 **airGRiwrm** is an extension of the **airGR** R package for managing semi-distributive hydrological model on an anthropized catchment.
 
diff --git a/_pkgdown.yml b/_pkgdown.yml
index 64986e7..d37bb4d 100644
--- a/_pkgdown.yml
+++ b/_pkgdown.yml
@@ -9,7 +9,7 @@ template:
 navbar:
   structure:
     left:  [home, intro, reference, articles, news, galaxy]
-    right: [gitlab]
+    right: [github, gitlab]
   components:
     intro:
       text: Get started
@@ -27,16 +27,13 @@ navbar:
         href: https://hydroGR.github.io/airGRteaching/
       - text: airGRteaching web app
         href: https://sunshine.irstea.fr/app/airGRteaching
-    github: ~
     gitlab:
       icon: fab fa-gitlab fa-lg
       href: https://gitlab.irstea.fr/in-wop/airGRiwrm
 
 repo:
   url:
-    home: https://gitlab.irstea.fr/in-wop/airGRiwrm
-    source: https://gitlab.irstea.fr/in-wop/airGRiwrm/-/tree/dev/
-    issue: https://gitlab.irstea.fr/in-wop/airGRiwrm/-/issues
+    home: https://github.com/inrae/airGRiwrm
 
 articles:
   - title: Quick start on the Severn River (UK)
-- 
GitLab