diff --git a/docs/after_rules.rst b/docs/after_rules.rst index 2cf298f9..7f1d22d4 100644 --- a/docs/after_rules.rst +++ b/docs/after_rules.rst @@ -1,11 +1,12 @@ +.. include:: icons.rst + After Rules ----------- -.. NOTE:: All rules in this group are disabled by default. - Use a configuration to enable them. +.. _after_001: -after_001 -######### +after_001 |phase_1| |disabled| |error| +###################################### This rule checks for **after x** in signal assignments in clock processes. @@ -48,8 +49,10 @@ This rule checks for **after x** in signal assignments in clock processes. The **units** is a valid time unit: ms, us, ns, ps etc... Default is *ns*. -after_002 -######### +.. _after_002: + +after_002 |phase_5| |disabled| |error| +###################################### This rule checks the *after* keywords are aligned in a clock process. Refer to the section `Configuring Keyword Alignment Rules `_ for information on changing the configurations. @@ -84,8 +87,10 @@ Refer to the section `Configuring Keyword Alignment Rules : + disable: False + +Rules Which are Disabled by Default +################################### + +* :any:`after_001` +* :any:`after_002` +* :any:`after_003` + diff --git a/docs/icons.rst b/docs/icons.rst new file mode 100644 index 00000000..17b1e2b1 --- /dev/null +++ b/docs/icons.rst @@ -0,0 +1,50 @@ + +.. |disabled| image:: img/disabled_icon.svg + :height: 25px + :width: 25px + :target: :ref:`configuring_disabled_rules` + +.. |warning| image:: img/warning_icon.svg + :height: 25px + :width: 25px + :target: rule_severity.html + +.. |error| image:: img/error_icon.svg + :height: 25px + :width: 25px + :target: rule_severity.html + +.. |phase_1| image:: img/phase_1_icon.svg + :height: 25px + :width: 25px + :target: phases.html + +.. |phase_2| image:: img/phase_2_icon.svg + :height: 25px + :width: 25px + :target: phases.html + +.. |phase_3| image:: img/phase_3_icon.svg + :height: 25px + :width: 25px + :target: phases.html + +.. |phase_4| image:: img/phase_4_icon.svg + :height: 25px + :width: 25px + :target: phases.html + +.. |phase_5| image:: img/phase_5_icon.svg + :height: 25px + :width: 25px + :target: phases.html + +.. |phase_6| image:: img/phase_6_icon.svg + :height: 25px + :width: 25px + :target: phases.html + +.. |phase_7| image:: img/phase_7_icon.svg + :height: 25px + :width: 25px + :target: phases.html diff --git a/docs/img/disabled_icon.svg b/docs/img/disabled_icon.svg new file mode 100755 index 00000000..9fbbe9fe --- /dev/null +++ b/docs/img/disabled_icon.svg @@ -0,0 +1,31 @@ + + + + + + + + + + Page-1 + + + Square.4 + D + + + + + + + D + + diff --git a/docs/img/error_icon.svg b/docs/img/error_icon.svg new file mode 100755 index 00000000..a4aa8bcd --- /dev/null +++ b/docs/img/error_icon.svg @@ -0,0 +1,31 @@ + + + + + + + + + + Page-1 + + + Square.3 + E + + + + + + + E + + diff --git a/docs/img/phase_1_icon.svg b/docs/img/phase_1_icon.svg new file mode 100755 index 00000000..0b4b5895 --- /dev/null +++ b/docs/img/phase_1_icon.svg @@ -0,0 +1,31 @@ + + + + + + + + + + Page-1 + + + Square.5 + 1 + + + + + + + 1 + + diff --git a/docs/img/phase_2_icon.svg b/docs/img/phase_2_icon.svg new file mode 100755 index 00000000..03d7274d --- /dev/null +++ b/docs/img/phase_2_icon.svg @@ -0,0 +1,31 @@ + + + + + + + + + + Page-1 + + + Square.6 + 2 + + + + + + + 2 + + diff --git a/docs/img/phase_3_icon.svg b/docs/img/phase_3_icon.svg new file mode 100755 index 00000000..3e57072d --- /dev/null +++ b/docs/img/phase_3_icon.svg @@ -0,0 +1,31 @@ + + + + + + + + + + Page-1 + + + Square.7 + 3 + + + + + + + 3 + + diff --git a/docs/img/phase_4_icon.svg b/docs/img/phase_4_icon.svg new file mode 100755 index 00000000..30662a8a --- /dev/null +++ b/docs/img/phase_4_icon.svg @@ -0,0 +1,31 @@ + + + + + + + + + + Page-1 + + + Square.8 + 4 + + + + + + + 4 + + diff --git a/docs/img/phase_5_icon.svg b/docs/img/phase_5_icon.svg new file mode 100755 index 00000000..a627b2e1 --- /dev/null +++ b/docs/img/phase_5_icon.svg @@ -0,0 +1,31 @@ + + + + + + + + + + Page-1 + + + Square.9 + 5 + + + + + + + 5 + + diff --git a/docs/img/phase_6_icon.svg b/docs/img/phase_6_icon.svg new file mode 100755 index 00000000..ddb03e83 --- /dev/null +++ b/docs/img/phase_6_icon.svg @@ -0,0 +1,31 @@ + + + + + + + + + + Page-1 + + + Square.10 + 6 + + + + + + + 6 + + diff --git a/docs/img/phase_7_icon.svg b/docs/img/phase_7_icon.svg new file mode 100755 index 00000000..076ba47b --- /dev/null +++ b/docs/img/phase_7_icon.svg @@ -0,0 +1,31 @@ + + + + + + + + + + Page-1 + + + Square.11 + 7 + + + + + + + 7 + + diff --git a/docs/img/warning_icon.svg b/docs/img/warning_icon.svg new file mode 100755 index 00000000..a0760c42 --- /dev/null +++ b/docs/img/warning_icon.svg @@ -0,0 +1,31 @@ + + + + + + + + + + Page-1 + + + Square + W + + + + + + + W + + diff --git a/docs/length_rules.rst b/docs/length_rules.rst index a1999eb2..beb80f84 100644 --- a/docs/length_rules.rst +++ b/docs/length_rules.rst @@ -1,24 +1,32 @@ +.. include:: icons.rst + Length Rules ------------ These rules cover the length of lines in the VHDL file. -length_001 -########## +.. _length_001: + +length_001 |phase_7| |warning| +############################## This rule checks the length of the line. Refer to the section `Configuring Length Rules `_ for configuring this option. -length_002 -########## +.. _length_002: + +length_002 |phase_7| |warning| +############################## This rule checks the length of a file. Refer to the section `Configuring Length Rules `_ for configuring this option. -length_003 -########## +.. _length_003: + +length_003 |phase_7| |warning| +############################## This rule check the length of a process statement. diff --git a/docs/rule_severity.rst b/docs/rule_severity.rst index 9437e6f1..c93e15df 100644 --- a/docs/rule_severity.rst +++ b/docs/rule_severity.rst @@ -36,7 +36,7 @@ Defining Severity Levels ------------------------ VSG supports user defined severity level. -Any new severity level will follow the same rules as the severity it is based on.. +Any new severity level will follow the same rules as the severity it is based on. It will be reported to the screen, but will not be reported in JUnit XML files and will not force an exit status of 1. To create your own severity level, create a configuration which defines just the severity level following this format: @@ -76,3 +76,10 @@ Apply the defined severity levels by calling both configurations: vsg -c severity.json rule_configuration.json -f fifo.vhd +Rules Which are Warnings by Default +################################### + +* :any:`length_001` +* :any:`length_002` +* :any:`length_003` +