Skip to contentSkip to conversation

readthedocs: don't build extra formats

RFC PATCH In review Alex Bennée 3 participants 6 messages Aug 4, 2025 – Aug 12, 2025

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 readthedocs: don't build extra formats

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.

---
 .readthedocs.yml | 2 --
 1 file changed, 2 deletions(-)
.readthedocs.yml +0 -2
index 0b262469ce6..639f628612c 100644
@@ -21,5 +21,3 @@ python:
   install:
     - requirements: docs/requirements.txt
 
-# We want all the document formats
-formats: all
Signature · 1 line
2.47.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · 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.

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

Quoted 5 lines
---
 .readthedocs.yml | 2 --
 1 file changed, 2 deletions(-)

With regards,
Daniel

Signature · 3 lines
|: 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 :|
#2 lore raw
Quoted 9 lines · Daniel P. Berrangé
Quoted 4 lines · 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.

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.

Quoted 11 lines
Quoted 6 lines
---
 .readthedocs.yml | 2 --
 1 file changed, 2 deletions(-)

With regards,
Daniel

Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro
#3 lore raw
Quoted 12 lines · Alex Bennée
Quoted 9 lines · Daniel P. Berrangé
Quoted 4 lines · 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.

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

Quoted 7 lines

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

Signature · 3 lines
|: 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 :|
#4 lore raw
Quoted 15 lines · Daniel P. Berrangé
Quoted 14 lines · Alex Bennée
Quoted 9 lines · Daniel P. Berrangé
Quoted 4 lines · 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.

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.

Quoted 7 lines
Quoted 5 lines

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.

Quoted 8 lines

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

Signature · 2 lines
Alex Bennée
Virtualisation Tech Lead @ Linaro
#5 lore raw
In reply to Alex Bennée
Quoted 10 lines · 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.

---
 .readthedocs.yml | 2 --
 1 file changed, 2 deletions(-)

Applied for QEMU v10.1.0-rc3. Thanks!

Stefan

Quoted 15 lines
.readthedocs.yml +0 -3
index 0b262469ce6..639f628612c 100644
@@ -21,5 +21,3 @@ python:
   install:
     - requirements: docs/requirements.txt
 
-# We want all the document formats
-formats: all
--

2.47.2