You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: guides/hidden-pages.mdx
+8-6Lines changed: 8 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,9 +4,11 @@ description: "Exclude pages from your navigation"
4
4
icon: "eye-closed"
5
5
---
6
6
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.
8
8
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).
10
12
11
13
If you want to hide pages for specific groups of users, use personalization to control [page visibility](/authentication-personalization/overview#page-visibility).
12
14
@@ -18,14 +20,14 @@ A page is hidden if it is not included in your `docs.json` navigation. To hide a
18
20
Some navigation elements like sidebars, dropdowns, and tabs may appear empty or shift layout on hidden pages.
19
21
</Note>
20
22
21
-
## Searchand SEO
23
+
## Search, SEO, and AI context
22
24
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`:
24
26
25
27
```json
26
-
"seo" {
28
+
"seo": {
27
29
"indexing": "all"
28
30
}
29
31
```
30
32
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