Skip to content
This repository has been archived by the owner on Sep 24, 2022. It is now read-only.

Commit

Permalink
Removed the use of a table within template-howto and about-howto
Browse files Browse the repository at this point in the history
  • Loading branch information
camerons committed Feb 27, 2020
1 parent 35ea718 commit def95b0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 22 deletions.
9 changes: 1 addition & 8 deletions how-to/about-howto.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,7 @@ Make sure you meet the following prerequisites before following the steps:

### About the "Step by step guide" sections

When you are explaining steps in a process, it can often be useful to include a screenshot for each part of the process.
What can often happen is that when you try to insert a graphic or screenshot into the flow of the procedure, it breaks the procedural content up and makes the instructions difficult to read.

In the `template-howto.adoc` file, you'll notice the tabular step format in the Step-by-step section of the template.
The tabular format allows you to add in your procedural steps right next to the screenshot and reference steps with call-outs.

If you procedural steps do not require screenshots, then you can default to an ordered list.
You can also get this structure in Markdown, but you may need to resort to HTML tables. For Markdown, keep the list as an Ordered list.
..

## How-to Article Examples

Expand Down
22 changes: 8 additions & 14 deletions how-to/template-howto.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -20,32 +20,26 @@ Make sure you meet the following prerequisites before starting the how-to steps:

== Step-by-step guide

// If your how-to is simple (it doesn't contain screenshots or code samples) you can use an ordered list for your procedure. Otherwise use the step table.
=== Descriptive title

[cols="a,a,a" options="header,autowidth"]
|===
|Step
|Task
|Screenshot or example
// When an image, such as a screenshot, is quicker to interpret than descriptive text, put the screenshot first, otherwise lead with the text.

|1
|Lead-in sentence for an ordered list:
image::https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg[Tux,250,350]

Lead-in sentence for an ordered list:

. Step 1
. Step 2
. Step 3

|image::https://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg[Tux,250,350]
=== Descriptive title for code snippet

Lead in sentence explaining the code snippet. E.g.: Run the `apt` command to install the Asciidoctor package and check the version.

|2
|Run the `apt` command to install the Asciidoctor package and check the version.
|
[source]
----
$ sudo apt install asciidoctor
$ asciidoctor --version
Asciidoctor 1.5.6.2 [https://asciidoctor.org]
----

|===

0 comments on commit def95b0

Please sign in to comment.