fix: update website sitemap discovery

This commit is contained in:
Ogulcan Celik
2026-05-31 21:39:23 +03:00
parent 8cf0e9b35b
commit e91b8abfcc
6 changed files with 19 additions and 78 deletions
+1
View File
@@ -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
+14 -6
View File
@@ -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 {
+3 -7
View File
@@ -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>
+1 -1
View File
@@ -1,4 +1,4 @@
User-agent: *
Allow: /
Sitemap: https://herdr.dev/sitemap.xml
Sitemap: https://herdr.dev/sitemap-index.xml
-1
View File
@@ -16,7 +16,6 @@ async function preparePublicAssets() {
'install.sh',
'latest.json',
'robots.txt',
'sitemap.xml',
'_headers',
'_redirects',
]) {
-63
View File
@@ -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>