Updates for issue #504:

Updating documentation for all rules which will use the new previous line rule.
This commit is contained in:
Jeremiah Leary 2021-01-21 19:40:08 -06:00
parent 6f040186ff
commit 69233c8e14
13 changed files with 44 additions and 50 deletions

View File

@ -33,9 +33,9 @@ This rule has been split into the following rules:
architecture_003
################
This rule check for a blank line above the **architecture** declaration.
This rule check for a blank lines or comments above the **architecture** declaration.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**
@ -296,9 +296,9 @@ Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ f
architecture_016
################
This rule checks for a blank line above the **begin** keyword.
This rule checks for a blank lines or comments above the **begin** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**
@ -345,9 +345,9 @@ Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ f
architecture_018
################
This rule checks for a blank line above the **end architecture** declaration.
This rule checks for blank lines or comments above the **end architecture** declaration.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -180,9 +180,9 @@ Vertical Spacing Rules (200 - 299)
block_200
^^^^^^^^^
This rule checks for a blank line above the block label.
This rule checks for blank lines or comments above the block label.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**
@ -224,9 +224,9 @@ Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ f
block_202
^^^^^^^^^
This rule checks for a blank line above the **begin** keyword.
This rule checks for blank lines or comments above the **begin** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**
@ -272,9 +272,9 @@ Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ f
block_204
^^^^^^^^^
This rule checks for a blank line above the **end** keyword.
This rule checks for blank lines or comments above the **end** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -132,10 +132,9 @@ This rule checks for a single space between the **end** and **case** keywords.
case_007
########
This rule checks for a blank line before the **case** keyword.
Comments are allowed before the **case** keyword.
This rule checks for blank lines or comments before the **case** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**
@ -185,9 +184,9 @@ Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ f
case_009
########
This rule checks for a blank line above the **end** keyword.
This rule checks for blank lines or comments above the **end** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -49,9 +49,9 @@ This rule checks for a single space after the **component** keyword.
component_003
#############
This rule checks for a blank line above the **component** declaration.
This rule checks for blank lines or comments above the **component** declaration.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -44,10 +44,9 @@ This rule checks for a single space between the **context** keyword and the cont
context_003
###########
This rule checks for a blank line above the **context** keyword.
Comment are allowed.
This rule checks for blank lines or comments above the **context** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**
@ -484,9 +483,9 @@ Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ f
context_024
###########
This rule adds a blank line above the **end** keyword.
This rule checks for blank lines or comments above the **end** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -43,9 +43,9 @@ This rule checks for a single space after the **entity** keyword.
entity_003
##########
This rule checks for a blank line above the entity keyword.
This rule checks for a blank lines or comments above the entity keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to the section `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -112,9 +112,9 @@ Refer to the section `Configuring Uppercase and Lowercase Rules <configuring_cas
function_006
############
This rule checks for a blank line above the **function** keyword.
This rule checks for blank lines or comments above the **function** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -70,9 +70,9 @@ Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ f
generate_004
############
This rule checks for a blank line before the **generate** keyword.
This rule checks for blank lines or comments before the **generate** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -534,7 +534,7 @@ if_030
This rule checks for at least a single blank line after the **end if**.
In the case of nested **if** statements, the rule will be enfoced on the last **end if**.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
**Violation**
@ -559,12 +559,10 @@ Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ f
if_031
######
This rule checks for at least a single blank line before the **if**, unless there is a comment.
This rule checks for blank lines or comments before the **if** keyword.
In the case of nested **if** statements, the rule will be enfoced on the first **if**.
.. NOTE:: Comments are allowed above the instantiation.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -65,11 +65,9 @@ This rule checks for a single space before the colon.
instantiation_004
#################
This rule checks for a blank line above the instantiation.
This rule checks for blank lines or comments above the instantiation.
.. NOTE:: Comments are allowed above the instantiation.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -103,9 +103,9 @@ Vertical Spacing Rules
package_body_200
^^^^^^^^^^^^^^^^
This rule checks for a blank line above the **package** keyword.
This rule checks for blank lines or comments above the **package** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**
@ -147,9 +147,9 @@ Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ f
package_body_202
^^^^^^^^^^^^^^^^
This rule checks for a blank line above the **end package** keyword.
This rule checks for blank lines or comments above the **end package** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -42,9 +42,9 @@ This rule checks for a single space between **package** and **is** keywords.
package_003
###########
This rule checks for a blank line above the **package** keyword.
This rule checks for blank lines or comments above the **package** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**
@ -216,9 +216,9 @@ Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ f
package_012
###########
This rule checks for a blank line above the **end package** keyword.
This rule checks for blank lines or comments above the **end package** keyword.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**

View File

@ -183,9 +183,9 @@ This rule checks for an enumerate type after the open parenthesis on multiline e
type_010
########
This rule checks for a blank line above the **type** declaration.
This rule checks for blank lines or comments above the **type** declaration.
Refer to the section `Configuring Blank Lines <configuring_blank_lines.html>`_ for options regarding comments.
Refer to `Configuring Previous Line Rules <configuring_previous_line_rules.html>`_ for options.
**Violation**