Re: [PATCH v2 1/6] Add AutoFDO support for Clang build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

> (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 hope that helps!

Cheers,
Miguel





[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux