Skip to content

Conversation

@nkr0
Copy link

@nkr0 nkr0 commented Oct 31, 2025

All reST files use an indentation of 3 spaces; no tabs are allowed.

https://devguide.python.org/documentation/markup/#use-of-whitespace

Personally, I also find 3 spaces better in RST files. Aligns directives, bullets, and enumerated lists.

.. directive::

   content

-  item1
-  item2

   -  subitem

#. item1
#. item2

   a. subitem1
   #. subitem2

These items may need 4 spaces, but they can be avoided. And 3 is suited for directives

(1) Use 1. ..

    (a) .. or a)

10. hopefully you can auto-enumerate..
11. ..or do not need sub-items.

@github-actions
Copy link

Label error. Requires exactly 1 of: breaking, build, chore, ci, docs, feat, fix, perf, refactor, style, test. Found: . Follow https://www.conventionalcommits.org to get auto-labeling to work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant