diff --git a/docs/src/_static/js/github.js b/docs/src/_static/js/github.js deleted file mode 100644 index 5ecc698e8c5ccecb694aef7abf92bd63ab0ebd86..0000000000000000000000000000000000000000 --- a/docs/src/_static/js/github.js +++ /dev/null @@ -1,26 +0,0 @@ -jQuery(function(){ - var github_v3_endpoint = "https://api.github.com/orgs/ska-telescope/repos"; - var list = $("#list-of-projects > ul"); - if( list.length ){ - list.empty(); - $.getJSON(github_v3_endpoint, function(data){ - $.each(data, function(key, val){ - //console.log(val); - if(val["description"]) - description = val["description"]; - else - description = ""; - item = "<li><a href=\"" + - val["html_url"] + - "\">" + - val["name"] + - "</a> " + - description + - "</li>"; - $(item).appendTo(list); - }); //end each - }); //end getJSON - }else{ //if list not found - //console.log("list not found") - } -}); diff --git a/docs/src/_static/js/gitlab.js b/docs/src/_static/js/gitlab.js new file mode 100644 index 0000000000000000000000000000000000000000..bb4314df157ff2a5b3508cfa91c6cc8bac4cc9b1 --- /dev/null +++ b/docs/src/_static/js/gitlab.js @@ -0,0 +1,10 @@ +jQuery(function(){ + var ci_dashboard = "https://ska-telescope.gitlab.io/ska_ci_dashboard/"; + var dashboard_table = $("#ci-dashboard > table"); + if( dashboard_table.length ){ + $.get(ci_dashboard, function(data){ + dashboard_table.html($(data).find("#dataTable")); + }); + } +}); +