[PATCH 4/7] doc: make pdfdocs: Ensure SVG files are converted to PDF before the compilation of *.tex files
Adriano Carvalho
adrianocarvalho.pt at gmail.com
Thu Sep 4 03:24:57 CEST 2025
On Wed, 3 Sept 2025 at 02:14, Adriano Carvalho
<adrianocarvalho.pt at gmail.com> wrote:
> [...]
> So, in principle, we "only" need to replace all ".. image" with "..
> kernel-image" (65 occurrences / 17 files). However, I did that, and
> got:
>
> sphinx.errors.ExtensionError: Handler <bound method
> ImageCollector.process_doc of
> <sphinx.environment.collectors.asset.ImageCollector object at
> 0x79380051bbe0>> for event 'doctree-read' threw an exception
> (exception: 'uri')
> [...]
Actually, the right approach is to use ".. kernel-figure" not "..
kernel-image". The latter is never used in the kernel.
Using ".. kernel-figure" it works fine. The remaining patches are
still required though.
So, if you intend to remain aligned with Linux in the way the
Documentation is built, instead of this patch a new one is required
that replaces all instances of ".. image" with ".. kernel-image" (65
ccurrences / 17 files).
Please let me know how you'd like me to proceed.
Moreover, the infrastructure to build the Documentation is a bit
behind that of Linux. Not a lot but quite a few changes. Should I try
to issue a patch series to place U-Boot as in sync as possible with
Linux?
Com os melhores cumprimentos. / Best regards.
Adriano Carvalho
More information about the U-Boot
mailing list