Issue#1541: Corrected the examples and default value errors in the documentation.

This commit is contained in:
ChenJunHeng 2026-02-04 20:29:42 +08:00
parent 2fd4c598ad
commit 69a37ddad8
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ The :code:`indent_style` option can be set globally for all rules and locally fo
.. code-block:: yaml
rules:
rule:
global:
indent_style: 'smart_tabs'
indent_size: 2

View File

@ -20,7 +20,7 @@ The method of indenting can be configured using one of the following options:
:code:`left`, :code:`report`
.. |default_value| replace::
:code:`left`
:code:`report`
.. |report| replace::
:code:'report`

View File

@ -43,7 +43,7 @@ There are several options to these rules:
+-------------------------+-------------+---------------+-----------------------------------+
| Method | Values | Default | Description |
+=========================+=============+===============+===================================+
| |new_line_after_assign| | |values1| | |default_yes| | * |new_line_after_assign__yes| |
| |new_line_after_assign| | |values1| | |default_no| | * |new_line_after_assign__yes| |
| | | | * |new_line_after_assign__no| |
| | | | * |new_line_after_assign__ignore| |
+-------------------------+-------------+---------------+-----------------------------------+