Skip to content

Commit

Permalink
Merge pull request #2717 from manics/opengraph-tags
Browse files Browse the repository at this point in the history
Add opengraph tags
  • Loading branch information
consideRatio authored May 27, 2022
2 parents 4465109 + 62c26b4 commit ecafaa5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,5 @@ pydata-sphinx-theme
pyyaml
sphinx-autobuild
sphinx-copybutton
sphinxext-opengraph
sphinxext-rediraffe
5 changes: 5 additions & 0 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 ------

Expand Down

0 comments on commit ecafaa5

Please sign in to comment.