Skip to content

Commit 9ec9c73

Browse files
ahmetbchenopis
authored andcommitted
/docs/samples revamp: move examples to /tutorials
Addresses the work described at #4134. - Remove /docs/samples page: This page mostly had links to examples on kubernetes/kubernetes (examples dir) which is now at kubernetes/examples repository. It was linking to README.md files for tutorials. Now removing this page as we are moving tutorials from kubernetes/examples to here: - Create redirects from /docs/samples/ to /docs/tutorials/ (both JS and redirect_from). - Deprecate "MEAN Stack" tutorial: This tutorial overlaps quite a bit with existing "maintained" examples and has been out-of-date for a while. Creating an external redirect to its original and more up-to-date location: https://medium.com/google-cloud/running-a-mean-stack-on-google-cloud-platform-with-app-engine-and-mongolab-4bbd2040ea75 - Import README.md files of maintained examples (guestbook, wordpress+mysql and cassandra) to this repository and serve them under /docs/tutorial. - Update /docs/tutorials ToC: - Link to imported tutorials. - Fix missing articles on sidebar (_data/tutorials.yml) and make the tutorials listed on tutorials/index.md available on the sidebar (closes #4007). Signed-off-by: Ahmet Alp Balkan <[email protected]>
1 parent d33222a commit 9ec9c73

File tree

20 files changed

+1961
-745
lines changed

20 files changed

+1961
-745
lines changed

_data/samples.yml

-75
This file was deleted.

_data/tutorials.yml

+7
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,17 @@ toc:
4343
- docs/tutorials/object-management-kubectl/declarative-object-management-configuration.md
4444
- title: Stateless Applications
4545
section:
46+
- docs/tasks/run-application/run-stateless-application-deployment.md
47+
- docs/tutorials/stateless-application/guestbook.md
48+
- docs/tasks/access-application-cluster/service-access-application-cluster.md
4649
- docs/tutorials/stateless-application/expose-external-ip-address.md
4750
- title: Stateful Applications
4851
section:
4952
- docs/tutorials/stateful-application/basic-stateful-set.md
53+
- docs/tasks/run-application/run-single-instance-stateful-application.md
54+
- docs/tasks/run-application/run-replicated-stateful-application.md
55+
- docs/tutorials/stateful-application/mysql-wordpress-persistent-volume.md
56+
- docs/tutorials/stateful-application/cassandra.md
5057
- docs/tutorials/stateful-application/zookeeper.md
5158
- title: Clusters
5259
section:

_includes/templates/landing-page.md

-121
This file was deleted.

_layouts/docwithnav.html

-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ <h5>{{ toc.abstract }}</h5>
2828
<li><a href="/docs/tasks/" {% if toc.bigheader == "Tasks" %}class="YAH"{% endif %}>TASKS</a></li>
2929
<li><a href="/docs/tutorials/" {% if toc.bigheader == "Tutorials" %}class="YAH"{% endif %}>TUTORIALS</a></li>
3030
<li><a href="/docs/reference/" {% if toc.bigheader == "Reference Documentation" %}class="YAH"{% endif %}>REFERENCE</a></li>
31-
<li><a href="/docs/samples/" {% if toc.bigheader == "Samples" %}class="YAH"{% endif %}>SAMPLES</a></li>
3231
</ul>
3332
<div id="searchBox">
3433
<input type="text" id="search" placeholder="Search" onkeydown="if (event.keyCode==13) window.location.replace('/docs/search/?q=' + this.value)" autofocus="autofocus">

0 commit comments

Comments
 (0)