summaryrefslogtreecommitdiffstatshomepage
path: root/docs
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2025-03-08 23:26:00 +1100
committer Vas Crabb <vas@vastheman.com>2025-03-08 23:26:00 +1100
commitd1781a7d1f15cbf202473867f2bf9c019423d8d2 (patch)
treea8b8e2fb714259bc79ed0846ee56af6e869aeffd /docs
parent844926cc2fe118232db651badb1dc0b0c62b8005 (diff)
docs: Fixed paper size selection (GitHub #13439). Also set paper size to widespread A4 for dist.mak and CI.
Diffstat (limited to 'docs')
-rw-r--r--docs/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Makefile b/docs/Makefile
index b5c45c82ca7..48b674871a7 100644
--- a/docs/Makefile
+++ b/docs/Makefile
@@ -8,8 +8,8 @@ PAPER =
BUILDDIR = build
# Internal variables.
-PAPEROPT_a4 = -D latex_paper_size=a4
-PAPEROPT_letter = -D latex_paper_size=letter
+PAPEROPT_a4 = -D latex_elements.papersize=a4paper
+PAPEROPT_letter = -D latex_elements.papersize=letterpaper
ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) source