diff --git a/archetypes/tutorials.md b/archetypes/tutorials.md index 223b480788..46e2017460 100644 --- a/archetypes/tutorials.md +++ b/archetypes/tutorials.md @@ -7,6 +7,8 @@ content_type: tutorial ## {{% heading "prerequisites" %}} +{{< include "task-tutorial-prereqs.md" >}} + ## {{% heading "objectives" %}} diff --git a/static/_redirects b/static/_redirects index 9f89f70f49..be3665de6f 100644 --- a/static/_redirects +++ b/static/_redirects @@ -300,7 +300,6 @@ /docs/tutorials/kubernetes-basics/update-intro/ /docs/tutorials/kubernetes-basics/update/update-intro/ 301 /ja/docs/tutorials/kubernetes-basics/update-intro/ /ja/docs/tutorials/kubernetes-basics/update/update-intro/ 301 /ko/docs/tutorials/kubernetes-basics/update-intro/ /ko/docs/tutorials/kubernetes-basics/update/update-intro/ 301 -/docs/tutorials/example-tutorial-template.md -> /example-templates/example-tutorial-template.md 301 /docs/tutorials/object-management-kubectl/declarative-object-management-configuration/ /docs/concepts/overview/object-management-kubectl/declarative-config/ 301 /docs/tutorials/object-management-kubectl/imperative-object-management-command/ /docs/concepts/overview/object-management-kubectl/imperative-command/ 301 /docs/tutorials/object-management-kubectl/imperative-object-management-configuration/ /docs/concepts/overview/object-management-kubectl/imperative-config/ 301 diff --git a/static/example-templates/example-tutorial-template.md b/static/example-templates/example-tutorial-template.md deleted file mode 100644 index ec2b70cc8e..0000000000 --- a/static/example-templates/example-tutorial-template.md +++ /dev/null @@ -1,69 +0,0 @@ ---- -title: Example Tutorial Template -reviewers: -- chenopis -content_template: templates/tutorial ---- - -{{% 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 >}} - -This page shows how to ... - -{{% /capture %}} - -{{% capture prerequisites %}} - -* {{< include "task-tutorial-prereqs.md" >}} {{< version-check >}} -* Do this. -* Do this too. - -{{% /capture %}} - -{{% capture objectives %}} - -* Learn this. -* Build this. -* Run this. - -{{% /capture %}} - -{{% capture lessoncontent %}} - -## Building ... - -1. Do this. -1. Do this next. Possibly read this [related explanation](...). - -## Running ... - -1. Do this. -1. Do this next. - -## Understanding the code -Here's something interesting about the code you ran in the preceding steps. - -{{% /capture %}} - -{{% capture cleanup %}} - -**[Optional Section]** - -* Delete this. -* Stop this. - -{{% /capture %}} - -{{% capture whatsnext %}} - -**[Optional Section]** - -* 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. - -{{% /capture %}} - -