Skip to content

Commit d6e14d1

Browse files
authored
Merge pull request #1886 from b-studios/fix-contributors
Fix contributors listing in Scala 3 book
2 parents 1bdf5a4 + c5b7aac commit d6e14d1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

resources/js/functions.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,10 +509,12 @@ $(document).ready(function () {
509509
thisPageUrl = '_overviews/' + thisPageUrl.substring("tutorials/".length) + '.md';
510510
} else if(isInOverviewsFolder) {
511511
thisPageUrl = '_overviews/'+ thisPageUrl + '.md';
512+
} else if (thisPageUrl.startsWith('scala3/book')) {
513+
thisPageUrl = '_overviews/scala3-book/' + thisPageUrl.substring("scala3/book/".length) + '.md';
512514
} else {
513515
thisPageUrl = '_' + thisPageUrl + '.md';
514516
}
515-
517+
516518
let url = githubApiUrl + '?path=' + thisPageUrl;
517519
$.get(url, function (data, status) {
518520
if(!data || data.length < 1) {

0 commit comments

Comments
 (0)