Refactor docs `Makefile` by hugovk · Pull Request #8933 · python-pillow/Pillow

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@hugovk

Copy link Copy Markdown

Member

@hugovk hugovk commented

Apr 27, 2025

Mainly to remove duplication.

Some functional changes:

  • Use --jobs auto for all builders, not just linkcheck. This speeds make -C docs clean html for me from 25 seconds to 14 seconds.
  • Use --fail-on-warning --keep-going for all builders, not just html.
aclark4life reacted with thumbs up emoji
PAPEROPT_letter = --define latex_paper_size=letter
ALLSPHINXOPTS = --doctree-dir $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
# the i18n builder cannot share the environment and doctrees with the others
I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
Copy link Copy Markdown

Member

Choose a reason for hiding this comment

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

Ah, right, I18NSPHINXOPTS is unused due to #8917

hugovk reacted with thumbs up emoji

hugovk and others added 2 commits

April 29, 2025 15:22
Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>

@radarhere radarhere merged commit 07df26a into python-pillow:main

Apr 29, 2025

5 checks passed

@hugovk hugovk deleted the docs-makefile-refactor branch

April 29, 2025 13:35

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@radarhere radarhere radarhere approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@hugovk @radarhere