add ocg headers
MODIFY
docs/conf.py
docs/conf.py
@@ -13,6 +13,7 @@ extensions = [
# "numpydoc",
"sphinx_autodoc_typehints",
"sphinx_copybutton",
+ "sphinxext.opengraph",
]
extlinks = {
@@ -49,3 +50,7 @@ html_static_path = ["_static"]
myst_heading_anchors = 2
autodoc_mock_imports = ["apache_beam"]
+
+ogp_site_url = "https://pangeo-forge.readthedocs.io/"
+ogp_image = "https://pangeo-forge.readthedocs.io/en/latest/_static/pangeo-forge-logo-blue.png"
+ogp_use_first_image = True

MODIFY
docs/requirements.txt
docs/requirements.txt
@@ -4,4 +4,5 @@ myst-parser==0.13.6
myst-nb==0.12.3
sphinx-copybutton==0.3.1
sphinx-autodoc-typehints==1.12.0
+sphinxext-opengraph==0.6.1
-e .

add ocg headers (#308)