qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Philippe Mathieu-Daudé" <philmd@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>, peter.maydell@linaro.org
Cc: qemu-devel@nongnu.org
Subject: Re: [PATCH v2] .readthedocs.yml: specify some minimum python requirements
Date: Thu, 6 Feb 2020 18:00:41 +0100	[thread overview]
Message-ID: <0c206609-0e39-5a19-cc25-8ca6b932cc77@redhat.com> (raw)
In-Reply-To: <20200206163120.31899-1-alex.bennee@linaro.org>

On 2/6/20 5:31 PM, Alex Bennée wrote:
> QEMU is all about the Python 3 now so lets also hint that to
> ReadTheDocs in its config file.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
> 
> ---
> If anyone wants to include this is their next PR please do, otherwise
> it will be a misc patch in my next series ;-)
> ---
>   .readthedocs.yml | 20 ++++++++++++++++++++
>   1 file changed, 20 insertions(+)
>   create mode 100644 .readthedocs.yml
> 
> diff --git a/.readthedocs.yml b/.readthedocs.yml
> new file mode 100644
> index 00000000000..8355dbc6343
> --- /dev/null
> +++ b/.readthedocs.yml
> @@ -0,0 +1,20 @@
> +# .readthedocs.yml
> +# Read the Docs configuration file
> +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
> +
> +# Required
> +version: 2
> +
> +# Build documentation in the docs/ directory with Sphinx
> +sphinx:
> +  configuration: docs/conf.py
> +
> +# We want all the document formats
> +formats: all
> +
> +# For consistency, we require that QEMU's Sphinx extensions
> +# run with at least the same minimum version of Python that
> +# we require for other Python in our codebase (our conf.py
> +# enforces this, and some code needs it.)
> +python:
> +  version: 3.5
> 

I wonder if this could also help:

   submodules:
     exclude: all

See https://docs.readthedocs.io/en/stable/config-file/v2.html#submodules

Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>

Patch applied to my python-next tree:
https://gitlab.com/philmd/qemu/commits/python-next



      reply	other threads:[~2020-02-06 17:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-06 16:31 [PATCH v2] .readthedocs.yml: specify some minimum python requirements Alex Bennée
2020-02-06 17:00 ` Philippe Mathieu-Daudé [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0c206609-0e39-5a19-cc25-8ca6b932cc77@redhat.com \
    --to=philmd@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=peter.maydell@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).