qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH v2 0/2] Add QMP lexer for annotated JSON to Sphinx
@ 2019-05-23 12:12 John Snow
  2019-05-23 12:12 ` [Qemu-devel] [PATCH v2 1/2] sphinx: add qmp_lexer John Snow
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: John Snow @ 2019-05-23 12:12 UTC (permalink / raw)
  To: qemu-devel, qemu-block
  Cc: Fam Zheng, Peter Maydell, John Snow, Eduardo Habkost,
	Aarushi Mehta

QMP isn't json. It turns out Pygments cares about this.
Teach Pygments to go with the annotated flow.

V2:
 - Change GPL2 to GPLv2+ (Peter Maydell)
 - Change "highlights" to "lexes" in docstrings
 - Fix typo ("Sphinx()" => "Sphinx") in docstring

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-06-03 18:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-05-23 12:12 [Qemu-devel] [PATCH v2 0/2] Add QMP lexer for annotated JSON to Sphinx John Snow
2019-05-23 12:12 ` [Qemu-devel] [PATCH v2 1/2] sphinx: add qmp_lexer John Snow
2019-05-23 12:12 ` [Qemu-devel] [PATCH v2 2/2] docs/bitmaps: use QMP lexer instead of json John Snow
2019-06-03 18:04 ` [Qemu-devel] [PATCH v2 0/2] Add QMP lexer for annotated JSON to Sphinx John Snow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).