Skip to content

Conversation

@haleycode
Copy link
Contributor

Updated to reflect changes to the Overview pages in Astro vs. Hugo.

Updated to reflect changes to the Overview pages in Astro vs. Hugo.
@cloudflare-workers-and-pages
Copy link

Deploying cloudflare-docs with  Cloudflare Pages  Cloudflare Pages

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

View logs

@github-actions
Copy link
Contributor

## 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### 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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

@haleycode haleycode merged commit 9a80df7 into production Dec 16, 2024
13 checks passed
@haleycode haleycode deleted the haleycode-patch-1 branch December 16, 2024 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants