[Qemu-devel] [PATCH 0/2] Add QMP lexer for annotated JSON to Sphinx

John Snow posted 2 patches 4 years, 12 months ago
Test docker-clang@ubuntu passed
Test asan passed
Test checkpatch passed
Test docker-mingw@fedora passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190521200657.5377-1-jsnow@redhat.com
Maintainers: John Snow <jsnow@redhat.com>, Fam Zheng <fam@euphon.net>, Peter Maydell <peter.maydell@linaro.org>
There is a newer version of this series
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
[Qemu-devel] [PATCH 0/2] Add QMP lexer for annotated JSON to Sphinx
Posted by John Snow 4 years, 12 months ago
QMP isn't json. It turns out Pygments cares about this.
Teach Pygments to go with the annotated flow.

Reported-by: Aarushi Mehta <mehta.aaru20@gmail.com>

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