qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH] readthedocs: don't build extra formats
@ 2025-08-04 16:29 Alex Bennée
  2025-08-05  7:11 ` Daniel P. Berrangé
  2025-08-12 23:38 ` Stefan Hajnoczi
  0 siblings, 2 replies; 6+ messages in thread
From: Alex Bennée @ 2025-08-04 16:29 UTC (permalink / raw)
  To: qemu-devel; +Cc: Alex Bennée

We don't build the PDFs ourselves for the hosted docs and it looks
like rtd can't manage building PDFs now they have gone over a certain
size. Disable the extra formats so we can at least have the online
stuff again.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
 .readthedocs.yml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/.readthedocs.yml b/.readthedocs.yml
index 0b262469ce6..639f628612c 100644
--- a/.readthedocs.yml
+++ b/.readthedocs.yml
@@ -21,5 +21,3 @@ python:
   install:
     - requirements: docs/requirements.txt
 
-# We want all the document formats
-formats: all
-- 
2.47.2



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

* Re: [RFC PATCH] readthedocs: don't build extra formats
  2025-08-04 16:29 [RFC PATCH] readthedocs: don't build extra formats Alex Bennée
@ 2025-08-05  7:11 ` Daniel P. Berrangé
  2025-08-05  9:04   ` Alex Bennée
  2025-08-12 23:38 ` Stefan Hajnoczi
  1 sibling, 1 reply; 6+ messages in thread
From: Daniel P. Berrangé @ 2025-08-05  7:11 UTC (permalink / raw)
  To: Alex Bennée; +Cc: qemu-devel

On Mon, Aug 04, 2025 at 05:29:59PM +0100, Alex Bennée wrote:
> We don't build the PDFs ourselves for the hosted docs and it looks
> like rtd can't manage building PDFs now they have gone over a certain
> size. Disable the extra formats so we can at least have the online
> stuff again.

Regardless of build problems, IMHO, we should not have been building
the PDFs as no effort is being made to validate that the content is
formatting well under the layout constraints of PDFs

> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .readthedocs.yml | 2 --
>  1 file changed, 2 deletions(-)

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



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

* Re: [RFC PATCH] readthedocs: don't build extra formats
  2025-08-05  7:11 ` Daniel P. Berrangé
@ 2025-08-05  9:04   ` Alex Bennée
  2025-08-05  9:54     ` Daniel P. Berrangé
  0 siblings, 1 reply; 6+ messages in thread
From: Alex Bennée @ 2025-08-05  9:04 UTC (permalink / raw)
  To: Daniel P. Berrangé; +Cc: qemu-devel

Daniel P. Berrangé <berrange@redhat.com> writes:

> On Mon, Aug 04, 2025 at 05:29:59PM +0100, Alex Bennée wrote:
>> We don't build the PDFs ourselves for the hosted docs and it looks
>> like rtd can't manage building PDFs now they have gone over a certain
>> size. Disable the extra formats so we can at least have the online
>> stuff again.
>
> Regardless of build problems, IMHO, we should not have been building
> the PDFs as no effort is being made to validate that the content is
> formatting well under the layout constraints of PDFs

True.

I will say the one thing I have found PDFs good for is uploading the
docs into a LLM context like NotebookLM. Otherwise you end up having to
add individual links which a) is a pain and b) is a potential DDoS
source if the model keeps hitting the host which as I'm sure everyone is
aware is a problem for FLOSS archives at the moment.

I would hope longer term there are better solutions for archiving our
docs as context if we want to provide it to things like bug assistants
or auto-reviews. I noticed virtiofsd is now using GitLabs AI tools to
aid MR processing.

>
>> 
>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
>> ---
>>  .readthedocs.yml | 2 --
>>  1 file changed, 2 deletions(-)
>
> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
>
> With regards,
> Daniel

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


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

* Re: [RFC PATCH] readthedocs: don't build extra formats
  2025-08-05  9:04   ` Alex Bennée
@ 2025-08-05  9:54     ` Daniel P. Berrangé
  2025-08-05 10:54       ` Alex Bennée
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel P. Berrangé @ 2025-08-05  9:54 UTC (permalink / raw)
  To: Alex Bennée; +Cc: qemu-devel

On Tue, Aug 05, 2025 at 10:04:42AM +0100, Alex Bennée wrote:
> Daniel P. Berrangé <berrange@redhat.com> writes:
> 
> > On Mon, Aug 04, 2025 at 05:29:59PM +0100, Alex Bennée wrote:
> >> We don't build the PDFs ourselves for the hosted docs and it looks
> >> like rtd can't manage building PDFs now they have gone over a certain
> >> size. Disable the extra formats so we can at least have the online
> >> stuff again.
> >
> > Regardless of build problems, IMHO, we should not have been building
> > the PDFs as no effort is being made to validate that the content is
> > formatting well under the layout constraints of PDFs
> 
> True.
> 
> I will say the one thing I have found PDFs good for is uploading the
> docs into a LLM context like NotebookLM. Otherwise you end up having to
> add individual links which a) is a pain and b) is a potential DDoS
> source if the model keeps hitting the host which as I'm sure everyone is
> aware is a problem for FLOSS archives at the moment.

Is there a "single page HTML" option that would service that need ?

In general PDFs are a pretty awful format for programatically
consuming text, because they have no logical content structure
like HTML docs, so I'd expect HTML is a better format to feed
into any tool either LLM or not.

With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|



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

* Re: [RFC PATCH] readthedocs: don't build extra formats
  2025-08-05  9:54     ` Daniel P. Berrangé
@ 2025-08-05 10:54       ` Alex Bennée
  0 siblings, 0 replies; 6+ messages in thread
From: Alex Bennée @ 2025-08-05 10:54 UTC (permalink / raw)
  To: Daniel P. Berrangé; +Cc: qemu-devel

Daniel P. Berrangé <berrange@redhat.com> writes:

> On Tue, Aug 05, 2025 at 10:04:42AM +0100, Alex Bennée wrote:
>> Daniel P. Berrangé <berrange@redhat.com> writes:
>> 
>> > On Mon, Aug 04, 2025 at 05:29:59PM +0100, Alex Bennée wrote:
>> >> We don't build the PDFs ourselves for the hosted docs and it looks
>> >> like rtd can't manage building PDFs now they have gone over a certain
>> >> size. Disable the extra formats so we can at least have the online
>> >> stuff again.
>> >
>> > Regardless of build problems, IMHO, we should not have been building
>> > the PDFs as no effort is being made to validate that the content is
>> > formatting well under the layout constraints of PDFs
>> 
>> True.
>> 
>> I will say the one thing I have found PDFs good for is uploading the
>> docs into a LLM context like NotebookLM. Otherwise you end up having to
>> add individual links which a) is a pain and b) is a potential DDoS
>> source if the model keeps hitting the host which as I'm sure everyone is
>> aware is a problem for FLOSS archives at the moment.
>
> Is there a "single page HTML" option that would service that need ?

There is an htmlzip format but I think that is just a bundle of html
files in a zip container. I'll see if there is an all one page option in
the docs.

>
> In general PDFs are a pretty awful format for programatically
> consuming text, because they have no logical content structure
> like HTML docs, so I'd expect HTML is a better format to feed
> into any tool either LLM or not.
>
> With regards,
> Daniel

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro


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

* Re: [RFC PATCH] readthedocs: don't build extra formats
  2025-08-04 16:29 [RFC PATCH] readthedocs: don't build extra formats Alex Bennée
  2025-08-05  7:11 ` Daniel P. Berrangé
@ 2025-08-12 23:38 ` Stefan Hajnoczi
  1 sibling, 0 replies; 6+ messages in thread
From: Stefan Hajnoczi @ 2025-08-12 23:38 UTC (permalink / raw)
  To: Alex Bennée; +Cc: qemu-devel

On Mon, Aug 4, 2025 at 2:29 PM Alex Bennée <alex.bennee@linaro.org> wrote:
>
> We don't build the PDFs ourselves for the hosted docs and it looks
> like rtd can't manage building PDFs now they have gone over a certain
> size. Disable the extra formats so we can at least have the online
> stuff again.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> ---
>  .readthedocs.yml | 2 --
>  1 file changed, 2 deletions(-)

Applied for QEMU v10.1.0-rc3. Thanks!

Stefan

>
> diff --git a/.readthedocs.yml b/.readthedocs.yml
> index 0b262469ce6..639f628612c 100644
> --- a/.readthedocs.yml
> +++ b/.readthedocs.yml
> @@ -21,5 +21,3 @@ python:
>    install:
>      - requirements: docs/requirements.txt
>
> -# We want all the document formats
> -formats: all
> --
> 2.47.2
>
>


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

end of thread, other threads:[~2025-08-12 23:39 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-04 16:29 [RFC PATCH] readthedocs: don't build extra formats Alex Bennée
2025-08-05  7:11 ` Daniel P. Berrangé
2025-08-05  9:04   ` Alex Bennée
2025-08-05  9:54     ` Daniel P. Berrangé
2025-08-05 10:54       ` Alex Bennée
2025-08-12 23:38 ` Stefan Hajnoczi

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).