[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] .readthedocs.yml: specify some minimum python requirement

From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2] .readthedocs.yml: specify some minimum python requirements
Date: Thu, 6 Feb 2020 18:00:41 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

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 <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>

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
+  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.)
+  version: 3.5

I wonder if this could also help:

    exclude: all

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

Reviewed-by: Philippe Mathieu-Daudé <address@hidden>

Patch applied to my python-next tree:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]