mirror of https://github.com/sbt/sbt.git
Docs: fix node constructed by code_literal role
This commit is contained in:
parent
a09075c98c
commit
5f2b5d4ad4
|
|
@ -20,7 +20,7 @@ def process_node(node):
|
|||
# This directive formats a string to be in a fixed width font.
|
||||
# The string is taken as a literal and is not processed for further inline formatting.
|
||||
def code_literal(name, rawtext, text, lineno, inliner, options={}, content=[]):
|
||||
node = nodes.Text(text, text)
|
||||
node = nodes.inline('', text)
|
||||
node['classes'].append('pre')
|
||||
return [node], []
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue