Commit 1446d00b authored by Jose A. Lopes's avatar Jose A. Lopes
Browse files

Fix spacing in opcode documentation generation

Opcode documentation is automatically generated from the Python
opcodes in the reStructuredText format.  This patch fixes the ill RST
definitions by adding the missing blank line.
Signed-off-by: default avatarJose A. Lopes <>
Reviewed-by: default avatarGuido Trotter <>
parent d31193c3
......@@ -222,7 +222,10 @@ class OpcodeParams(s_compat.Directive):
alias = self.options.get("alias", {})
path = op_id
include_text = "\n".join(_BuildOpcodeParams(op_id, include, exclude, alias))
include_text = "\n\n".join(_BuildOpcodeParams(op_id,
# Inject into state machine
include_lines = docutils.statemachine.string2lines(include_text, _TAB_WIDTH,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment