Skip to content

Commit d79c68e

Browse files
committed
scroll and filter on highlighted packages
1 parent 6102be5 commit d79c68e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

docs/site/03-compatibility.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -413,8 +413,8 @@ img.pylogo {
413413
const graalpyModuleValue = $(".compatibility_page-item.compatibility_page-module.compatibility_page-active").attr("data-filter");
414414
let search = window.location.search;
415415
if (search) {
416-
search = search.replace(/version=[^&]+/, "");
417-
if (search != "?") {
416+
search = search.replace(/version=[^&]+&?/, "");
417+
if (search != "?" && !search.endsWith("&")) {
418418
search += "&";
419419
}
420420
} else {
@@ -488,7 +488,7 @@ You can extend it with Python code or leverage packages from the Python ecosyste
488488
<h4>Numeric Computing</h4>
489489
</div>
490490
<div class="langpage__benefits-text">
491-
<h5>We test <a href="https://numpy.org/">NumPy</a> across multiple versions and know of multiple deployments where it brings numeric computing to Java.</h5>
491+
<h5>We test <a href="?packages=numpy#compattable-container">NumPy</a> across multiple versions and know of multiple deployments where it brings numeric computing to Java.</h5>
492492
</div>
493493
</div>
494494
<div class="langbenefits__card">
@@ -499,7 +499,7 @@ You can extend it with Python code or leverage packages from the Python ecosyste
499499
<h4>Scientific Computing</h4>
500500
</div>
501501
<div class="langpage__benefits-text">
502-
<h5><a href="https://scipy.org/">SciPy</a>'s rich library for scientific computing is just a package download away.</h5>
502+
<h5><a href="?packages=scipy#compattable-container">SciPy</a>'s rich library for scientific computing is just a package download away.</h5>
503503
</div>
504504
</div>
505505
<div class="langbenefits__card">
@@ -510,7 +510,7 @@ You can extend it with Python code or leverage packages from the Python ecosyste
510510
<h4>Data Processing</h4>
511511
</div>
512512
<div class="langpage__benefits-text">
513-
<h5>Thanks to Arrow, <a href="https://pandas.pydata.org/">Pandas</a> on GraalPy can run multi-threaded while avoiding unneccessary data copies.</h5>
513+
<h5>Thanks to Arrow, <a href="?packages=pandas,arrow#compattable-container">Pandas</a> on GraalPy can run multi-threaded while avoiding unneccessary data copies.</h5>
514514
</div>
515515
</div>
516516
</div>
@@ -523,7 +523,7 @@ You can extend it with Python code or leverage packages from the Python ecosyste
523523
<h4>Models for any Task</h4>
524524
</div>
525525
<div class="langpage__benefits-text">
526-
<h5>The <a href="https://huggingface.co/">Huggingface</a> transformers library works on GraalPy with its huge library of language, vision, and audio models.</h5>
526+
<h5>The <a href="?packages=huggingface,transformers#compattable-container">Huggingface</a> transformers library works on GraalPy with its huge library of language, vision, and audio models.</h5>
527527
</div>
528528
</div>
529529
<div class="langbenefits__card">
@@ -534,7 +534,7 @@ You can extend it with Python code or leverage packages from the Python ecosyste
534534
<h4>Training and Inference</h4>
535535
</div>
536536
<div class="langpage__benefits-text">
537-
<h5>Train models and run inference on GraalPy with <a href="https://pytorch.org/">PyTorch</a>, taking full advantage of the latest techniques and accellerator hardware.</h5>
537+
<h5>Train models and run inference on GraalPy with <a href="?packages=torch#compattable-container">PyTorch</a>, taking full advantage of the latest techniques and accellerator hardware.</h5>
538538
</div>
539539
</div>
540540
<div class="langbenefits__card">
@@ -545,7 +545,7 @@ You can extend it with Python code or leverage packages from the Python ecosyste
545545
<h4>Agentic Workflows</h4>
546546
</div>
547547
<div class="langpage__benefits-text">
548-
<h5>With <a href="https://microsoft.github.io/autogen/stable/">Autogen</a> and GraalPy you can write agentic workflows and use Java code to create tools for AI Agents.</h5>
548+
<h5>With <a href="?packages=autogen#compattable-container">Autogen</a> and GraalPy you can write agentic workflows and use Java code to create tools for AI Agents.</h5>
549549
</div>
550550
</div>
551551
</div>
@@ -612,7 +612,7 @@ You can extend it with Python code or leverage packages from the Python ecosyste
612612
<div class="wrapper">
613613
<div class="compatibility">
614614
<div class="container">
615-
<h3 class="langpage__title-02">Python Packages</h3>
615+
<h3 id="compattable-container" class="langpage__title-02">Python Packages</h3>
616616
<div class="package__row">
617617
<div class="package__search">
618618
<input type="text" id="compatibility_page__search-field" placeholder="Comma-separated list of packages">

0 commit comments

Comments
 (0)