-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Update overview.mdx #18772
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update overview.mdx #18772
Conversation
Updated to reflect changes to the Overview pages in Astro vs. Hugo.
Deploying cloudflare-docs with
|
| Latest commit: |
1c5eba4
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://19edafd5.cloudflare-docs-7ou.pages.dev |
| Branch Preview URL: | https://haleycode-patch-1.cloudflare-docs-7ou.pages.dev |
|
Files with changes (up to 15) |
| ## Additional Information | ||
|
|
||
| Only use Overview for the first page in a developer documentation set. | ||
| Overiew pages are the default "first" page in any nested navigation. In some cases to ensure good information architecture and navigability, you may need to rename or remove Overview pages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Overiew pages are the default "first" page in any nested navigation. In some cases to ensure good information architecture and navigability, you may need to rename or remove Overview pages. | |
| Overview pages are the default "first" page in any nested navigation. In some cases, to ensure good information architecture and navigability, you may need to rename or remove overview pages. |
|
|
||
| ### When to consider removing an Overview page | ||
|
|
||
| If the overview acts as a table of contents that provides no additional information or context, this is when to consider removing it altogether. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| If the overview acts as a table of contents that provides no additional information or context, this is when to consider removing it altogether. | |
| If the overview acts as a table of contents that provides no additional information or context, consider removing it altogether. |
|
|
||
| ### How to remove an Overview page | ||
|
|
||
| Deleting the `index.mdx` file of an overview page is not possible and will result in a build error. To remove the page from the docs, the index.mdx file will need to be hidden from displaying through sidebar styling changes. To ensure that users do not accidentally access the overview page, a redirect will need to be added as well. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| Deleting the `index.mdx` file of an overview page is not possible and will result in a build error. To remove the page from the docs, the index.mdx file will need to be hidden from displaying through sidebar styling changes. To ensure that users do not accidentally access the overview page, a redirect will need to be added as well. | |
| Deleting the `index.mdx` file in a nested folder is not possible and will result in a build error. To remove the page from the docs, the `index.mdx` file must be hidden using sidebar styling changes. Also, to ensure that users do not accidentally access the overview page, add a redirect. |
| Only use Overview for the first page in a developer documentation set. | ||
| Overiew pages are the default "first" page in any nested navigation. In some cases to ensure good information architecture and navigability, you may need to rename or remove Overview pages. | ||
|
|
||
| ### When to consider removing an Overview page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ### When to consider removing an Overview page | |
| ### When to consider removing an overview page |
|
|
||
| If the overview acts as a table of contents that provides no additional information or context, this is when to consider removing it altogether. | ||
|
|
||
| ### How to remove an Overview page |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| ### How to remove an Overview page | |
| ### How to remove an overview page |
|
|
||
| Deleting the `index.mdx` file of an overview page is not possible and will result in a build error. To remove the page from the docs, the index.mdx file will need to be hidden from displaying through sidebar styling changes. To ensure that users do not accidentally access the overview page, a redirect will need to be added as well. | ||
|
|
||
| To hide an overview page, set the group.hideIndex property to true in the page's front matter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| To hide an overview page, set the group.hideIndex property to true in the page's front matter. | |
| To hide an overview page, set the `group.hideIndex` property to `true` in the page's frontmatter. |
Updated to reflect changes to the Overview pages in Astro vs. Hugo.