[#1653, #1654] docs: fix code block formatting in router.rst (#1666)
Some checks failed
Tests / tests (macos-latest, 3.10) (push) Has been cancelled
Tests / tests (macos-latest, 3.11) (push) Has been cancelled
Tests / tests (macos-latest, 3.12) (push) Has been cancelled
Tests / tests (macos-latest, 3.13) (push) Has been cancelled
Tests / tests (macos-latest, 3.9) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.10) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.11) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.12) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.13) (push) Has been cancelled
Tests / tests (ubuntu-latest, 3.9) (push) Has been cancelled
Tests / tests (windows-latest, 3.10) (push) Has been cancelled
Tests / tests (windows-latest, 3.11) (push) Has been cancelled
Tests / tests (windows-latest, 3.12) (push) Has been cancelled
Tests / tests (windows-latest, 3.13) (push) Has been cancelled
Tests / tests (windows-latest, 3.9) (push) Has been cancelled
Tests / pypy-tests (macos-latest, pypy3.10) (push) Has been cancelled
Tests / pypy-tests (macos-latest, pypy3.9) (push) Has been cancelled
Tests / pypy-tests (ubuntu-latest, pypy3.10) (push) Has been cancelled
Tests / pypy-tests (ubuntu-latest, pypy3.9) (push) Has been cancelled

* fix(docs): fix formatting in router.rst

* chore(changelog): add entry for #1666
This commit is contained in:
Вадим Христенко 2025-04-05 20:32:24 +03:00 committed by GitHub
parent 870d97c783
commit 25e9127db9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

1
CHANGES/1666.doc.rst Normal file
View file

@ -0,0 +1 @@
Fixed broken code block formatting in ``router.rst`` caused by incorrect indentation of directive options.

View file

@ -232,7 +232,7 @@ Example:
.. code-block:: python
:caption: module_1.py
:name: module_1
:name: module_1
router2 = Router()
@ -242,7 +242,7 @@ Example:
.. code-block:: python
:caption: module_2.py
:name: module_2
:name: module_2
from module_2 import router2