Files
website/editdocs.md
T
Ahmet Alp Balkan 7cdcff7813 View $PAGE on Github without forking the repo
Adding a "View docs/bla-bla.md on GitHub" button next to the
"Edit docs/bla-bla.md" button so that people can view the file
first without clicking the Edit button (which does not work without
forking the repository).

I did not need this because I was trying to do something without
forking. I just found it to be bit difficult to view source of a page
on GitHub.

I'm open to ideas, perhaps we can instead add an article footer button
named "View on GitHub" next to the "Edit this Page".

Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com>
2017-03-20 12:49:47 -07:00

2.6 KiB

layout, title
layout title
docwithnav Contributing to the Kubernetes Documentation

 

<script language="JavaScript"> var forwarding=window.location.hash.replace("#",""); $( document ).ready(function() { if(forwarding) { $("#generalInstructions").hide(); $("#continueEdit").show(); $("#continueEditButton").text("Edit " + forwarding); $("#continueEditButton").attr("href", "https://github.com/kubernetes/kubernetes.github.io/edit/master/" + forwarding) $("#viewOnGithubButton").text("View " + forwarding + " on GitHub"); $("#viewOnGithubButton").attr("href", "https://github.com/kubernetes/kubernetes.github.io/tree/master/" + forwarding) } else { $("#generalInstructions").show(); $("#continueEdit").hide(); } }); </script>

Continue your edit

Click the button below to edit the page you were just on. When you are done, click Commit Changes at the bottom of the screen. This creates a copy of our site in your GitHub account called a fork. You can make other changes in your fork after it is created, if you want. When you are ready to send us all your changes, go to the index page for your fork and click New Pull Request to let us know about it.

Edit our site in the cloud

Click the button below to visit the repo for our site. You can then click the Fork button in the upper-right area of the screen to create a copy of our site in 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.

Browse this site's source code


For more information about contributing to the Kubernetes documentation, see: