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

API docs updates #3520

Merged
merged 2 commits into from
Oct 28, 2017
Merged

Conversation

chrislovecnm
Copy link
Contributor

@chrislovecnm chrislovecnm commented Oct 3, 2017

  • tweak to .gitignore
  • updating api docs
  • updated docs/apireference/README.md with how to generate docs

@justinsb any idea what happened to the hack script? hack/make-gendocs.sh did not work last time I tried to do this, but I updated the instructions in the docs/apireference/README.md for how to get it to work now.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files. labels Oct 3, 2017
@chrislovecnm
Copy link
Contributor Author

chrislovecnm commented Oct 3, 2017

@pwittrock is there an easy way to host these docs files? Any instructions? Also, who knows how we are generating docs for kubectl now?

@chrislovecnm
Copy link
Contributor Author

/approve

@k8s-github-robot k8s-github-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 3, 2017
@chrislovecnm chrislovecnm added this to the 1.8.0 milestone Oct 3, 2017
@chrislovecnm
Copy link
Contributor Author

Marked as blocks next, as we need to release updated api docs with every release.

@chrislovecnm chrislovecnm changed the title Api docs updates API docs updates Oct 3, 2017
@k8s-github-robot
Copy link

@chrislovecnm PR needs rebase

@k8s-github-robot k8s-github-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 3, 2017
@justinsb
Copy link
Member

justinsb commented Oct 9, 2017

@chrislovecnm uploaded the missing hack script - sorry. #3567

@justinsb
Copy link
Member

justinsb commented Oct 9, 2017

LGTM but there's a conflict on .gitignore (because of the bazel ignores - sorry!), and let's call the hack script once we merge #3567 :-)

Makefile Outdated
# Follow procedure in docs/apireference/README.md
hack/make-gendocs.sh
# hack/make-gendocs.sh
Copy link
Member

Choose a reason for hiding this comment

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

We do want this. Sorry I left it off before.

@@ -13,8 +13,11 @@ go get -u github.com/kubernetes-incubator/apiserver-builder/cmd/...
# Install the reference docs commands (apiserver-builder commands invoke these)
go get -u github.com/kubernetes-incubator/reference-docs/gen-apidocs/...
Copy link
Member

Choose a reason for hiding this comment

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

We should also mention here that we expect make gen-api-docs to work, presuming we think it now works!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Another PR? We need to figure out the install instructions. I installed this differently than you did ...

I had to install lister-gen. @pwittrock any ideas?

go install k8s.io/code-generator/cmd/lister-gen

@k8s-github-robot k8s-github-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Oct 12, 2017
@chrislovecnm chrislovecnm added the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 12, 2017
@chrislovecnm
Copy link
Contributor Author

@justinsb before we merge, should we make this as part of the release process??

@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 28, 2017
@chrislovecnm
Copy link
Contributor Author

/assign @andrewsykim

@andrewsykim / @justinsb PTAL

New docs. @pwittrock is going to be out of the office for awhile. When he gets back we can check on the question we have about go install k8s.io/code-generator/cmd/lister-gen. I will open an issue

@justinsb
Copy link
Member

@chrislovecnm putting this into the release doc is a great idea, as I think that's the right time to publish these. I don't necessarily want to be regenerating these on every PR, depending on how stable the output is...

Looking at the PR itself now!

@justinsb
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 28, 2017
@k8s-github-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: chrislovecnm, justinsb

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these OWNERS Files:
  • OWNERS [chrislovecnm,justinsb]

You can indicate your approval by writing /approve in a comment
You can cancel your approval by writing /approve cancel in a comment

@k8s-github-robot
Copy link

/test all [submit-queue is verifying that this PR is safe to merge]

@k8s-github-robot
Copy link

Automatic merge from submit-queue.

@k8s-github-robot k8s-github-robot merged commit 8885c6d into kubernetes:master Oct 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. blocks-next cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XXL Denotes a PR that changes 1000+ lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants