sphinxext-opengraph icon indicating copy to clipboard operation
sphinxext-opengraph copied to clipboard

OpenGraph picks up image labels in meta description

Open Daltz333 opened this issue 4 years ago • 3 comments

Build Code style: black Sphinx extension to generate OpenGraph metadata (https://ogp.me/) Installation: python -m pip install sphinxext-opengraph Usage: Just add sphinxext.opengraph to your extensi...

Offending URL: https://sphinxext-opengraph.readthedocs.io/en/latest/

Daltz333 avatar Jan 22 '21 07:01 Daltz333

That is the alt text for those images which is displayed instead of the images, in theory adding the ability to control OpenGraph on a page-by-page basis (as #11 is/was supposed to do) would supply a solution for this. That is unless not displaying the image's alt-text is the desired functionality, which in general I think it isn't.

ItayZiv avatar Dec 04 '21 11:12 ItayZiv

This should probably have a setting to disable picking up alt text from images (plus a per-page override for the setting and not just the description in general)

ItayZiv avatar Feb 13 '22 23:02 ItayZiv

I also don’t see a way to override the description manually.

Would be great to see this fixed.

flying-sheep avatar Jun 05 '23 13:06 flying-sheep