2 spaces is the most common indentation width used in the docs; adjust the rest for consistency. Also change .editorconfig accordingly.
(cherry picked from commit 1566324fd3)
1566324fd3