• Akira Yokosawa's avatar
    docs/RCU/rcubarrier: Right-adjust line numbers in code snippets · eff86459
    Akira Yokosawa authored
    Line numbers in code snippets in rcubarrier.rst have beed left adjusted
    since commit 4af49830 ("doc: Convert to rcubarrier.txt to ReST").
    This might have been because right adjusting them had confused Sphinx.
    
    The rules around a literal block in reST are:
    
      - Need a blank line above it.
      - A line with the same indent level as the line above it is regarded
        as the end of it.
    
    Those line numbers can be right adjusted by keeping indents at two-
    digit numbers. While at it, add some spaces between the column of line
    numbers and the code area for better readability.
    Signed-off-by: default avatarAkira Yokosawa <akiyks@gmail.com>
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    eff86459
rcubarrier.rst 14.3 KB