Skip to content
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

Autogenerate man pages for Hugo #1369

Closed
bep opened this issue Aug 21, 2015 · 6 comments
Closed

Autogenerate man pages for Hugo #1369

bep opened this issue Aug 21, 2015 · 6 comments

Comments

@bep
Copy link
Member

bep commented Aug 21, 2015

See

spf13/cobra@e499307

@bep bep changed the title Autogenerate man page to doc Autogenerate man pages for Hugo Aug 21, 2015
@anthonyfok anthonyfok self-assigned this Sep 28, 2015
@anthonyfok anthonyfok added this to the v0.15 milestone Sep 28, 2015
anthonyfok added a commit to anthonyfok/hugo that referenced this issue Nov 22, 2015
@anthonyfok
Copy link
Member

Hi @ bep,

Thank you for bringing Cobra's new man page generation capability to my attention. It is especially helpful because man pages are almost a requirement for Debian packaging.

I have added a quick-and-dirty command for man page generation in PR #1602.
Please let me know if there is anything that needs to be changed before it is fit for merging.
Many thanks!

@bep
Copy link
Member Author

bep commented Nov 22, 2015

Look fine, buuut ... looking at the command list now, we should maybe refactor all the gen* commands into subcommands. What about:

hugo gen doc
hugo gen autocomplete
hugo gen man

??? @spf13

But we can create another issue for that.

@spf13
Copy link
Contributor

spf13 commented Nov 22, 2015

I think that's a much better idea. We should let the kubernetes team know
or at least get them to weigh in as these are part of cobra.
On Sun, Nov 22, 2015 at 11:57 AM Bjørn Erik Pedersen <
notifications@github.com> wrote:

Look fine, buuut ... looking at the command list now, we should maybe
refactor all the gen* commands into subcommands. What about:

hugo gen doc
hugo gen autocomplete
hugo gen man

??? @spf13 https://github.com/spf13


Reply to this email directly or view it on GitHub
#1369 (comment).

@bep
Copy link
Member Author

bep commented Nov 22, 2015

See #1603 (I fail to see how that issue affects Kubernetes).

@anthonyfok
Copy link
Member

Thank you @ bep for merging this PR.

And I would like to chime in to say: Yes, great idea on refactoring these "gen*" commands to the umbrella of one new "gen" subcommand. 👍

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants