moved intercept script
parent
0b949f3b7f
commit
a4eb9a71f6
|
@ -4,23 +4,6 @@ section: support
|
|||
showedit: false
|
||||
---
|
||||
|
||||
<script language="JavaScript">
|
||||
(function(){
|
||||
π.listen(init);
|
||||
function init(){
|
||||
π.clean(init);
|
||||
|
||||
var editLink = πd('editLink');
|
||||
if(window.location.hash) {
|
||||
var page = window.location.hash.substring(1,window.location.hash.length);
|
||||
editLink.innerHTML = '<h2>Continue with your edit</h2><p>Click the below link to edit the page you were just on. When you are done, press "Commit Changes" at the bottom of the screen. This will create a copy of our site on 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.</p><a class="button" href="https://github.com/kubernetes/kubernetes.github.io/edit/master/' + page + '">Edit "' + page + '"</a>';
|
||||
} else {
|
||||
editLink.innerHTML = '<h2>Editing the site in the cloud</h2><p>Click the below button 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 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.</p><a class="button" href="https://github.com/kubernetes/kubernetes.github.io/">Visit our GitHub repo</a>';
|
||||
}
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
||||
Welcome! We are very pleased you want to contribute to the docs for Kubernetes.
|
||||
|
||||
{% raw %}<span id="editlink"></span>{% endraw %}
|
||||
|
@ -87,3 +70,19 @@ might help for Windows users.
|
|||
|
||||
Kubernetes thrives on community participation and we really appreciate your
|
||||
contributions to our site and our documentation!
|
||||
<script language="JavaScript">
|
||||
(function(){
|
||||
π.listen(init);
|
||||
function init(){
|
||||
π.clean(init);
|
||||
|
||||
var editLink = πd('editLink');
|
||||
if(window.location.hash) {
|
||||
var page = window.location.hash.substring(1,window.location.hash.length);
|
||||
editLink.innerHTML = '<h2>Continue with your edit</h2><p>Click the below link to edit the page you were just on. When you are done, press "Commit Changes" at the bottom of the screen. This will create a copy of our site on 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.</p><a class="button" href="https://github.com/kubernetes/kubernetes.github.io/edit/master/' + page + '">Edit "' + page + '"</a>';
|
||||
} else {
|
||||
editLink.innerHTML = '<h2>Editing the site in the cloud</h2><p>Click the below button 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 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.</p><a class="button" href="https://github.com/kubernetes/kubernetes.github.io/">Visit our GitHub repo</a>';
|
||||
}
|
||||
}
|
||||
})();
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue