Skip to content

Commit 69a37dd

Browse files
author
ChenJunHeng
committed
Issue#1541: Corrected the examples and default value errors in the documentation.
1 parent 2fd4c59 commit 69a37dd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/configuring_indent_rules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The :code:`indent_style` option can be set globally for all rules and locally fo
3939

4040
.. code-block:: yaml
4141
42-
rules:
42+
rule:
4343
global:
4444
indent_style: 'smart_tabs'
4545
indent_size: 2

docs/configuring_multiline_assert_rule.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The method of indenting can be configured using one of the following options:
2020
:code:`left`, :code:`report`
2121

2222
.. |default_value| replace::
23-
:code:`left`
23+
:code:`report`
2424

2525
.. |report| replace::
2626
:code:'report`

docs/configuring_simple_multiline_structure_rules.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ There are several options to these rules:
4343
+-------------------------+-------------+---------------+-----------------------------------+
4444
| Method | Values | Default | Description |
4545
+=========================+=============+===============+===================================+
46-
| |new_line_after_assign| | |values1| | |default_yes| | * |new_line_after_assign__yes| |
46+
| |new_line_after_assign| | |values1| | |default_no| | * |new_line_after_assign__yes| |
4747
| | | | * |new_line_after_assign__no| |
4848
| | | | * |new_line_after_assign__ignore| |
4949
+-------------------------+-------------+---------------+-----------------------------------+

0 commit comments

Comments
 (0)