Go to file
John Mulhausen e899d54a1b 1.2 changes for top-level docs 2016-03-07 07:45:14 +00:00
_data 1.2 changes for top-level docs 2016-03-07 07:45:14 +00:00
_includes moved page title conditional into head-header.html 2016-03-04 17:07:06 -08:00
_layouts Assigning remaining topics to TOC. Some deletions, combinations, and relegations to READMEs. Deactivating AnswerDash for now. 2016-03-06 02:24:03 -08:00
_sass No fixed footer 2016-03-05 21:55:38 -08:00
css migrated sass build process to jekyll 2016-02-24 16:59:38 -08:00
docs 1.2 changes for top-level docs 2016-03-07 07:45:14 +00:00
images head-header.html 2016-03-04 16:02:00 -08:00
js moved page title conditional into head-header.html 2016-03-04 17:07:06 -08:00
.gitignore Update .gitignore 2016-03-05 22:30:02 -08:00
404.md Sitemap and other TOC changes 2016-02-23 01:10:47 -08:00
LICENSE Update LICENSE 2016-03-07 07:12:53 +00:00
README.md Fix instructions for ruby install via rvm 2016-03-06 21:47:27 +11:00
_config.yml Nips and tucks to Kubernetes 1.2 imports, config change default to 1.2 2016-03-06 18:28:56 +00:00
community.html moved page title conditional into head-header.html 2016-03-04 17:07:06 -08:00
feed.xml Adds Answerdash, Analytics, feed.xml, LICENSE, robots.txt, and Google Site Verification files 2016-03-04 13:50:51 -08:00
google0a2c3c07b75f9679.html Adds Answerdash, Analytics, feed.xml, LICENSE, robots.txt, and Google Site Verification files 2016-03-04 13:50:51 -08:00
google2a9463bd6a902e34.html Adds Answerdash, Analytics, feed.xml, LICENSE, robots.txt, and Google Site Verification files 2016-03-04 13:50:51 -08:00
googlece48a67808b497a5.html Adds Answerdash, Analytics, feed.xml, LICENSE, robots.txt, and Google Site Verification files 2016-03-04 13:50:51 -08:00
imports.txt Application of code include widget, hack curl calls for three file downloads, saas code/pre fixes, comment-out of version drop-down 2016-03-01 19:43:10 -08:00
index.html Assigning remaining topics to TOC. Some deletions, combinations, and relegations to READMEs. Deactivating AnswerDash for now. 2016-03-06 02:24:03 -08:00
robots.txt Adds Answerdash, Analytics, feed.xml, LICENSE, robots.txt, and Google Site Verification files 2016-03-04 13:50:51 -08:00
sitemap.xml Sitemap and other TOC changes 2016-02-23 01:10:47 -08:00
update-imported-docs.sh 1.2 changes for admin/ 2016-03-06 04:26:30 -08:00

README.md

Contributing to the Kubernetes Documentation and Website

Welcome! We are very pleased you want to contribute to Kubernetes.

You can click the "Fork" button in the upper-right area of the screen to create a copy of our site on your GitHub account called a "fork." Make any changes you want in your fork, and when you are ready to send those changes to us, go to the index page for your fork and click "New Pull Request" to let us know about it.

If you want to see your changes staged without having to install anything locally, change your fork of our repo to be named:

YOUR_GITHUB_USERNAME.github.io

Then, visit: http://YOUR_GITHUB_USERNAME.github.io

You should see a special-to-you version of the site.

Running the site locally

If you have files to upload, or just want to work offline, run the below commands to setup your environment for running GitHub pages locally. Then, any edits you make will be viewable on a lightweight webserver that runs on your local machine.

First install rvm

\curl -sSL https://get.rvm.io | bash -s stable

Then load it into your environment

source /Users/(USERNAME)/.rvm/scripts/rvm (or whatever is prompted by the installer)

Then install Ruby 2.2 or higher

rvm install ruby-2.2.4
rvm use ruby-2.2.4 --default

Verify that this new version is running (optional)

which ruby
ruby -v

Install the GitHub Pages package, which includes Jekyll

gem install github-pages

Clone our site

git clone https://github.com/kubernetes/kubernetes.github.io.git

Then, to see it run locally:

cd kubernetes.github.io
jekyll serve

Your copy of the site will then be viewable at: http://0.0.0.0:4000 (or wherever Ruby tells you).

If you're a bit rusty with git/GitHub, you might wanna read this for a refresher.

The above instructions work on Mac and Linux. These instructions might help for Windows users.

Thank you!

Kubernetes thrives on community participation and we really appreciate your contributions to our site and our documentation!