Skip to content

Commit

Permalink
Deploying to gh-pages from @ 0fa238a 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
jkterry1 committed Nov 12, 2024
1 parent f4cd244 commit 23a1da8
Show file tree
Hide file tree
Showing 12 changed files with 99 additions and 81 deletions.
2 changes: 1 addition & 1 deletion main/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 9d7ba9002136fbab70063d08bcdbb6b3
config: 50b4c9b7c85c631e3ba7136267120343
tags: d77d1c0d9ca2f4c8421862c7c5a0d620
38 changes: 28 additions & 10 deletions main/_static/versioning/versioning_menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,15 +122,33 @@
});

const sortVersions = (a, b) => {
// Alpha versions
if (a.includes("a")) return 1;
if (b.includes("a")) return -1;
if (a.replace("v", "") > b.replace("v", ""))
return -1
else if (a.replace("v", "") < b.replace("v", ""))
return 1
else
return 0
const innerA = a.replace("v", "");
const innerB = b.replace("v", "");

if (innerA.match(/[a-z]/) && !innerB.match(/[a-z]/)) return 1;
if (!innerA.match(/[a-z]/) && innerB.match(/[a-z]/)) return -1;

const splittedInnerA = innerA.split("");
const splittedInnerB = innerB.split("");

while (splittedInnerA.length && splittedInnerB.length) {
const charA = splittedInnerA.shift();
const charB = splittedInnerB.shift();

if (charA === charB) continue;
else if (charA === ".") return 1;
else if (charB === ".") return -1;
else if (charA.match(/[0-9]/) && charB.match(/[0-9]/)) {
return Number(charB) - Number(charA);
} else {
if (charA < charB) return 1;
else if (charA > charB) return -1;
else return 0;
}
}
if (innerA < innerB) return 1;
else if (innerA > innerB) return -1;
else return 0;
}

if ((githubUser !== null && githubUser !== "") || (repo !== null && repo !== "")) {
Expand Down Expand Up @@ -204,4 +222,4 @@
console.error("Invalid versioning configuration");
}
</script>
</div>
</div>
14 changes: 13 additions & 1 deletion main/environments/atari/basketball_pong/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,19 @@ <h2>API<a class="headerlink" href="#api" title="Link to this heading">¶</a></h2
<use href="#svg-arrow-right"></use>
</svg>
</a>

<a class="prev-page" href="../">
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
<div class="page-info">
<div class="context">
<span>Previous</span>
</div>

<div class="title">Atari</div>

</div>
</a>
</div>
<div class="bottom-of-page">
<div class="left-details">
Expand Down
14 changes: 1 addition & 13 deletions main/environments/atari/entombed_competitive/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -594,19 +594,7 @@ <h2>API<a class="headerlink" href="#api" title="Link to this heading">¶</a></h2
<use href="#svg-arrow-right"></use>
</svg>
</a>
<a class="prev-page" href="../double_dunk/">
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
<div class="page-info">
<div class="context">
<span>Previous</span>
</div>

<div class="title">Double Dunk</div>

</div>
</a>

</div>
<div class="bottom-of-page">
<div class="left-details">
Expand Down
12 changes: 1 addition & 11 deletions main/environments/atari/entombed_cooperative/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -591,17 +591,7 @@ <h2>API<a class="headerlink" href="#api" title="Link to this heading">¶</a></h2
<footer>

<div class="related-pages">
<a class="next-page" href="../flag_capture/">
<div class="page-info">
<div class="context">
<span>Next</span>
</div>
<div class="title">Flag Capture</div>
</div>
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
</a>

<a class="prev-page" href="../entombed_competitive/">
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
Expand Down
12 changes: 11 additions & 1 deletion main/environments/atari/tennis/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,17 @@ <h2>API<a class="headerlink" href="#api" title="Link to this heading">¶</a></h2
<footer>

<div class="related-pages">

<a class="next-page" href="../video_checkers/">
<div class="page-info">
<div class="context">
<span>Next</span>
</div>
<div class="title">Video Checkers</div>
</div>
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
</a>
<a class="prev-page" href="../surround/">
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
Expand Down
14 changes: 1 addition & 13 deletions main/environments/butterfly/knights_archers_zombies/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -712,19 +712,7 @@ <h2>API<a class="headerlink" href="#api" title="Link to this heading">¶</a></h2
<use href="#svg-arrow-right"></use>
</svg>
</a>
<a class="prev-page" href="../cooperative_pong/">
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
<div class="page-info">
<div class="context">
<span>Previous</span>
</div>

<div class="title">Cooperative Pong</div>

</div>
</a>

</div>
<div class="bottom-of-page">
<div class="left-details">
Expand Down
14 changes: 13 additions & 1 deletion main/environments/butterfly/pistonball/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,19 @@ <h2>API<a class="headerlink" href="#api" title="Link to this heading">¶</a></h2
<use href="#svg-arrow-right"></use>
</svg>
</a>

<a class="prev-page" href="../knights_archers_zombies/">
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
<div class="page-info">
<div class="context">
<span>Previous</span>
</div>

<div class="title">Knights Archers Zombies (‘KAZ’)</div>

</div>
</a>
</div>
<div class="bottom-of-page">
<div class="left-details">
Expand Down
14 changes: 13 additions & 1 deletion main/environments/mpe/simple_push/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,19 @@ <h2>API<a class="headerlink" href="#api" title="Link to this heading">¶</a></h2
<use href="#svg-arrow-right"></use>
</svg>
</a>

<a class="prev-page" href="../simple_crypto/">
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
<div class="page-info">
<div class="context">
<span>Previous</span>
</div>

<div class="title">Simple Crypto</div>

</div>
</a>
</div>
<div class="bottom-of-page">
<div class="left-details">
Expand Down
14 changes: 1 addition & 13 deletions main/environments/mpe/simple_spread/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -527,19 +527,7 @@ <h2>API<a class="headerlink" href="#api" title="Link to this heading">¶</a></h2
<use href="#svg-arrow-right"></use>
</svg>
</a>
<a class="prev-page" href="../simple_speaker_listener/">
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
<div class="page-info">
<div class="context">
<span>Previous</span>
</div>

<div class="title">Simple Speaker Listener</div>

</div>
</a>

</div>
<div class="bottom-of-page">
<div class="left-details">
Expand Down
16 changes: 7 additions & 9 deletions main/environments/sisl/pursuit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -592,20 +592,18 @@ <h2>API<a class="headerlink" href="#api" title="Link to this heading">¶</a></h2
<footer>

<div class="related-pages">

<a class="prev-page" href="../multiwalker/">
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
<a class="next-page" href="../waterworld/">
<div class="page-info">
<div class="context">
<span>Previous</span>
<span>Next</span>
</div>

<div class="title">Multiwalker</div>

<div class="title">Waterworld</div>
</div>
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
</a>

</div>
<div class="bottom-of-page">
<div class="left-details">
Expand Down
16 changes: 9 additions & 7 deletions main/environments/sisl/waterworld/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -709,18 +709,20 @@ <h2>API<a class="headerlink" href="#api" title="Link to this heading">¶</a></h2
<footer>

<div class="related-pages">
<a class="next-page" href="../../third_party_envs/">

<a class="prev-page" href="../pursuit/">
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
<div class="page-info">
<div class="context">
<span>Next</span>
<span>Previous</span>
</div>
<div class="title">Third-Party Environments</div>

<div class="title">Pursuit</div>

</div>
<svg class="furo-related-icon">
<use href="#svg-arrow-right"></use>
</svg>
</a>

</div>
<div class="bottom-of-page">
<div class="left-details">
Expand Down

0 comments on commit 23a1da8

Please sign in to comment.