[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 0/2] Add QMP lexer for annotated JSON to Sphi
From: |
John Snow |
Subject: |
Re: [Qemu-devel] [PATCH v2 0/2] Add QMP lexer for annotated JSON to Sphinx |
Date: |
Mon, 3 Jun 2019 14:04:24 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 |
Peter: I think this one would be through your tree if anyone's, yes? Any
thoughts?
--js
On 5/23/19 8:12 AM, John Snow wrote:
> 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 <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
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Qemu-devel] [PATCH v2 0/2] Add QMP lexer for annotated JSON to Sphinx,
John Snow <=