Merge pull request #4197 from kubernetes/chenopis-task-template-patch

update example templates
This commit is contained in:
Andrew Chen
2017-06-26 16:33:52 -07:00
committed by GitHub
3 changed files with 36 additions and 0 deletions
@@ -1,14 +1,19 @@
--- ---
title: Example Concept Template title: Example Concept Template
assignees:
- chenopis
--- ---
{% capture overview %} {% capture overview %}
**NOTE:** Be sure to also [create an entry in the table of contents](/docs/home/contribute/write-new-topic/#creating-an-entry-in-the-table-of-contents) for your new document. **NOTE:** Be sure to also [create an entry in the table of contents](/docs/home/contribute/write-new-topic/#creating-an-entry-in-the-table-of-contents) for your new document.
This page explains ... This page explains ...
{% endcapture %} {% endcapture %}
{% capture body %} {% capture body %}
## Understanding ... ## Understanding ...
Kubernetes provides ... Kubernetes provides ...
@@ -16,13 +21,16 @@ Kubernetes provides ...
## Using ... ## Using ...
To use ... To use ...
{% endcapture %} {% endcapture %}
{% capture whatsnext %} {% capture whatsnext %}
**[Optional Section]** **[Optional Section]**
* Learn more about [Writing a New Topic](/docs/home/contribute/write-new-topic/). * Learn more about [Writing a New Topic](/docs/home/contribute/write-new-topic/).
* See [Using Page Templates - Concept template](/docs/home/contribute/page-templates/#concept_template) for how to use this template. * See [Using Page Templates - Concept template](/docs/home/contribute/page-templates/#concept_template) for how to use this template.
{% endcapture %} {% endcapture %}
{% include templates/concept.md %} {% include templates/concept.md %}
+13
View File
@@ -1,37 +1,50 @@
--- ---
title: Example Task Template title: Example Task Template
assignees:
- chenopis
--- ---
{% capture overview %} {% capture overview %}
**NOTE:** Be sure to also [create an entry in the table of contents](/docs/home/contribute/write-new-topic/#creating-an-entry-in-the-table-of-contents) for your new document. **NOTE:** Be sure to also [create an entry in the table of contents](/docs/home/contribute/write-new-topic/#creating-an-entry-in-the-table-of-contents) for your new document.
This page shows how to ... This page shows how to ...
{% endcapture %} {% endcapture %}
{% capture prerequisites %} {% capture prerequisites %}
* {% include task-tutorial-prereqs.md %}
* Do this. * Do this.
* Do this too. * Do this too.
{% endcapture %} {% endcapture %}
{% capture steps %} {% capture steps %}
## Doing ... ## Doing ...
1. Do this. 1. Do this.
1. Do this next. Possibly read this [related explanation](...). 1. Do this next. Possibly read this [related explanation](...).
{% endcapture %} {% endcapture %}
{% capture discussion %} {% capture discussion %}
## Understanding ... ## Understanding ...
**[Optional Section]** **[Optional Section]**
Here's an interesting thing to know about the steps you just did. Here's an interesting thing to know about the steps you just did.
{% endcapture %} {% endcapture %}
{% capture whatsnext %} {% capture whatsnext %}
**[Optional Section]** **[Optional Section]**
* Learn more about [Writing a New Topic](/docs/home/contribute/write-new-topic/). * Learn more about [Writing a New Topic](/docs/home/contribute/write-new-topic/).
* See [Using Page Templates - Task template](/docs/home/contribute/page-templates/#task_template) for how to use this template. * See [Using Page Templates - Task template](/docs/home/contribute/page-templates/#task_template) for how to use this template.
{% endcapture %} {% endcapture %}
{% include templates/task.md %} {% include templates/task.md %}
@@ -1,25 +1,35 @@
--- ---
title: Example Tutorial Template title: Example Tutorial Template
assignees:
- chenopis
--- ---
{% capture overview %} {% capture overview %}
**NOTE:** Be sure to also [create an entry in the table of contents](/docs/home/contribute/write-new-topic/#creating-an-entry-in-the-table-of-contents) for your new document. **NOTE:** Be sure to also [create an entry in the table of contents](/docs/home/contribute/write-new-topic/#creating-an-entry-in-the-table-of-contents) for your new document.
This page shows how to ... This page shows how to ...
{% endcapture %} {% endcapture %}
{% capture prerequisites %} {% capture prerequisites %}
* {% include task-tutorial-prereqs.md %}
* Do this. * Do this.
* Do this too. * Do this too.
{% endcapture %} {% endcapture %}
{% capture objectives %} {% capture objectives %}
* Learn this. * Learn this.
* Build this. * Build this.
* Run this. * Run this.
{% endcapture %} {% endcapture %}
{% capture lessoncontent %} {% capture lessoncontent %}
## Building ... ## Building ...
1. Do this. 1. Do this.
@@ -32,20 +42,25 @@ This page shows how to ...
## Understanding the code ## Understanding the code
Here's something interesting about the code you ran in the preceding steps. Here's something interesting about the code you ran in the preceding steps.
{% endcapture %} {% endcapture %}
{% capture cleanup %} {% capture cleanup %}
**[Optional Section]** **[Optional Section]**
* Delete this. * Delete this.
* Stop this. * Stop this.
{% endcapture %} {% endcapture %}
{% capture whatsnext %} {% capture whatsnext %}
**[Optional Section]** **[Optional Section]**
* Learn more about [Writing a New Topic](/docs/home/contribute/write-new-topic/). * Learn more about [Writing a New Topic](/docs/home/contribute/write-new-topic/).
* See [Using Page Templates - Tutorial template](/docs/home/contribute/page-templates/#tutorial_template) for how to use this template. * See [Using Page Templates - Tutorial template](/docs/home/contribute/page-templates/#tutorial_template) for how to use this template.
{% endcapture %} {% endcapture %}
{% include templates/tutorial.md %} {% include templates/tutorial.md %}