-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update definitions for Task and Tutorial. #4206
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple link issues.
@@ -22,17 +22,17 @@ is the best fit for your content: | |||
|
|||
<tr> | |||
<td>Task</td> | |||
<td>A task page shows how to do a single thing, typically by giving a short sequence of steps. Task pages have minimal explanation, but often provide links to conceptual topics that provide related background and knowledge.</td> | |||
<td>A task page shows how to do a single thing. The idea is to give readers a sequence of steps that they can actually do as they read the page. A task page can be short or long, provided it stays focused on one area. In a task page, it is OK to blend brief explanations with the steps to be performed, but if you need to provide a lengthy explanation, you should do that in a concept topic. Related task and concept topics should link to each other. For an example of a short task page, see <a href="/docs/tasks/configure-pod-container/configure-volume-storage/">Configure a Pod to Use a Volume for Storage</>. For an example of a longer task page, see <a href=/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/">Configure Liveness and Readiness Probes</a></td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Configure a Pod to Use a Volume for Storage link is broken. I think it's because the closing tag should be </a>
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
</tr> | ||
|
||
<tr> | ||
<td>Concept</td> | ||
<td>A concept page explains some aspect of Kubernetes. For example, a concept page might describe the Kubernetes Deployment object and explain the role it plays as an application is deployed, scaled, and updated. Typically, concept pages don't include sequences of steps, but instead provide links to tasks or tutorials.</td> | ||
<td>A concept page explains some aspect of Kubernetes. For example, a concept page might describe the Kubernetes Deployment object and explain the role it plays as an application is deployed, scaled, and updated. Typically, concept pages don't include sequences of steps, but instead provide links to tasks or tutorials. For an example of a concept topic, see <a href="docs/concepts/architecture/nodes/">Nodes</a>.</td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This link is broken too. I think it's missing a leading /
in the URL.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I missed one earlier.
@@ -22,17 +22,17 @@ is the best fit for your content: | |||
|
|||
<tr> | |||
<td>Task</td> | |||
<td>A task page shows how to do a single thing, typically by giving a short sequence of steps. Task pages have minimal explanation, but often provide links to conceptual topics that provide related background and knowledge.</td> | |||
<td>A task page shows how to do a single thing. The idea is to give readers a sequence of steps that they can actually do as they read the page. A task page can be short or long, provided it stays focused on one area. In a task page, it is OK to blend brief explanations with the steps to be performed, but if you need to provide a lengthy explanation, you should do that in a concept topic. Related task and concept topics should link to each other. For an example of a short task page, see <a href="/docs/tasks/configure-pod-container/configure-volume-storage/">Configure a Pod to Use a Volume for Storage</a>. For an example of a longer task page, see <a href=/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/">Configure Liveness and Readiness Probes</a></td> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, one more. The Configure Liveness and Readiness Probes link is missing the opening quote before the URL.
I agree. The examples really help differentiate the categories. |
…hub.io into release-1.6 * 'master' of https://github.com/kubernetes/kubernetes.github.io: Update definitions for Task and Tutorial. (#4206)
…hub.io into release-1.7 * 'master' of https://github.com/kubernetes/kubernetes.github.io: Update definitions for Task and Tutorial. (#4206)
/lgtm |
* Update definitions for Task and Tutorial. * Fix broken links. * Still fixing broken links.
The purpose of this PR is to bring our definitions of Task, Tutorial, and Concept into alignment with recent discussions about what these page types mean.
Reviewers: Do you agree with me that a Task page should have steps that the reader can actually perform as he/she reads through the topic?
In the Tutorial definition, I haven't given an example of a Tutorial page, because our idea of what a tutorial should be is still evolving. I'm not sure whether any of the existing topics under Tutorials should serve as a canonical example of a tutorial.
This change is