[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/5] docs/sphinx: Add new hxtool Sphinx extension
From: |
Richard Henderson |
Subject: |
Re: [PATCH 2/5] docs/sphinx: Add new hxtool Sphinx extension |
Date: |
Tue, 21 Jan 2020 14:15:30 -1000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 |
On 1/21/20 12:22 PM, Peter Maydell wrote:
>> This doesn't seem to work for me.
>>
>> make[1]: Leaving directory '/home/rth/qemu/qemu/slirp'
>> CONFDIR="/home/rth/qemu/run/etc/qemu" sphinx-build -W -b html -D
>> version=4.2.50 -D release="4.2.50 (rth)" -d .doctrees/devel-html
>> /home/rth/qemu/qemu/docs/devel docs/devel
>> Running Sphinx v1.8.5
>>
>> Extension error:
>> Could not import extension hxtool (exception: cannot import name
>> ExtensionError)
>> make: *** [Makefile:1022: docs/devel/index.html] Error 2
>
> I suspect this is an incompatibility (or possibly just a
> dropped back-compatibility I was accidentally relying on)
> between Sphinx 1.7 and 1.8. (I tested with a 1.6 and a 1.7.)
>
> It looks like ExtensionError is now in sphinx.errors, so if you
> change
> +from sphinx.application import ExtensionError
>
> to "from sphinx.errors import ExtensionError" does that help?
Yep, that's it. Thanks,
r~
- [PATCH 0/5] qemu-img: convert to rST, Peter Maydell, 2020/01/21
- [PATCH 5/5] qemu-img-cmds.hx: Remove texinfo document fragments, Peter Maydell, 2020/01/21
- [PATCH 4/5] qemu-img: Convert invocation documentation to rST, Peter Maydell, 2020/01/21
- Re: [PATCH 0/5] qemu-img: convert to rST, no-reply, 2020/01/21
- Re: [PATCH 0/5] qemu-img: convert to rST, no-reply, 2020/01/21