On 9/30/22 17:32, David Gow wrote:
The indentation for code-block directive is required, since the preceding paragraph is multiline; otherwise there will be Sphinx warnings.
I don't see any such warnings on my machine (which claims to have sphinx-build 4.5.0).
Could you send an example warning, and your sphinx version to me so I can try to reproduce it.
Regardless, if it's causing warnings, keep these changes. (Though it'd be nice to include the warnings in the commit message, so it's obvious that these are being re-aligned for a reason.)
I'm using Sphinx 2.4.4 (as installed from pip through Documentation/sphinx/requirements.txt).
Sorry I can't reproduce the warning I mentioned earlier (I forget the recipe that triggers it when writing the improv).
In any case, I'd like to keep code block aligning in the separate patch. It would be nice to see code blocks aligned to the instructions list.