Open consideRatio opened 1 year ago
my hope is actually that we can get this merged and just use auto-generated images:
WDYT?
Aha, so with that, the fields ogp_image
and ogp_use_first_image
are no longer relevant? Then yeah sure let's wait and work towards that instead!
It was released last month https://github.com/wpilibsuite/sphinxext-opengraph/releases The required release is not set in this repo: https://github.com/jupyterhub/jupyterhub-sphinx-theme/blob/d4071da94ccb40216389c413c04a0bd684dc764d/pyproject.toml#L20 Should it be up to the consuming repo to decide whether to set version constraints on the Sphinx plugins, or should that be handled by this theme?
Should it be up to the consuming repo to decide whether to set version constraints on the Sphinx plugins, or should that be handled by this theme?
I figure if this theme depends on logic introduced in a dependency of a certain version, we should put a lower version requirement (>=
) on that dependency. But, if its unrelated to this themes own behavior and logic, where it would work fine, I think its out of scope to consider.
This is the typical boilerplate opengraph config for jupyterhub projects when I activate opengraph now. Should we perhaps provide a default value for ogp_image and ogp_use_first_image?