File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -206,7 +206,7 @@ function addVersion(repo) {
206206 const version_image = document . createElement ( 'img' ) ;
207207 version_image . setAttribute (
208208 'src' ,
209- 'https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2F' + repo . name + '%2Fgh-pages %2Fbadgedata%2Ffst-version.json&label=V'
209+ 'https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2F' + repo . name + '%2Fmain%2Fdocs %2Fbadgedata%2Ffst-version.json&label=V'
210210 ) ;
211211 version_image . setAttribute ( 'alt' , 'FST Version' ) ;
212212 row_version . appendChild ( version_image ) ;
@@ -218,7 +218,7 @@ function addLemmaCount(repo) {
218218 const lemma_image = document . createElement ( 'img' ) ;
219219 lemma_image . setAttribute (
220220 'src' ,
221- 'https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2F' + repo . name + '%2Fgh-pages %2Fbadgedata%2Ffst-lemmacount.json&label=L'
221+ 'https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2F' + repo . name + '%2Fmain%2Fdocs %2Fbadgedata%2Ffst-lemmacount.json&label=L'
222222 ) ;
223223 lemma_image . setAttribute ( 'alt' , 'Lemma Count' ) ;
224224 row_lemmas . appendChild ( lemma_image ) ;
Original file line number Diff line number Diff line change 77
88async function fetchBadgeData ( repo , badgeFile ) {
99 try {
10- const url = `https://raw.githubusercontent.com/giellalt/${ repo . name } /gh-pages /badgedata/${ badgeFile } ` ;
10+ const url = `https://raw.githubusercontent.com/giellalt/${ repo . name } /main/docs /badgedata/${ badgeFile } ` ;
1111 const response = await fetch ( url ) ;
1212 if ( ! response . ok ) {
1313 return null ;
@@ -245,7 +245,7 @@ function addSpellerVersion(repo) {
245245 const version_image = document . createElement ( 'img' ) ;
246246 version_image . setAttribute (
247247 'src' ,
248- 'https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2F' + repo . name + '%2Fgh-pages %2Fbadgedata%2Fspeller-version.json&label=V'
248+ 'https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2F' + repo . name + '%2Fmain%2Fdocs %2Fbadgedata%2Fspeller-version.json&label=V'
249249 ) ;
250250 version_image . setAttribute ( 'alt' , 'Speller version' ) ;
251251 row_version . appendChild ( version_image ) ;
@@ -259,7 +259,7 @@ function addSpellerSuggQuality(repo) {
259259 const sugg_image = document . createElement ( 'img' ) ;
260260 sugg_image . setAttribute (
261261 'src' ,
262- 'https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2F' + repo . name + '%2Fgh-pages %2Fbadgedata%2Fspeller-suggestions.json&label=S'
262+ 'https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2F' + repo . name + '%2Fmain%2Fdocs %2Fbadgedata%2Fspeller-suggestions.json&label=S'
263263 ) ;
264264 sugg_image . setAttribute ( 'alt' , 'Suggestion Quality' ) ;
265265 sugg_link . appendChild ( sugg_image ) ;
You can’t perform that action at this time.
0 commit comments