According to restructuredtext guidelines, directives should have
following formatting:
.. directive_name:: param
:option:
body
So it starts with the leading two dots and the space. Next directive
name follows with two colons, and finally optional parameter. Than, line
below it is either some options delimited with colons, or an empty line.
After which body of the directive follows. It should be positioned just
at the same column as directive name, so exactly 3 spaces. Most of the
directives are formatted wrong, including:
- note
- image
- todo
- toctree
- warning
- figure
This patch fixes that.
Change-Id: Ic970f72aeb93bcda82f02e57b70370ab79d6855d