Skip to content

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented Jul 8, 2025

(cherry picked from commit c45da6a)


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

… tags for HTML builds (pythonGH-136187)

(cherry picked from commit c45da6a)

Co-authored-by: Maciej Olko <[email protected]>
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
@AA-Turner AA-Turner closed this Aug 8, 2025
@AA-Turner AA-Turner reopened this Aug 8, 2025
@AA-Turner
Copy link
Member

(misclick)

I've cherry-picked the relevant parts of #137348 and #137393 into this PR.

A

@AA-Turner AA-Turner changed the title [3.12] gh-136155: Docs: only add custom OpenGraph protocol meta tags for HTML builds (GH-136187) [3.12] gh-136155: Use sphinxext-opengraph v0.12.0 Aug 8, 2025
@hugovk
Copy link
Member Author

hugovk commented Sep 8, 2025

The 3.13 EPUB is now good and 3.12 still has errors:

Let's merge and rebuild 3.12 docs.

@hugovk hugovk merged commit 1793b72 into python:3.12 Sep 8, 2025
30 of 39 checks passed
@hugovk hugovk deleted the backport-c45da6a-3.12 branch September 8, 2025 08:31
@hugovk
Copy link
Member Author

hugovk commented Sep 8, 2025

Now running:

ssh docs.nyc1.psf.io
sudo su --shell=/bin/bash docsbuild
screen -DUR  # Rejoin screen session if it exists, otherwise create a new one
/srv/docsbuild/venv/bin/python /srv/docsbuild/scripts/build_docs.py --force --branches 3.12

@hugovk
Copy link
Member Author

hugovk commented Sep 10, 2025

The build completed but the 3.12 EPUB still has errors:

image

This is because 3.12 still has some meta tags which are not self-closing:

image

So we still need to backport the conditional from #137393:

image

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

Successfully merging this pull request may close these issues.

3 participants