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

Remove duplicated docs #8895

Merged
merged 1 commit into from
Apr 10, 2020
Merged

Remove duplicated docs #8895

merged 1 commit into from
Apr 10, 2020

Conversation

olemarkus
Copy link
Member

The docs in README.md is duplicated in /docs, but we are not good at
keeping them in sync. Therefor I removed most of the information from
README.md andr refer to the docs instead.
Also fixed a few broken/missing links.

This is really more of an RFC, but I would love to get into a state where people start using https://kops.sigs.k8s.io/ over just the markdowns on github.

@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Apr 10, 2020
@@ -21,13 +21,13 @@ Kubernetes version.

## Compatibility Matrix

| kops version | k8s 1.11.x | k8s 1.12.x | k8s 1.13.x | k8s 1.14.x | k8s 1.15.x |
| kops version | k8s 1.12.x | k8s 1.13.x | k8s 1.14.x | k8s 1.15.x | k8s 1.16.x |
Copy link
Member

Choose a reason for hiding this comment

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

I feel like the information in this chart is the biggest stumbling block for most people. That said, the common failure mode is running a newer version of k8s than kops, and I believe we have an error message for that now, and we are hopefully about to ~ catch up, so may not be as big of a concern any more?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think this is less of a concern now that we have that warning.

Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed. The chart was added to help people but often confused them even more. Regardless, I feel like lack of clarity around supported versions was the real issue (which we've addresses very heavily lately). I think we should leave this for now and come back another time if it should be removed from the releases page.

https://go.k8s.io/bot-commands).


## Office Hours
Copy link
Member

Choose a reason for hiding this comment

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

I do think we should have a link to office hours on the "homepage"

Copy link
Member Author

Choose a reason for hiding this comment

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

I added a shorter description of office hours now, with a link to the longer one.

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for adding them, I agree it's good to have the link.

The docs in README.md is duplicated in /docs, but we are not good at
keeping them in sync. Therefor I removed most of the information from
README.md andr refer to the docs instead.
Also fixed a few broken/missing links.
Copy link
Contributor

@mikesplain mikesplain left a comment

Choose a reason for hiding this comment

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

This is great, thanks for the hard work @olemarkus! This is definitely the direction we wanted to go with many of these docs changes (and the whole reason they were duplicated in the first place). I think now is the perfect time to continue this cleanup! Thanks!

@@ -21,13 +21,13 @@ Kubernetes version.

## Compatibility Matrix

| kops version | k8s 1.11.x | k8s 1.12.x | k8s 1.13.x | k8s 1.14.x | k8s 1.15.x |
| kops version | k8s 1.12.x | k8s 1.13.x | k8s 1.14.x | k8s 1.15.x | k8s 1.16.x |
Copy link
Contributor

Choose a reason for hiding this comment

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

Agreed. The chart was added to help people but often confused them even more. Regardless, I feel like lack of clarity around supported versions was the real issue (which we've addresses very heavily lately). I think we should leave this for now and come back another time if it should be removed from the releases page.


## Documentation

[To check out Live documentation](https://kops.sigs.k8s.io/)
Copy link
Contributor

Choose a reason for hiding this comment

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

I wonder if we should move this to a comment at the top of this file to tell markdown users they should goto the live docs site?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not sure it is easy to add this without it also being rendered on the live docs site.
Maybe something to look into later?

Copy link
Contributor

Choose a reason for hiding this comment

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

Fair enough. 👍

https://go.k8s.io/bot-commands).


## Office Hours
Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks for adding them, I agree it's good to have the link.

@mikesplain mikesplain self-assigned this Apr 10, 2020
@mikesplain
Copy link
Contributor

Thanks @olemarkus!

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 10, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: mikesplain, olemarkus

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

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Apr 10, 2020
@k8s-ci-robot k8s-ci-robot merged commit 9777ce6 into kubernetes:master Apr 10, 2020
@k8s-ci-robot k8s-ci-robot added this to the v1.18 milestone Apr 10, 2020
@olemarkus olemarkus deleted the doc-fixes branch April 15, 2020 17:46
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. area/documentation 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/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants