wpilibsuite / sphinxext-opengraph

Sphinx extension to generate unique OpenGraph metadata
https://sphinxext-opengraph.readthedocs.io
Other
74 stars 27 forks source link

OpenGraph picks up image labels in meta description #34

Open Daltz333 opened 3 years ago

Daltz333 commented 3 years ago
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/

ItayZiv commented 2 years ago

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 commented 2 years ago

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)

flying-sheep commented 1 year ago

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

Would be great to see this fixed.