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 f1f188f804)
f1f188f804