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

updated kubernetes daemon man docs #10419

Merged
merged 1 commit into from
Jun 27, 2015

Conversation

mikedanese
Copy link
Member

These man pages are not autogenerated. They are generated from specially formatted
markdown files that need to be updated when flags are changed but nobody knows
about this so it is not enforced. Thus the man page generation is not useful.
For the sake of having up to date docs up to date for v1, I am manually updating
the markdown files and removing the md2man generation (because it doesn't work
with the format I'm updating them to). After v1 we need to gen this man pages with
the rest of our generated docs in a pre-commit hook so that they are not able to become
out of date. We can do this by converting our daemons to use cobra cmd like kubectl, or
better, using config objects (from files or etcd) instead of command line opts.

These docs are not autogenerated. They are generated from specially formated
markdown files that need to be updated when flags are changed but nobody knows
about this so it is not enforced. Thus the man page generation is not useful.
For the sake of having up to date docs up to date for v1, I am manually udating
the markdown files and removing the md2man generation. After v1 we need to gen
this man pages with the rest of our generated docs in a pre commit hook so that
they are not able to become out of date. We can do this by converting our daemons
to use cobra cmd like kubectl.
@mikedanese mikedanese changed the title updated kubernetes daemon "man" docs updated kubernetes daemon man docs Jun 26, 2015
@k8s-bot
Copy link

k8s-bot commented Jun 26, 2015

GCE e2e build/test passed for commit ff6d67e.

@bgrant0607 bgrant0607 added this to the v1.0 milestone Jun 26, 2015
@bgrant0607
Copy link
Member

LGTM
cc @eparis

@bgrant0607 bgrant0607 closed this Jun 26, 2015
@bgrant0607 bgrant0607 reopened this Jun 26, 2015
@bgrant0607 bgrant0607 added lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-merge labels Jun 26, 2015
@bgrant0607
Copy link
Member

doc change

@eparis
Copy link
Contributor

eparis commented Jun 26, 2015

so maybe no man page is better than a bad man page, but why is it so hard to gen the 'right' .md ?

@mikedanese
Copy link
Member Author

It was what I could do in 10 minutes with sed. I'm following this up with a PR that will gen this md and the man pages but I want to fix this ASAP.

roberthbailey added a commit that referenced this pull request Jun 27, 2015
updated kubernetes daemon man docs
@roberthbailey roberthbailey merged commit ca789b0 into kubernetes:master Jun 27, 2015
@mikedanese mikedanese deleted the docs-fixup branch June 27, 2015 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm "Looks good to me", indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants