diff --git a/docs/configuring_multiline_indent_rules.rst b/docs/configuring_multiline_indent_rules.rst index 19da7bf9..04919bca 100644 --- a/docs/configuring_multiline_indent_rules.rst +++ b/docs/configuring_multiline_indent_rules.rst @@ -11,11 +11,11 @@ There are several options to these rules: +----------------------+---------+---------+---------------------------------------------------------+ | Method | Type | Default | Description | +======================+=========+=========+=========================================================+ -| align_left | string | "yes" | "yes" = New lines will be aligned left. | +| align_left | string | "yes" | "yes" = New lines will be aligned left. | | | | | "no" = Align to right of assignment operator. | +----------------------+---------+---------+---------------------------------------------------------+ -| align_paren | string | "no" | "yes" = Use open parenthesis for alignment. | -| | | | "no" = Do not use open parenthesis for alignment. | +| align_paren | string | "no" | "yes" = Use open parenthesis for alignment. | +| | | | "no" = Do not use open parenthesis for alignment. | +----------------------+---------+---------+---------------------------------------------------------+ This is an example of how to configure the option. @@ -89,7 +89,7 @@ The following code would pass with this option: ); Example: align_left "no", align_paren "no" -############################################ +########################################## The following code would fail with this option: @@ -124,7 +124,7 @@ The following code would pass with this option: ); Example: align_left "yes", align_paren "yes" -########################################## +############################################ The following code would fail with this option: diff --git a/docs/configuring_overview.rst b/docs/configuring_overview.rst index 7f96b070..0c408013 100644 --- a/docs/configuring_overview.rst +++ b/docs/configuring_overview.rst @@ -105,6 +105,8 @@ Here are a list of attributes that can be altered for each rule: | fixable | Boolean | If set to False, the violation will not be fixed | +-------------+---------+--------------------------------------------------+ +.. _reporting-single-rule-configuration: + Reporting Single Rule Configuration ----------------------------------- diff --git a/docs/library_rules.rst b/docs/library_rules.rst index 033391c0..3ffbcc6f 100644 --- a/docs/library_rules.rst +++ b/docs/library_rules.rst @@ -50,12 +50,12 @@ library_003 |phase_3| |error| |blank_line| -This rule checks for blank lines or comments above the entity keyword. +This rule checks for blank lines or comments above the **library** keyword. |configuring_previous_line_rules_link| There is an additional **allow_library_clause** option which can be set. -|reporting_single_rule_configuration_link| +Refer to section :ref:`reporting-single-rule-configuration` for details on finding configuration options for individual rules. allow_library_clause ^^^^^^^^^^^^^^^^^^^^ diff --git a/vsg/rules/library/rule_003.py b/vsg/rules/library/rule_003.py index 7e3e20ca..bf38b5d6 100644 --- a/vsg/rules/library/rule_003.py +++ b/vsg/rules/library/rule_003.py @@ -9,12 +9,12 @@ lTokens.append(token.library_clause.keyword) class rule_003(previous_line): ''' - This rule checks for blank lines or comments above the entity keyword. + This rule checks for blank lines or comments above the **library** keyword. |configuring_previous_line_rules_link| There is an additional **allow_library_clause** option which can be set. - |reporting_single_rule_configuration_link| + Refer to section :ref:`reporting-single-rule-configuration` for details on finding configuration options for individual rules. allow_library_clause ^^^^^^^^^^^^^^^^^^^^