Skip to content

skip hidden command recursively #65

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

Merged
merged 1 commit into from
May 19, 2025
Merged

Conversation

crazy-max
Copy link
Member

@crazy-max crazy-max requested a review from thaJeztah May 19, 2025 12:15
@crazy-max crazy-max marked this pull request as ready for review May 19, 2025 12:17
Comment on lines +172 to +174
if curr.Hidden {
cliDoc.Hidden = true
}
Copy link
Member

Choose a reason for hiding this comment

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

Wondering if we should keep these for the YAML docs (being more "data" then "end-result")?

Copy link
Member Author

Choose a reason for hiding this comment

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

The YAML file is still generated. What's changed is hidden attribute is now inherited from parent if set: https://github.com/docker/cli-docs-tool/pull/65/files#diff-cce07c459f10c3f29f937920cb8ba11cc3ab7028890917e036b3241da8940febR28

Copy link
Member

Choose a reason for hiding this comment

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

ah! Sorry ignore me then 🤗

Copy link
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

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

LGTM

@crazy-max crazy-max merged commit 7fde0e5 into docker:main May 19, 2025
6 checks passed
@crazy-max crazy-max deleted the hidden-inherit branch May 19, 2025 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants