From: Kefu Chai Date: Tue, 10 Dec 2019 04:41:36 +0000 (+0800) Subject: doc: use console lexer for rendering command line sessions X-Git-Tag: v15.1.0~580^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=310d145ef57ef400e820cf138215d0b77b0019c0;p=ceph.git doc: use console lexer for rendering command line sessions by default the pygements uses python lexer for rendering literal blocks, and `#` is considered as the marker for inline comments. in this change, the "console" lexer is specified explicitly. see https://pygments.org/docs/lexers/#lexers-for-various-shells for more details, in which "BashSessionLexer" is for this very use case. Signed-off-by: Kefu Chai --- diff --git a/doc/bootstrap.rst b/doc/bootstrap.rst index 12182f6de4ed..138d1efbd201 100644 --- a/doc/bootstrap.rst +++ b/doc/bootstrap.rst @@ -17,6 +17,8 @@ should be issued on which systems. of this installation guide means that the associated command can be run on any node. +.. highlight:: console + Get ceph-daemon ===============