diff options
author | Scott Dodson <sdodson@redhat.com> | 2016-11-16 11:13:41 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-16 11:13:41 -0500 |
commit | 8efb4ddb76ef31f78a139ca8ce6bba06703754aa (patch) | |
tree | 258c7229f7878892d3e949339bb5ebd3685acc80 | |
parent | d71fa60f733c987074258b6a9919d2d61ffbae5a (diff) | |
parent | a98883e844b960cef07966feab020cdc0c7ec43a (diff) | |
download | openshift-8efb4ddb76ef31f78a139ca8ce6bba06703754aa.tar.gz openshift-8efb4ddb76ef31f78a139ca8ce6bba06703754aa.tar.bz2 openshift-8efb4ddb76ef31f78a139ca8ce6bba06703754aa.tar.xz openshift-8efb4ddb76ef31f78a139ca8ce6bba06703754aa.zip |
Merge pull request #2816 from mtnbikenc/docs-fix
[Docs] Best Practices Guide - Corrected syntax and typos
-rw-r--r-- | docs/best_practices_guide.adoc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/docs/best_practices_guide.adoc b/docs/best_practices_guide.adoc index cac9645a6..e9d904965 100644 --- a/docs/best_practices_guide.adoc +++ b/docs/best_practices_guide.adoc @@ -52,11 +52,11 @@ If mode lines for other editors are needed, please open a GitHub issue. === Method Signatures ''' -[[When-adding-a-new-paramemter-to-an-existing-method-a-default-value-SHOULD-be-used]] +[[When-adding-a-new-parameter-to-an-existing-method-a-default-value-SHOULD-be-used]] [cols="2v,v"] |=== -| <<When-adding-a-new-paramemter-to-an-existing-method-a-default-value-SHOULD-be-used, Rule>> -| When adding a new paramemter to an existing method, a default value SHOULD be used +| <<When-adding-a-new-parameter-to-an-existing-method-a-default-value-SHOULD-be-used, Rule>> +| When adding a new parameter to an existing method, a default value SHOULD be used |=== The purpose of this rule is to make it so that method signatures are backwards compatible. @@ -194,7 +194,7 @@ The purpose of this rule is to make it easy to include custom modules in our pla | Parameters to Ansible modules SHOULD use the Yaml dictionary format when 3 or more parameters are being passed |=== -When a module has several parameters that are being passed in, it's hard to see exactly what value each parameter is getting. It is preferred to use the Ansible Yaml syntax to pass in parameters so that it's more clear what values are being passed for each paramemter. +When a module has several parameters that are being passed in, it's hard to see exactly what value each parameter is getting. It is preferred to use the Ansible Yaml syntax to pass in parameters so that it's more clear what values are being passed for each parameter. .Bad: [source,yaml] @@ -222,7 +222,7 @@ When a module has several parameters that are being passed in, it's hard to see | Parameters to Ansible modules SHOULD use the Yaml dictionary format when the line length exceeds 120 characters |=== -Lines that are long quickly become a wall of text that isn't easily parsable. It is preferred to use the Ansible Yaml syntax to pass in parameters so that it's more clear what values are being passed for each paramemter. +Lines that are long quickly become a wall of text that isn't easily parsable. It is preferred to use the Ansible Yaml syntax to pass in parameters so that it's more clear what values are being passed for each parameter. .Bad: [source,yaml] @@ -432,7 +432,7 @@ This is very useful when developing and debugging new tasks. It can also signifi [[Ansible-Roles-SHOULD-be-named-like-technology_component_subcomponent]] [cols="2v,v"] |=== -| [[Ansible-Roles-SHOULD-be-named-like-technology_component_subcomponent, Rule]] +| <<Ansible-Roles-SHOULD-be-named-like-technology_component_subcomponent, Rule>> | Ansible Roles SHOULD be named like technology_component[_subcomponent]. |=== |