Skip to content

Commit ca57ed5

Browse files
authored
Apply suggestions from code review
1 parent 949cab1 commit ca57ed5

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

guides/hidden-pages.mdx

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,27 @@
11
---
2-
title: "How to add hidden pages"
3-
description: "Exclude pages from your docs.json"
2+
title: "Hidden pages"
3+
description: "Exclude pages from your `docs.json`"
4+
icon: "eye-closed"
45
---
56

6-
Sometimes you may want to write a page and not publish it immediately.
7+
You can use hidden pages for content that is not strictly confidential, but isn't ready for prime time. Hidden pages are excluded from your site's navigation, so people can only access hidden pages if they know the exact URL.
78

8-
For content that is not strictly confidential, but isn't ready for prime time, you can add pages to your docs without referencing them in your `docs.json`. This is what is considered a "hidden page".
9-
10-
As long as the page is not described under any "group", "tab" or other element in the navigation section of your `docs.json`, the only way a user will be able to navigate to the page is if they know or guess the page URL.
9+
A page is hidden until you add it to a group, tab, or other navigation element in your `docs.json`.
1110

1211
<Note>
1312
Some navigation elements like sidebars, dropdowns, and tabs may shift or appear empty on hidden pages.
1413
</Note>
1514

16-
If you want hidden pages to be indexed for SEO purposes and don't mind if their content appears in search results, you can add the following setting to your `docs.json`:
15+
If you want hidden pages to be indexed for SEO purposes and for their contents to appear when people search within your docs, add the following setting to your `docs.json`:
1716

1817
```
1918
"seo" {
2019
"indexing": all
2120
}
2221
```
2322

24-
The settings for SEO indexing also influence whether the contents of hidden pages can appear when your docs are searched internally with the search bar. If you want to make sure hidden pages' content does not appear in SEO or internal search results, make sure to add `noindex: true` to the frontmatter of your page.
25-
26-
Learn more about SEO and Sitemaps configuration in the [SEO](https://mintlify.com/docs/settings/seo#sitemaps) docs.
27-
23+
If you want to exclude a specific hidden page's content from search engine and internal search results, add `noindex: true` to the frontmatter of the page.
2824

29-
If you have certain pages that you only want exposed to specific groups of your own users, you may want to use the selective groups access available through [Personalization](https://mintlify.com/docs/settings/authentication-personalization/personalization#showing-hiding-pages).
25+
If you have pages that you want only specific groups of your own users to have access to, you can use the selective groups access available through [Personalization](/settings/authentication-personalization/personalization#showing-hiding-pages).
3026

31-
If you have docs that you want under no circumstances exposed to the wider web, you may want to use [Authentication](https://mintlify.com/docs/settings/authentication-personalization/authentication).
27+
If you have pages that you want to maintain strict access control to, you can use [Authentication](/settings/authentication-personalization/authentication).

0 commit comments

Comments
 (0)