Better fix for OGP social cards build failure

This commit is contained in:
Kovid Goyal 2023-02-09 09:45:10 +05:30
parent 679862aa94
commit 3b861d5f79
No known key found for this signature in database
GPG Key ID: 06BC317B515ACE7C

View File

@ -65,9 +65,9 @@ extensions = [
# URL for OpenGraph tags # URL for OpenGraph tags
ogp_site_url = website_url() ogp_site_url = website_url()
# disabled because of: https://github.com/wpilibsuite/sphinxext-opengraph/issues/96 # OGP needs a PNG image because of: https://github.com/wpilibsuite/sphinxext-opengraph/issues/96
ogp_social_cards = { ogp_social_cards = {
"enable": False 'image': '../logo/kitty.png'
} }
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.