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