Skip to content

Commit ecafaa5

Browse files
authored
Merge pull request #2717 from manics/opengraph-tags
Add opengraph tags
2 parents 4465109 + 62c26b4 commit ecafaa5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

docs/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,5 @@ pydata-sphinx-theme
1313
pyyaml
1414
sphinx-autobuild
1515
sphinx-copybutton
16+
sphinxext-opengraph
1617
sphinxext-rediraffe

docs/source/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ def _get_git_ref_from_chartpress_based_version(version):
102102
"sphinx_copybutton",
103103
"myst_parser",
104104
"sphinxext.rediraffe",
105+
"sphinxext.opengraph",
105106
]
106107

107108
# List of patterns, relative to source directory, that match files and
@@ -172,6 +173,10 @@ def _get_git_ref_from_chartpress_based_version(version):
172173
"advanced": "administrator/advanced",
173174
}
174175

176+
# opengraph configuration
177+
# ogp_site_url/prefix is set automatically by RTD
178+
ogp_image = "_static/logo.png"
179+
ogp_use_first_image = True
175180

176181
# -- Generate the Helm chart configuration reference from a schema file ------
177182

0 commit comments

Comments
 (0)