aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOgulcan Celik <ogulcancelik@gmail.com>2026-05-31 21:39:23 +0300
committerOgulcan Celik <ogulcancelik@gmail.com>2026-05-31 21:39:23 +0300
commite91b8abfcc5ca2bb61353e840e5f7bfcb0c913d9 (patch)
treeb3130d55cee356e561cb8bfb6c389f0bfbca7224
parent8cf0e9b35b00f9dd91270fcd3931015d61ffd8a0 (diff)
fix: update website sitemap discovery
-rw-r--r--website/_redirects1
-rw-r--r--website/css/style.css20
-rw-r--r--website/index.html10
-rw-r--r--website/robots.txt2
-rw-r--r--website/scripts/prepare-docs.mjs1
-rw-r--r--website/sitemap.xml63
6 files changed, 19 insertions, 78 deletions
diff --git a/website/_redirects b/website/_redirects
index 12e35f1b..2d5082a2 100644
--- a/website/_redirects
+++ b/website/_redirects
@@ -1,3 +1,4 @@
/install /install.sh 200
+/sitemap.xml /sitemap-index.xml 301
/docs/skill/ /docs/agent-skill/ 301
/docs/api/ /docs/socket-api/ 301
diff --git a/website/css/style.css b/website/css/style.css
index 74be689f..1754a180 100644
--- a/website/css/style.css
+++ b/website/css/style.css
@@ -1031,19 +1031,25 @@ samp {
align-items: center;
flex-wrap: wrap;
gap: 0.35rem;
- padding-left: 0.1rem;
color: var(--muted);
font-family: var(--mono);
- font-size: 0.78rem;
+ font-size: 0.72rem;
font-weight: 600;
}
+.install-label {
+ width: 100%;
+ color: var(--muted);
+}
+
.install-method {
- border: 0;
- background: transparent;
+ border: 1px solid var(--term-border);
+ border-radius: var(--radius-sm);
+ background: var(--term-bg);
color: var(--muted);
cursor: pointer;
- padding: 0;
+ min-height: 2rem;
+ padding: 0.4rem 0.7rem;
font-family: var(--mono);
font-weight: 600;
}
@@ -1055,7 +1061,9 @@ samp {
}
.install-method.is-active {
- color: var(--ink);
+ border-color: var(--accent);
+ background: var(--accent-soft);
+ color: var(--accent);
}
.install-card {
diff --git a/website/index.html b/website/index.html
index a9e5bae6..cbcefb00 100644
--- a/website/index.html
+++ b/website/index.html
@@ -137,14 +137,14 @@
</div>
<div class="install-panel" aria-label="Install options">
<div class="install-methods" role="group" aria-label="Install method">
+ <span class="install-label">Install with</span>
<button
class="install-method is-active"
type="button"
data-command="curl -fsSL https://herdr.dev/install.sh | sh"
data-size="compact"
aria-pressed="true"
- >Direct</button>
- <span aria-hidden="true">·</span>
+ >Script</button>
<button
class="install-method"
type="button"
@@ -152,7 +152,6 @@
data-size="normal"
aria-pressed="false"
>Homebrew</button>
- <span aria-hidden="true">·</span>
<button
class="install-method"
type="button"
@@ -169,10 +168,7 @@
<button id="copy-btn" type="button">Copy</button>
</div>
</div>
- <p class="hero-note">
- Install script · Homebrew core · Nix flake · single Rust
- binary · no Electron
- </p>
+ <p class="hero-note">Single Rust binary · no Electron</p>
</div>
</div>
diff --git a/website/robots.txt b/website/robots.txt
index 37e7285b..2dccbcb9 100644
--- a/website/robots.txt
+++ b/website/robots.txt
@@ -1,4 +1,4 @@
User-agent: *
Allow: /
-Sitemap: https://herdr.dev/sitemap.xml
+Sitemap: https://herdr.dev/sitemap-index.xml
diff --git a/website/scripts/prepare-docs.mjs b/website/scripts/prepare-docs.mjs
index 4f31f739..c6fefaf7 100644
--- a/website/scripts/prepare-docs.mjs
+++ b/website/scripts/prepare-docs.mjs
@@ -16,7 +16,6 @@ async function preparePublicAssets() {
'install.sh',
'latest.json',
'robots.txt',
- 'sitemap.xml',
'_headers',
'_redirects',
]) {
diff --git a/website/sitemap.xml b/website/sitemap.xml
deleted file mode 100644
index 09773e4a..00000000
--- a/website/sitemap.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
- <url>
- <loc>https://herdr.dev/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>1.0</priority>
- </url>
- <url>
- <loc>https://herdr.dev/docs/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>0.9</priority>
- </url>
- <url>
- <loc>https://herdr.dev/docs/install/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>0.9</priority>
- </url>
- <url>
- <loc>https://herdr.dev/docs/quick-start/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>0.9</priority>
- </url>
- <url>
- <loc>https://herdr.dev/docs/concepts/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>0.8</priority>
- </url>
- <url>
- <loc>https://herdr.dev/docs/persistence-remote/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>0.8</priority>
- </url>
- <url>
- <loc>https://herdr.dev/docs/agents/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>0.8</priority>
- </url>
- <url>
- <loc>https://herdr.dev/docs/configuration/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>0.8</priority>
- </url>
- <url>
- <loc>https://herdr.dev/docs/integrations/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>0.8</priority>
- </url>
- <url>
- <loc>https://herdr.dev/docs/cli-reference/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>0.8</priority>
- </url>
- <url>
- <loc>https://herdr.dev/docs/socket-api/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>0.8</priority>
- </url>
- <url>
- <loc>https://herdr.dev/docs/agent-skill/</loc>
- <lastmod>2026-05-17</lastmod>
- <priority>0.7</priority>
- </url>
-</urlset>