Skip to content

The agent that grows with you

docs: link the plugin-catalog submission guide from the Plugin Catalog page

teknium182f99a469d77
diff --git a/website/src/pages/plugins/index.tsx b/website/src/pages/plugins/index.tsx
index 751a1570db6..ec7459aa014 100644
--- a/website/src/pages/plugins/index.tsx
+++ b/website/src/pages/plugins/index.tsx
@@ -49,8 +49,8 @@ interface CatalogMeta {
const PLUGINS_URL = "/docs/api/plugins.json";
const META_URL = "/docs/api/plugins-meta.json";
-const CATALOG_README_URL =
- "https://github.com/NousResearch/hermes-agent/tree/main/plugin-catalog";
+// Docs section describing the PR-based submission workflow.
+const SUBMIT_PLUGIN_URL = "/user-guide/features/plugin-catalog#submitting-a-plugin-to-the-catalog";
const TIER_CONFIG: Record<
string,
@@ -597,6 +597,14 @@ export default function PluginCatalogPage() {
</span>
)}
</p>
+ {!catalogEmpty && (
+ <p className={styles.heroSub} style={{ fontSize: "0.9rem" }}>
+ Built a plugin?{" "}
+ <Link className={styles.heroLink} to={SUBMIT_PLUGIN_URL}>
+ Submit it to the catalog →
+ </Link>
+ </p>
+ )}
{meta.generatedAt && !catalogEmpty && (
<p className={styles.heroMeta}>
{allPlugins.length} plugins across {Object.keys(categoryCounts).length} categories
@@ -737,14 +745,9 @@ export default function PluginCatalogPage() {
Submissions are open.
</p>
<div className={styles.emptyActions}>
- <a
- className={styles.emptyCta}
- href={CATALOG_README_URL}
- target="_blank"
- rel="noopener noreferrer"
- >
- How to submit a plugin ↗
- </a>
+ <Link className={styles.emptyCta} to={SUBMIT_PLUGIN_URL}>
+ How to submit a plugin
+ </Link>
<Link className={styles.emptyCtaSecondary} to="/user-guide/features/plugin-catalog">
Read the catalog docs
</Link>
diff --git a/website/src/pages/plugins/styles.module.css b/website/src/pages/plugins/styles.module.css
index 70f3f05694c..4e5a2aeab04 100644
--- a/website/src/pages/plugins/styles.module.css
+++ b/website/src/pages/plugins/styles.module.css
@@ -98,6 +98,21 @@
color: #ffd700;
}
+/* Inline "submit your plugin" link under the hero subtitle. */
+.heroLink {
+ color: #ffd700;
+ font-weight: 600;
+ text-decoration: none;
+ border-bottom: 1px solid rgba(255, 215, 0, 0.35);
+ transition: border-color 0.15s;
+}
+
+.heroLink:hover {
+ color: #ffd700;
+ text-decoration: none;
+ border-bottom-color: #ffd700;
+}
+
.heroMeta {
font-size: 0.85rem;
color: var(--ifm-font-color-secondary, #9a968e);