-
Notifications
You must be signed in to change notification settings - Fork 20
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
[Bug] hidden: true in NgDocPage-Config does not avoid displaying a component in the navigation. #158
Comments
Well, it does exactly what the doc says "If true the page will be hidden from the sidebar", so it affects only the sidebar but not other things, do you wanna stop displaying some pages in your doc? |
or you still have it in the sidebar? |
Yes, that was the plan, but without removing the entire documentation-part. |
i added the attribute to the config of one component to hide it from the main navigation. But without success. |
Ah I see, that was a stuping typo in the code, I'll release a fix in a moment |
## [17.6.7](v17.6.6...v17.6.7) (2024-05-03) ### Bug Fixes * **builder:** setting `hidden: true` for the page doesn't have an effect ([6cf9aaa](6cf9aaa)), closes [#158](#158)
🎉 This issue has been resolved in version 17.6.7 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
Wow, very fast. Thank you. |
Is this a regression?
I don't know
Description
At https://ng-doc.com/docs/api/core/interfaces/NgDocPage an attribute "hidden" is listed. Description of this attribute describe how to avoid displaying a component in documentation. It seems, that this attribute has no function at all.
Please provide the exception or error you saw
No response
OS
Unix (Linux, macOS, etc.)
Browser
Chrome
Node version
18.13.0
Anything else?
const Button: NgDocPage = {
title:
myButton
,mdFile: './index.md',
category: ComposedComponentsCategory,
demos: { ButtonDemoComponent },
imports: [ButtonComponent],
hidden: true,
playgrounds: { ... }
}
The text was updated successfully, but these errors were encountered: