Skip to content

Commit ff315b7

Browse files
committed
pythonGH-136155: Use sphinxext-opengraph v0.12.0 (python#137393)
1 parent 25dcf43 commit ff315b7

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

Doc/conf.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -601,9 +601,8 @@
601601
ogp_site_url = 'https://docs.python.org/3/'
602602
ogp_site_name = 'Python documentation'
603603
ogp_image = '_static/og-image.png'
604-
if 'builder_html' in tags: # noqa: F821
605-
ogp_custom_meta_tags = [
606-
'<meta property="og:image:width" content="200">',
607-
'<meta property="og:image:height" content="200">',
608-
'<meta name="theme-color" content="#3776ab">',
609-
]
604+
ogp_custom_meta_tags = (
605+
'<meta property="og:image:width" content="200">',
606+
'<meta property="og:image:height" content="200">',
607+
'<meta name="theme-color" content="#3776ab">',
608+
)

Doc/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sphinx~=8.2.0
1111

1212
blurb
1313

14-
sphinxext-opengraph~=0.11.0
14+
sphinxext-opengraph~=0.12.0
1515
sphinx-notfound-page~=1.0.0
1616

1717
# The theme used by the documentation is stored separately, so we need

Misc/NEWS.d/next/Documentation/2025-07-01-21-04-47.gh-issue-136155.ufmH4Q.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)