On Mon, Oct 7, 2024 at 11:33 AM Miguel Ojeda <miguel.ojeda.sandonis@xxxxxxxxx> wrote: > > On Mon, Oct 7, 2024 at 8:04 PM Rong Xu <xur@xxxxxxxxxx> wrote: > > > > I removed the "code-block" directives from the rst files, > > and used "::" suggested by Jonathan. The rst files themselves are now > > I think it was Mike. Sorry for mixing up the names. > > > (1) The text that was previously in code-block no longer indents. It aligns > > with the preceding text, regardless of how many spaces I add. > > Did you try with a tab? At least in Doc/rust/ all those three ways > (i.e. `::`, `.. code-block::` and a single `:` for indented non-code) > seem to work fine, e.g. the following document uses all of them: > > https://docs.kernel.org/rust/coding-guidelines.html I looked at run/coding-guidelines.html generated by "make htmldocs". It has the same issue of indentation for "::" text. I also tried tab, nothing changed for me. -Rong > > I hope that helps! > > Cheers, > Miguel