From 25e9127db9004c9c49ca46bdf5297682fac71fbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=B0=D0=B4=D0=B8=D0=BC=20=D0=A5=D1=80=D0=B8=D1=81?= =?UTF-8?q?=D1=82=D0=B5=D0=BD=D0=BA=D0=BE?= Date: Sat, 5 Apr 2025 20:32:24 +0300 Subject: [PATCH] [#1653, #1654] docs: fix code block formatting in router.rst (#1666) * fix(docs): fix formatting in router.rst * chore(changelog): add entry for #1666 --- CHANGES/1666.doc.rst | 1 + docs/dispatcher/router.rst | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 CHANGES/1666.doc.rst diff --git a/CHANGES/1666.doc.rst b/CHANGES/1666.doc.rst new file mode 100644 index 00000000..ac768c87 --- /dev/null +++ b/CHANGES/1666.doc.rst @@ -0,0 +1 @@ +Fixed broken code block formatting in ``router.rst`` caused by incorrect indentation of directive options. diff --git a/docs/dispatcher/router.rst b/docs/dispatcher/router.rst index 9f59492a..317f4e8d 100644 --- a/docs/dispatcher/router.rst +++ b/docs/dispatcher/router.rst @@ -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