Skip to content

Commit 2908879

Browse files
authored
Canonicalize docs to www.kernel.sh and exclude repo docs from the site (#712)
* Canonicalize docs to www.kernel.sh, exclude repo docs from the site, and describe the landing page * Redirect the old browser pools path * Hide the landing page description subtitle
1 parent 22a5e6e commit 2908879

4 files changed

Lines changed: 17 additions & 2 deletions

File tree

‎.mintignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Repo docs for contributors and agents, not published pages
2+
AGENTS.md
3+
CODE_OF_CONDUCT.md
4+
.docs/

‎docs.json‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
{ "source": "/browsers/pools/scaling", "destination": "/introduction/scale" },
4848
{ "source": "/browsers/pools/policy-json", "destination": "/browsers/chrome-policies" },
4949
{ "source": "/browsers/pools/overview", "destination": "/browsers/pools" },
50+
{ "source": "/browsers/scaling/pools", "destination": "/browsers/pools" },
5051
{ "source": "/browsers/pools/faq", "destination": "/browsers/pools" },
5152
{ "source": "/introduction", "destination": "/" },
5253
{ "source": "/quickstart", "destination": "/start/quickstart" },
@@ -111,7 +112,10 @@
111112
]
112113
},
113114
"seo": {
114-
"indexing": "all"
115+
"indexing": "all",
116+
"metatags": {
117+
"canonical": "https://www.kernel.sh/docs"
118+
}
115119
},
116120
"navigation": {
117121
"tabs": [

‎index.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "wrangle the wild web"
33
sidebarTitle: "Introduction"
4-
description: ""
4+
description: "Run isolated cloud browsers for AI agents with KERNEL: drive Chromium with Playwright, CDP, or computer controls, and add stealth, proxies, managed auth, and replays"
55
mode: "wide"
66
---
77

‎style.css‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,3 +362,10 @@ html.dark .cookbook-tag {
362362
width: 100% !important;
363363
max-width: 100% !important;
364364
}
365+
366+
/* the landing page sets a frontmatter description for its meta description
367+
tag but, unlike other pages, shows no subtitle under the title. mintlify
368+
renders the description as a .prose div inside #header. */
369+
html[data-current-path="/"] #header > div.prose {
370+
display: none !important;
371+
}

0 commit comments

Comments
 (0)