Skip to content

Commit 75531ab

Browse files
authored
update hidden pages (#803)
1 parent a8396a5 commit 75531ab

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

guides/hidden-pages.mdx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@ description: "Exclude pages from your navigation"
44
icon: "eye-closed"
55
---
66

7-
Hidden pages are removed from your site's navigation while remaining publicly accessible to anyone who knows their URL.
7+
Hidden pages are removed from your site's navigation but remain publicly accessible to anyone who knows their URL.
88

9-
Use hidden pages for content that you want to be accessible on your site, but not discoverable through the navigation. For content requiring strict access control, you must configure [authentication](/authentication-personalization/authentication-setup).
9+
Use hidden pages for content that you want to be accessible on your site or referenced as context for AI tools, but not discoverable through the navigation.
10+
11+
For content requiring strict access control, you must configure [authentication](/authentication-personalization/authentication-setup).
1012

1113
If you want to hide pages for specific groups of users, use personalization to control [page visibility](/authentication-personalization/overview#page-visibility).
1214

@@ -18,14 +20,14 @@ A page is hidden if it is not included in your `docs.json` navigation. To hide a
1820
Some navigation elements like sidebars, dropdowns, and tabs may appear empty or shift layout on hidden pages.
1921
</Note>
2022

21-
## Search and SEO
23+
## Search, SEO, and AI context
2224

23-
By default, hidden pages are excluded from indexing for search engines and internal search within your docs. To include hidden pages in search results, add this setting to your `docs.json`:
25+
By default, hidden pages are excluded from indexing for search engines, internal search within your docs, and as context for the AI assistant. To include hidden pages in search results and as context for the assistant, add the `seo` property to your `docs.json`:
2426

2527
```json
26-
"seo" {
28+
"seo": {
2729
"indexing": "all"
2830
}
2931
```
3032

31-
To exclude a specific page from search, add `noindex: true` to its frontmatter.
33+
To exclude a specific page, add `noindex: "true"` to its frontmatter.

0 commit comments

Comments
 (0)