]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
doc: use console lexer for rendering command line sessions
authorKefu Chai <kchai@redhat.com>
Tue, 10 Dec 2019 04:41:36 +0000 (12:41 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 10 Dec 2019 04:46:42 +0000 (12:46 +0800)
commit310d145ef57ef400e820cf138215d0b77b0019c0
tree6956751ee2f50dbeceb5a7ccf92352dfa7064fe1
parent12e7401a43c700f1d5e4adfa1094c21cca7a0bff
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 <kchai@redhat.com>
doc/bootstrap.rst