Closed nabobalis closed 2 years ago
Yes, I think so. sphinxext-opengraph should be able to resolve all paths to absolute paths.
Came here to report this same issue, I observed it while trying to adopt the extension on the Read the Docs blog: https://github.com/readthedocs/blog/pull/118
The generated image link is wrong:
background-image: url("https://readthedocs-blog--118.org.readthedocs.build../_images/rebuild.png");
(Not sure if this is the best place to ask this)
I wanted the first image to use the image in our example gallery that is powered by sphinx-gallery. This is on RTD.
This extension works very well on the gallery pages but the issue is that due to the relative paths that the gallery produces, open graph can't resolve the image path in previews.
E.g.,
I asked the people at Sphinx-Gallery if it was possible to work around this got this response:
Is it possible to work around this via configuration in sphinxext-opengraph?