All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/5] Add support for PDF/Epub generation
@ 2024-11-06  7:48 Antonin Godard
  2024-11-06  7:48 ` [PATCH 1/5] doc: Makefile: remove inkscape, replace by rsvg-convert Antonin Godard
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Antonin Godard @ 2024-11-06  7:48 UTC (permalink / raw)
  To: docs; +Cc: Thomas Petazzoni, Richard Purdie, Antonin Godard,
	Michael Opdenacker

This patch series includes commits that enable PDF and Epub generation
during `make publish` and that includes them in the sidebar as a new
"Documentation Downloads" section. The files can be downloaded directly
from there and are displayed as a list in this page.

Example outputs:

- PDF: https://lufi.bootlin.com/r/PBq0qGTwBy#6JIczWeLiAjcwn9udqAeTaoHuZhoXq6sL/vpktteg5w=
- EPub: https://lufi.bootlin.com/r/_wRND0dvKD#88YA3opgX/CJTaGT3m5GxKBMBYeNfcR2VN3x7wnCU/E=

This patch series also changes the following:

- Don't use inkscape but rsvg-convert, a lighter tool for SVG conversion
  that can be included in a buildtools tarball.
- Build the PDF with xelatex instead of pdflatex, to support foreign
  characters (the pdf build is currently failing because of that).

On the autobuilder, the necessary was made to make texlive/xelatex and
so on available to the docs build (see run-docs-build).

The series also brings a change to switchers.js.in, to make the file
compatible with newer versions of Sphinx. Note: on the autobuilder, we
aim to build using the newer Sphinx (8.1.3).

I'm currently working on updating the dependency list in poky.yaml.in
(and where this file is used), but would like to send this series first
to have some feedback.

Signed-off-by: Antonin Godard <antonin.godard@bootlin.com>
---
Antonin Godard (4):
      doc: Makefile: remove inkscape, replace by rsvg-convert
      doc: Makefile: add support for xelatex
      doc: add a download page for epub and pdf
      sphinx-static/switchers.js.in: do not refer to URL_ROOT anymore

Michael Opdenacker (1):
      doc: Makefile: publish pdf and epub versions too

 documentation/Makefile                      | 17 +++++++++++------
 documentation/conf.py                       |  7 ++++++-
 documentation/downloads.rst                 | 11 +++++++++++
 documentation/index.rst                     |  7 +++++++
 documentation/sphinx-static/switchers.js.in |  6 ++++++
 5 files changed, 41 insertions(+), 7 deletions(-)
---
base-commit: bb472a7000672ce836573c3f2d3baf42cca01546
change-id: 20241010-pdf-xetex-06ac6b0f6b87

Best regards,
-- 
Antonin Godard <antonin.godard@bootlin.com>



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

end of thread, other threads:[~2025-10-06  8:00 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-06  7:48 [PATCH 0/5] Add support for PDF/Epub generation Antonin Godard
2024-11-06  7:48 ` [PATCH 1/5] doc: Makefile: remove inkscape, replace by rsvg-convert Antonin Godard
2024-11-06  7:48 ` [PATCH 2/5] doc: Makefile: add support for xelatex Antonin Godard
2024-11-06  7:48 ` [PATCH 3/5] doc: Makefile: publish pdf and epub versions too antonin.godard
2024-11-06  7:48 ` [PATCH 4/5] doc: add a download page for epub and pdf Antonin Godard
2024-11-06  7:48 ` [PATCH 5/5] sphinx-static/switchers.js.in: do not refer to URL_ROOT anymore Antonin Godard
2025-10-06  6:33   ` Gyorgy Sarvari
2025-10-06  7:55     ` [docs] " Antonin Godard
2025-10-06  8:00       ` Gyorgy Sarvari
2024-11-06 14:05 ` [PATCH 0/5] Add support for PDF/Epub generation Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.