+ element.innerText = `
+
-

-
-
${version}
+
+ ${name}
+
-
- ${labelHTML}
+ ${authorsHTML}
+
+
+

+
+
${version}
+
+
+ ${labelHTML}
+
-
-
- `
+ `;
- let sanitizedHTML = DOMPurify.sanitize(element.innerText);
- element.innerHTML = sanitizedHTML;
+ let sanitizedHTML = DOMPurify.sanitize(element.innerText);
+ element.innerHTML = sanitizedHTML;
- document.querySelectorAll('.author-name').forEach(element => {
- element.addEventListener('mouseenter', function() {
- const login = this.getAttribute('data-login');
- document.querySelector(`.author-container[data-login="${login}"]`).classList.add('hover');
+ document.querySelectorAll('.author-name').forEach(element => {
+ element.addEventListener('mouseenter', function () {
+ const login = this.getAttribute('data-login');
+ document.querySelector(`.author-container[data-login="${login}"]`).classList.add('hover');
+ });
+
+ element.addEventListener('mouseleave', function () {
+ const login = this.getAttribute('data-login');
+ document.querySelector(`.author-container[data-login="${login}"]`).classList.remove('hover');
+ });
});
-
- element.addEventListener('mouseleave', function() {
- const login = this.getAttribute('data-login');
- document.querySelector(`.author-container[data-login="${login}"]`).classList.remove('hover');
- });
- });
- }
+ }
repoCards.forEach((element, index) => {
renderCard(element, index);
});
diff --git a/docs/keypoint/annotators.md b/docs/keypoint/annotators.md
index 32f30626..30a970ec 100644
--- a/docs/keypoint/annotators.md
+++ b/docs/keypoint/annotators.md
@@ -1,5 +1,6 @@
---
comments: true
+status: new
---
# Annotators
diff --git a/docs/keypoint/core.md b/docs/keypoint/core.md
index 7354baba..6f42c254 100644
--- a/docs/keypoint/core.md
+++ b/docs/keypoint/core.md
@@ -1,6 +1,5 @@
---
comments: true
-status: new
---
# Keypoint Detection
diff --git a/docs/metrics/mean_average_precision.md b/docs/metrics/mean_average_precision.md
new file mode 100644
index 00000000..817591a1
--- /dev/null
+++ b/docs/metrics/mean_average_precision.md
@@ -0,0 +1,18 @@
+---
+comments: true
+status: new
+---
+
+# Mean Average Precision
+
+
+
+:::supervision.metrics.mean_average_precision.MeanAveragePrecision
+
+
+
+:::supervision.metrics.mean_average_precision.MeanAveragePrecisionResult
diff --git a/docs/stylesheets/cookbooks-card.css b/docs/stylesheets/cookbooks-card.css
index 118c946c..51b24299 100644
--- a/docs/stylesheets/cookbooks-card.css
+++ b/docs/stylesheets/cookbooks-card.css
@@ -19,6 +19,16 @@
}
}
+.custom-grid a {
+ color: inherit;
+ text-decoration: none;
+ display: block;
+}
+
+.custom-grid a:hover {
+ color: inherit; /* Ensure color does not change on hover */
+}
+
.repo-card {
background: radial-gradient(at right top, #A351FB25, #A5F9EA25);
border-radius: 0.5rem;
diff --git a/docs/theme/cookbooks.html b/docs/theme/cookbooks.html
index 94394efe..69d18725 100644
--- a/docs/theme/cookbooks.html
+++ b/docs/theme/cookbooks.html
@@ -11,18 +11,49 @@
Supervision Cookbooks