Skip to content
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

Merged
merged 3 commits into from
Jun 27, 2017
Merged

Update definitions for Task and Tutorial. #4206

merged 3 commits into from
Jun 27, 2017

Conversation

steveperry-53
Copy link
Contributor

@steveperry-53 steveperry-53 commented Jun 27, 2017

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 Reviewable

Copy link
Contributor

@chenopis chenopis left a 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>
Copy link
Contributor

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>.

Copy link
Contributor Author

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>
Copy link
Contributor

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed

Copy link
Contributor

@chenopis chenopis left a 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>
Copy link
Contributor

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.

@cody-clark
Copy link
Contributor

I agree. The examples really help differentiate the categories.

@chenopis chenopis merged commit 2727003 into kubernetes:master Jun 27, 2017
chenopis added a commit that referenced this pull request Jun 27, 2017
chenopis added a commit that referenced this pull request Jun 27, 2017
@ryanmcginnis
Copy link
Contributor

/lgtm

@steveperry-53 steveperry-53 deleted the page-types branch July 26, 2017 21:05
jesscodez pushed a commit that referenced this pull request Sep 22, 2017
* Update definitions for Task and Tutorial.

* Fix broken links.

* Still fixing broken links.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cncf-cla: yes Indicates the PR's author has signed the CNCF CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants