Hello Jean,
I don't know about any extension doing this. A "unit of size" in Sphinx is .rst 
file (a document). There are three builtin HTML builders

- "html" makes one HTML for one document
- "dirhtml" creates docname/index.html from docname.rst to prettier URLs 
("docs.foo.com/getting-started" instead of "docs.foo.com/getting-started.html")
- "singlehtml" creates one big long HTML from all documents

(https://www.sphinx-doc.org/en/master/usage/builders/index.html)

In other words, I would recommend creating shorter .rst documents.

--
Matt
https://techwriter.documatt.com

> On 9. 2. 2022, at 12:33, Jean Abou Samra <[email protected]> wrote:
> 
> Hi,
> 
> Apologies if I've missed it somewhere in the documentation
> or the issue tracker, but I can't find an answer to this.
> 
> Suppose I have a set of documentation files each containing
> a chapter made of many sections. It can be more convenient
> to keep them in a single file so it is easier to restructure
> the content. The downside is that this file is rendered to
> one single HTML page, which can be overwhelming for the reader
> and/or slow to load, particularly if there are many images,
> as in my use case. I'd prefer to have one HTML page per section.
> Is this possible, possibly in an extension? If I had to
> code it, where could I start?
> 
> Thanks,
> Jean
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/sphinx-users/74d9be92-873e-fcc1-9da6-6248bd8cb44f%40abou-samra.fr.

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/FF06C35A-50FF-42EA-A868-E607B6CB8686%40documatt.com.

Reply via email to