Skip to content

Docs: Drop letter PDF - #123912

Merged
hugovk merged 1 commit into
python:mainfrom
hugovk:rm-letter-pdf
Sep 12, 2024
Merged

hugovk merged 1 commit into
python:mainfrom
hugovk:rm-letter-pdf

Conversation

@hugovk

@hugovk hugovk commented Sep 10, 2024 •

Copy link
Copy Markdown
Member

Next step for python/docs-community#128.

Instead of building both A4 and letter PDFs, only build A4. This will significantly reduce the docs build times.


📚 Documentation preview 📚: https://cpython-previews--123912.org.readthedocs.build/

@hugovk hugovk added docs Documentation in the Doc dir skip issue skip news labels Sep 10, 2024
@hugovk

hugovk commented Sep 10, 2024

Copy link
Copy Markdown
Member Author

I left these bits of the Makefile so it's still possible to generate a letter PDF if you want, but perhaps we should clean them up too?

PAPER =

cpython/Doc/Makefile

Lines 19 to 21 in a2d0818

# Internal variables.
PAPEROPT_a4 = -D latex_elements.papersize=a4paper
PAPEROPT_letter = -D latex_elements.papersize=letterpaper

$(PAPEROPT_$(PAPER)) \

@echo " latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter"

@willingc willingc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @hugovk. 🚢

@willingc

Copy link
Copy Markdown
Contributor

@hugovk I think leaving in the Makefile is fine for now.

@hugovk
hugovk merged commit f5597db into python:main Sep 12, 2024
@hugovk
hugovk deleted the rm-letter-pdf branch September 12, 2024 10:49
@miss-islington-app

Copy link
Copy Markdown

Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Thanks @hugovk for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 12, 2024
(cherry picked from commit f5597db)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@bedevere-app

bedevere-app Bot commented Sep 12, 2024

Copy link
Copy Markdown

GH-123998 is a backport of this pull request to the 3.13 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Sep 12, 2024
(cherry picked from commit f5597db)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
@bedevere-app bedevere-app Bot removed the needs backport to 3.13 only security fixes label Sep 12, 2024
@bedevere-app

bedevere-app Bot commented Sep 12, 2024

Copy link
Copy Markdown

GH-123999 is a backport of this pull request to the 3.12 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.12 only security fixes label Sep 12, 2024
hugovk added a commit that referenced this pull request Sep 16, 2024
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Yhg1s pushed a commit that referenced this pull request Sep 23, 2024
Docs: Drop letter PDF (GH-123912)
(cherry picked from commit f5597db)

Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants