diff --git a/Doc/conf.py b/Doc/conf.py index a8e376c0ae44fe..5c34250c5e34f3 100644 --- a/Doc/conf.py +++ b/Doc/conf.py @@ -576,11 +576,11 @@ 'image': '_static/og-image.png', 'line_color': '#3776ab', } -ogp_custom_meta_tags = ('',) +ogp_custom_meta_tags = [''] if 'create-social-cards' not in tags: # noqa: F821 # Define a static preview image when not creating social cards ogp_image = '_static/og-image.png' - ogp_custom_meta_tags += ( + ogp_custom_meta_tags += [ '', '', - ) + ]