Skip to content

Commit

Permalink
Deploying to gh-pages from @ a22b1e3 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
erogluorhan committed Jan 9, 2025
1 parent 3296a07 commit feb0a8d
Show file tree
Hide file tree
Showing 9 changed files with 287 additions and 171 deletions.
72 changes: 63 additions & 9 deletions _preview/217/_sources/index.md

Large diffs are not rendered by default.

26 changes: 19 additions & 7 deletions _preview/217/_static/custom.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,16 @@ function getClassOfCheckedCheckboxes(checkboxes) {
function change() {
console.log("Change event fired.");
var domainsCbs = document.querySelectorAll(".domains input[type='checkbox']");
var eventsCbs = document.querySelectorAll(".events input[type='checkbox']");
var packagesCbs = document.querySelectorAll(".packages input[type='checkbox']");

var domainTags = getClassOfCheckedCheckboxes(domainsCbs);
var eventTags = getClassOfCheckedCheckboxes(eventsCbs);
var packageTags = getClassOfCheckedCheckboxes(packagesCbs);

var filters = {
domains: domainTags,
events: eventTags,
packages: packageTags
};

Expand All @@ -31,13 +34,22 @@ function filterResults(filters) {
rElems.forEach(function (el) {
var isVisible = true; // Assume visible by default

// Check if the element has any domain or package filter
if (filters.domains.length > 0 || filters.packages.length > 0) {
var hasMatchingDomain = filters.domains.length === 0 || filters.domains.some(domain => el.classList.contains(domain));
var hasMatchingPackage = filters.packages.length === 0 || filters.packages.some(package => el.classList.contains(package));
// Check for matching domains
if (filters.domains.length > 0) {
var hasMatchingDomain = filters.domains.some(domain => el.classList.contains(domain));
isVisible = isVisible && hasMatchingDomain;
}

// Check for matching events
if (filters.events.length > 0) {
var hasMatchingEvent = filters.events.some(event => el.classList.contains(event));
isVisible = isVisible && hasMatchingEvent;
}

// The element should be visible if it matches any filter within each category
isVisible = hasMatchingDomain && hasMatchingPackage;
// Check for matching packages
if (filters.packages.length > 0) {
var hasMatchingPackage = filters.packages.some(package => el.classList.contains(package));
isVisible = isVisible && hasMatchingPackage;
}

// Toggle visibility based on the result
Expand Down Expand Up @@ -88,4 +100,4 @@ function clearCbs() {
// Initial call to set up correct margins when the page loads
document.addEventListener('DOMContentLoaded', updateMargins);

console.log("Script loaded.");
console.log("Script loaded.");
242 changes: 121 additions & 121 deletions _preview/217/_static/pygments.css

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions _preview/217/cookbook_gallery_subtext.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link href="_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
<link href="_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />

<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-pythia-theme.min.css?v=ba7ce088" />
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
Expand Down Expand Up @@ -61,14 +61,14 @@
gtag('config', 'G-T52X8HNYE8');
</script>
<script>DOCUMENTATION_OPTIONS.pagename = 'cookbook_gallery_subtext';</script>
<script src="_static/custom.js?v=f0b785f2"></script>
<script src="_static/custom.js?v=9c1048ce"></script>
<link rel="icon" href="_static/favicon.ico"/>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docsearch:version" content="" />
<meta name="docbuild:last-update" content="23 December 2024"/>
<meta name="docbuild:last-update" content="9 January 2025"/>
</head>


Expand Down Expand Up @@ -546,7 +546,7 @@

<div class="footer-item">
<p class="last-updated">
Last updated on 23 December 2024.
Last updated on 9 January 2025.
<br/>
</p>
</div>
Expand Down Expand Up @@ -634,7 +634,7 @@ <h1>Contribute</h1>

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 23 December 2024.
Last updated on 9 January 2025.
</p>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions _preview/217/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<link href="_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
<link href="_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />

<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-pythia-theme.min.css?v=ba7ce088" />
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
Expand Down Expand Up @@ -60,14 +60,14 @@
gtag('config', 'G-T52X8HNYE8');
</script>
<script>DOCUMENTATION_OPTIONS.pagename = 'genindex';</script>
<script src="_static/custom.js?v=f0b785f2"></script>
<script src="_static/custom.js?v=9c1048ce"></script>
<link rel="icon" href="_static/favicon.ico"/>
<link rel="index" title="Index" href="#" />
<link rel="search" title="Search" href="search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docsearch:version" content="" />
<meta name="docbuild:last-update" content="23 December 2024"/>
<meta name="docbuild:last-update" content="9 January 2025"/>
</head>


Expand Down Expand Up @@ -498,7 +498,7 @@ <h1 id="index">Index</h1>

<div class="footer-item">
<p class="last-updated">
Last updated on 23 December 2024.
Last updated on 9 January 2025.
<br/>
</p>
</div>
Expand Down Expand Up @@ -586,7 +586,7 @@ <h1>Contribute</h1>

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 23 December 2024.
Last updated on 9 January 2025.
</p>
</div>
</div>
Expand Down
76 changes: 63 additions & 13 deletions _preview/217/index.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions _preview/217/radar-cookbook/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link href="../_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
<link href="../_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />

<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="../_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx-pythia-theme.min.css?v=ba7ce088" />
<link rel="stylesheet" type="text/css" href="../_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" />
<link rel="stylesheet" type="text/css" href="../_static/sphinx-design.min.css?v=95c83b7e" />
Expand Down Expand Up @@ -61,14 +61,14 @@
gtag('config', 'G-T52X8HNYE8');
</script>
<script>DOCUMENTATION_OPTIONS.pagename = 'radar-cookbook/index';</script>
<script src="../_static/custom.js?v=f0b785f2"></script>
<script src="../_static/custom.js?v=9c1048ce"></script>
<link rel="icon" href="../_static/favicon.ico"/>
<link rel="index" title="Index" href="../genindex.html" />
<link rel="search" title="Search" href="../search.html" />
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docsearch:version" content="" />
<meta name="docbuild:last-update" content="23 December 2024"/>
<meta name="docbuild:last-update" content="9 January 2025"/>
</head>


Expand Down Expand Up @@ -545,7 +545,7 @@ <h1>Redirect notice<a class="headerlink" href="#redirect-notice" title="Link to

<div class="footer-item">
<p class="last-updated">
Last updated on 23 December 2024.
Last updated on 9 January 2025.
<br/>
</p>
</div>
Expand Down Expand Up @@ -633,7 +633,7 @@ <h1>Contribute</h1>

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 23 December 2024.
Last updated on 9 January 2025.
</p>
</div>
</div>
Expand Down
10 changes: 5 additions & 5 deletions _preview/217/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<link href="_static/styles/theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />
<link href="_static/styles/pydata-sphinx-theme.css?digest=8878045cc6db502f8baf" rel="stylesheet" />

<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=80d5e7a1" />
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-pythia-theme.min.css?v=ba7ce088" />
<link rel="stylesheet" type="text/css" href="_static/mystnb.4510f1fc1dee50b3e5859aac5469c37c29e427902b24a333a5f9fcb2f0b3ac41.css" />
<link rel="stylesheet" type="text/css" href="_static/sphinx-design.min.css?v=95c83b7e" />
Expand Down Expand Up @@ -59,7 +59,7 @@
gtag('config', 'G-T52X8HNYE8');
</script>
<script>DOCUMENTATION_OPTIONS.pagename = 'search';</script>
<script src="_static/custom.js?v=f0b785f2"></script>
<script src="_static/custom.js?v=9c1048ce"></script>
<script src="_static/searchtools.js"></script>
<script src="_static/language_data.js"></script>
<script src="searchindex.js"></script>
Expand All @@ -69,7 +69,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<meta name="docsearch:language" content="en"/>
<meta name="docsearch:version" content="" />
<meta name="docbuild:last-update" content="23 December 2024"/>
<meta name="docbuild:last-update" content="9 January 2025"/>
</head>


Expand Down Expand Up @@ -522,7 +522,7 @@ <h1>Search</h1>

<div class="footer-item">
<p class="last-updated">
Last updated on 23 December 2024.
Last updated on 9 January 2025.
<br/>
</p>
</div>
Expand Down Expand Up @@ -610,7 +610,7 @@ <h1>Contribute</h1>

By the <a href="https://projectpythia.org/">Project Pythia</a> Community.

Last updated on 23 December 2024.
Last updated on 9 January 2025.
</p>
</div>
</div>
Expand Down
Loading

0 comments on commit feb0a8d

Please sign in to comment.