diff --git a/docs/requirements.txt b/docs/requirements.txt index 04a5387a83..82adf09e9b 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -13,4 +13,5 @@ pydata-sphinx-theme pyyaml sphinx-autobuild sphinx-copybutton +sphinxext-opengraph sphinxext-rediraffe diff --git a/docs/source/conf.py b/docs/source/conf.py index 6b225382a7..ebc7996820 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -102,6 +102,7 @@ def _get_git_ref_from_chartpress_based_version(version): "sphinx_copybutton", "myst_parser", "sphinxext.rediraffe", + "sphinxext.opengraph", ] # List of patterns, relative to source directory, that match files and @@ -172,6 +173,10 @@ def _get_git_ref_from_chartpress_based_version(version): "advanced": "administrator/advanced", } +# opengraph configuration +# ogp_site_url/prefix is set automatically by RTD +ogp_image = "_static/logo.png" +ogp_use_first_image = True # -- Generate the Helm chart configuration reference from a schema file ------