File tree Expand file tree Collapse file tree 3 files changed +9
-13
lines changed
Misc/NEWS.d/next/Documentation Expand file tree Collapse file tree 3 files changed +9
-13
lines changed Original file line number Diff line number Diff line change 567
567
'image' : '_static/og-image.png' ,
568
568
'line_color' : '#3776ab' ,
569
569
}
570
- if 'builder_html' in tags : # noqa: F821
571
- ogp_custom_meta_tags = [
572
- '<meta name="theme-color" content="#3776ab">' ,
573
- ]
574
- if 'create-social-cards' not in tags : # noqa: F821
575
- # Define a static preview image when not creating social cards
576
- ogp_image = '_static/og-image.png'
577
- ogp_custom_meta_tags += [
578
- '<meta property="og:image:width" content="200">' ,
579
- '<meta property="og:image:height" content="200">' ,
580
- ]
570
+ ogp_custom_meta_tags = ('<meta name="theme-color" content="#3776ab">' ,)
571
+ if 'create-social-cards' not in tags : # noqa: F821
572
+ # Define a static preview image when not creating social cards
573
+ ogp_image = '_static/og-image.png'
574
+ ogp_custom_meta_tags += (
575
+ '<meta property="og:image:width" content="200">' ,
576
+ '<meta property="og:image:height" content="200">' ,
577
+ )
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ sphinx~=8.2.0
11
11
12
12
blurb
13
13
14
- sphinxext-opengraph ~= 0.11 .0
14
+ sphinxext-opengraph ~= 0.12 .0
15
15
sphinx-notfound-page ~= 1.0.0
16
16
17
17
# The theme used by the documentation is stored separately, so we need
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments