[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-block] [PATCH 0/2] Add QMP lexer for annotated JSON to Sphinx
From: |
John Snow |
Subject: |
[Qemu-block] [PATCH 0/2] Add QMP lexer for annotated JSON to Sphinx |
Date: |
Tue, 21 May 2019 16:06:55 -0400 |
QMP isn't json. It turns out Pygments cares about this.
Teach Pygments to go with the annotated flow.
Reported-by: Aarushi Mehta <address@hidden>
John Snow (2):
sphinx: add qmp_lexer
docs/bitmaps: use QMP lexer instead of json
docs/conf.py | 4 +--
docs/interop/bitmaps.rst | 54 ++++++++++++++++++++--------------------
docs/sphinx/qmp_lexer.py | 34 +++++++++++++++++++++++++
3 files changed, 63 insertions(+), 29 deletions(-)
create mode 100644 docs/sphinx/qmp_lexer.py
--
2.20.1