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