Skip to content

Commit

Permalink
Deploying to gh-pages from @ e7d1930 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasAlegre committed Aug 24, 2023
1 parent 25e2c06 commit 902941e
Show file tree
Hide file tree
Showing 58 changed files with 4,512 additions and 2,239 deletions.
2 changes: 1 addition & 1 deletion .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: 019363aca7a9c8113600c22693e03999
config: 3a891adde30b5ba901ffe43c13cc84e7
tags: d77d1c0d9ca2f4c8421862c7c5a0d620
161 changes: 102 additions & 59 deletions 404.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<!doctype html>
<html class="no-js" lang="en">
<html class="no-js" lang="en" data-content_root="../">
<head><meta charset="utf-8"/>
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark">
<meta name="description" content="MO-Gymnasium is a standardized API and a suite of environments for multi-objective reinforcement learning (MORL)">
<meta property="og:title" content="MO-Gymnasium Documentation" />
<meta property="og:type" content="website" />
<meta property="og:description" content="MO-Gymnasium is a standardized API and a suite of environments for multi-objective reinforcement learning (MORL)" />
<meta property="og:url" content="https://mo-gymnasium.farama.org/404.html" /><meta property="og:image" content="https://mo-gymnasium.farama.org/_static/img/MO-Gymnasium-github.png" /><meta name="twitter:card" content="summary_large_image"><meta name="generator" content="Docutils 0.19: https://docutils.sourceforge.io/" />
<meta property="og:url" content="https://mo-gymnasium.farama.org/404.html" /><meta property="og:image" content="https://mo-gymnasium.farama.org/_static/img/MO-Gymnasium-github.png" /><meta name="twitter:card" content="summary_large_image"><meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="index" title="Index" href="/genindex/" /><link rel="search" title="Search" href="/search/" />
<link rel="canonical" href="https://mo-gymnasium.farama.org/404.html" />

<link rel="shortcut icon" href="/_static/favicon.png"/><!-- Generated with Sphinx 6.2.1 and Furo 2022.12.07.dev1 -->
<link rel="shortcut icon" href="/_static/favicon.png"/><!-- Generated with Sphinx 7.2.3 and Furo 2023.08.19.dev1 -->
<title>404 - Page Not Found - MO-Gymnasium Documentation</title>
<link rel="stylesheet" type="text/css" href="/_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="/_static/styles/furo.css?digest=cfd2cc3354364f303ef4a892d279bfffada5835d" />
<link rel="stylesheet" type="text/css" href="/_static/styles/furo-extensions.css?digest=6342a809aabeb35cfac296000cfa245808bc1d78" />
<link rel="stylesheet" type="text/css" href="/_static/pygments.css?v=a746c00c" />
<link rel="stylesheet" type="text/css" href="/_static/styles/furo.css?v=3e7f4c72" />
<link rel="stylesheet" type="text/css" href="/_static/styles/furo-extensions.css?v=49cbaffd" />



Expand Down Expand Up @@ -53,18 +53,6 @@
<line x1="0.232" y1="12" x2="23.5" y2="12"></line>
<line x1="0.232" y1="20" x2="23.5" y2="20"></line>
</svg>
<!-- <svg viewBox="0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
<line x1="0.5" y1="4.5" x2="23.5" y2="4.5" style="fill: none; "></line>
<line x1="0.5" y1="12" x2="14" y2="12" ></line>
<line x1="0.5" y1="19.5" x2="23.5" y2="19.5"></line>
<polyline style="stroke-width: 0px;" points="17 7 22 12 17 17"></polyline>
</svg> -->
<!-- <svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" style="width:20px">
<defs></defs>
<rect y="1" width="22" height="22" rx="2" ry="2" style="fill: none;" x="1"></rect>
<line x1="8" y1="1" x2="8" y2="23"></line>
<polyline style="stroke-linecap: round; fill: none; stroke-linejoin: round;" points="13 7 17 12 13 17"></polyline>
</svg> -->
</label>
</div>
<div class="farama-header__left farama-header__center--mobile">
Expand Down Expand Up @@ -226,7 +214,7 @@
<ul>
<li class="toctree-l1"><a class="reference internal" href="/introduction/install/">Install</a></li>
<li class="toctree-l1"><a class="reference internal" href="/introduction/api/">API</a></li>
<li class="toctree-l1 has-children"><a class="reference internal" href="/environments/all-environments/">Available environments</a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle child pages in navigation</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l1 has-children"><a class="reference internal" href="/environments/all-environments/">Available environments</a><input class="toctree-checkbox" id="toctree-checkbox-1" name="toctree-checkbox-1" role="switch" type="checkbox"/><label for="toctree-checkbox-1"><div class="visually-hidden">Toggle navigation of Available environments</div><i class="icon"><svg><use href="#svg-arrow-right"></use></svg></i></label><ul>
<li class="toctree-l2"><a class="reference internal" href="/environments/breakable-bottles/">Breakable-Bottles</a></li>
<li class="toctree-l2"><a class="reference internal" href="/environments/deep-sea-treasure/">Deep-Sea-Treasure</a></li>
<li class="toctree-l2"><a class="reference internal" href="/environments/deep-sea-treasure-concave/">Deep-Sea-Treasure-Concave</a></li>
Expand All @@ -253,6 +241,10 @@
<li class="toctree-l1"><a class="reference internal" href="/wrappers/wrappers/">Wrappers</a></li>
<li class="toctree-l1"><a class="reference internal" href="/examples/morl_baselines/">MORL Baselines</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Tutorials</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/tutorials/custom_env/">Creating a custom environment</a></li>
</ul>
<p class="caption" role="heading"><span class="caption-text">Citing</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="/examples/citation/">Citation</a></li>
Expand Down Expand Up @@ -321,9 +313,9 @@
<article role="main">

<section id="page-not-found">
<h1>404 - Page Not Found<a class="headerlink" href="#page-not-found" title="Permalink to this heading">#</a></h1>
<h1>404 - Page Not Found<a class="headerlink" href="#page-not-found" title="Link to this heading">#</a></h1>
<section id="the-requested-page-could-not-be-found">
<h2>The requested page could not be found.<a class="headerlink" href="#the-requested-page-could-not-be-found" title="Permalink to this heading">#</a></h2>
<h2>The requested page could not be found.<a class="headerlink" href="#the-requested-page-could-not-be-found" title="Link to this heading">#</a></h2>
</section>
</section>

Expand Down Expand Up @@ -410,12 +402,43 @@ <h2>The requested page could not be found.<a class="headerlink" href="#the-reque



<script data-url_root="../" id="documentation_options" src="/_static/documentation_options.js"></script>
<script src="/_static/doctools.js"></script>
<script src="/_static/sphinx_highlight.js"></script>
<script src="/_static/scripts/furo.js"></script>
<script src="/_static/documentation_options.js?v=c8e69ae7"></script>
<script src="/_static/doctools.js?v=888ff710"></script>
<script src="/_static/sphinx_highlight.js?v=dc90522c"></script>
<script src="/_static/scripts/furo.js?v=7660844c"></script>

<script>

const createProjectsList = (projects, displayImages) => {
const ulElem = Object.assign(document.createElement('ul'),
{
className:'farama-header-menu-list',
}
)
for (let project of projects) {
const liElem = document.createElement("li");
const aElem = Object.assign(document.createElement("a"),
{
href: project.link
}
);
liElem.appendChild(aElem);
if (displayImages) {
const imgElem = Object.assign(document.createElement("img"),
{
src: project.image ? imagesBasepath + project.image : imagesBasepath + "/farama_black.svg",
alt: `${project.name} logo`,
className: "farama-black-logo-invert"
}
);
aElem.appendChild(imgElem);
}
aElem.appendChild(document.createTextNode(project.name));
ulElem.appendChild(liElem);
}
return ulElem;
}

// Create menu with Farama projects by using the API at farama.org/api/projects.json
const createCORSRequest = (method, url) => {
let xhr = new XMLHttpRequest();
Expand All @@ -442,9 +465,15 @@ <h2>The requested page could not be found.<a class="headerlink" href="#the-reque
xhr.onload = () => {
const jsonResponse = xhr.response;
const sections = {
"Documentation": [],
"Mature Projects": [],
"Incubating Projects": [],
"Core Projects": [],
"Mature Projects": {
"Documentation": [],
"Repositories": [],
},
"Incubating Projects": {
"Documentation": [],
"Repositories": [],
},
"Foundation": [
{
name: "About",
Expand All @@ -460,28 +489,38 @@ <h2>The requested page could not be found.<a class="headerlink" href="#the-reque
}
]
}

// Categorize projects
Object.keys(jsonResponse).forEach(key => {
projectJson = jsonResponse[key];
if (projectJson.website !== null) {
projectJson.link = projectJson.website;
sections["Documentation"].push(projectJson)
} else if (projectJson.type == "mature") {
projectJson.link = projectJson.github;
sections["Mature Projects"].push(projectJson)
} else {
projectJson.link = projectJson.github;
sections["Incubating Projects"].push(projectJson)
}
if (projectJson.type === "core") {
sections["Core Projects"].push(projectJson)
} else if (projectJson.type == "mature") {
if (projectJson.website !== null) {
sections["Mature Projects"]["Documentation"].push(projectJson)
} else {
sections["Mature Projects"]["Repositories"].push(projectJson)
}
} else {
if (projectJson.website !== null) {
sections["Incubating Projects"]["Documentation"].push(projectJson)
} else {
sections["Incubating Projects"]["Repositories"].push(projectJson)
}
}
})

const menuContainer = document.querySelector(".farama-header-menu__body");

Object.keys(sections).forEach((key, i) => {
projects = sections[key];
const sectionElem = Object.assign(
document.createElement('div'), {
className:'farama-header-menu__section',
style: "padding-left: 24px"
}
)
sectionElem.appendChild(Object.assign(document.createElement('span'),
Expand All @@ -490,33 +529,37 @@ <h2>The requested page could not be found.<a class="headerlink" href="#the-reque
innerText: key
}
))
const ulElem = Object.assign(document.createElement('ul'),
{
className:'farama-header-menu-list',
}
)
for (let project of projects) {
const liElem = document.createElement("li");
const aElem = Object.assign(document.createElement("a"),
{
href: project.link
}
);
liElem.appendChild(aElem);
if (key !== "Foundation") {
const imgElem = Object.assign(document.createElement("img"),
// is not a list
if (sections[key].constructor !== Array) {
const subSections = sections[key];
const subSectionContainerElem = Object.assign(
document.createElement('div'), {
className:'farama-header-menu__subsections-container',
style: 'display: flex'
}
)
Object.keys(subSections).forEach((subKey, i) => {
const subSectionElem = Object.assign(
document.createElement('div'), {
className:'farama-header-menu__subsection',
}
)
subSectionElem.appendChild(Object.assign(document.createElement('span'),
{
src: project.image ? imagesBasepath + project.image : imagesBasepath + "/farama_black.svg",
alt: `${project.name} logo`,
className: "farama-black-logo-invert"
className:'farama-header-menu__subsection-title' ,
innerText: subKey
}
);
aElem.appendChild(imgElem);
}
aElem.appendChild(document.createTextNode(project.name));
ulElem.appendChild(liElem);
))
const ulElem = createProjectsList(subSections[subKey], key !== 'Foundation');
subSectionElem.appendChild(ulElem);
subSectionContainerElem.appendChild(subSectionElem);
})
sectionElem.appendChild(subSectionContainerElem);
} else {
const projects = sections[key];
const ulElem = createProjectsList(projects, true);
sectionElem.appendChild(ulElem);
}
sectionElem.appendChild(ulElem);
menuContainer.appendChild(sectionElem)
});
}
Expand Down
Loading

0 comments on commit 902941e

Please sign in to comment.