-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Import kubernetes/community docs #6863
Conversation
Deploy preview ready! Built with commit 563f693 https://deploy-preview-6863--kubernetes-io-master-staging.netlify.com |
CI failure is real. |
FYI, Travis is failing because I need to create a ToC for these docs. |
be92fd9
to
a6df212
Compare
@steveperry-53 The changes are done and tested. I decided to just modify the original |
51df236
to
ef1c44d
Compare
a5d7bcf
to
8f2bfd9
Compare
@steveperry-53 @castrojo This should be good to go. PTAL |
/cc @zacharysarah |
@chenopis I'm reviewing now. I'll have feedback by the end of the day. |
docs/imported/community/guide.md
Outdated
## Sign the CLA | ||
|
||
Before you can contribute, you will need to sign the [Contributor License Agreement](/CLA.md). | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After the content is imported to kubernetes.io, there are a lot of broken links. It's because of relative link targets like (/CLA.md).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we be encouraging full URL links in the community repo?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@abiogenesis-now is going to add in code to rewrite the URLs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR is here #6926
[community/kep pages] Add automated handling for links from imported files
Thanks @abiogenesis-now ! @steveperry-53 @castrojo This is now out the door! =) |
…henopis-user-journeys * 'master' of https://github.com/kubernetes/website: Import kubernetes/community docs (#6863) Update conventions.md Update troubleshooting-kubeadm.md Update troubleshooting-kubeadm.md
This PR generalizes the
/update-imported-docs/update-imported-docs.go
script to import files from any arbitrary repo. For example, the PR introduces acommunity.yml
file which imports 4 files from the kubernetes/community repo into the/imported/community/
directory.Major changes:
go run update-imported-docs.go
so that the script properly sets the base directory of the website regardless of where it is executed from.hack/generate-docs.sh
, into an optional entry in the YAML file.NOTE: Any new documents imported into the repo will need to be added to the
/_data/imported.yml
ToC file or else Travis CI will fail.This change is