Skip to content

Commit d3ba772

Browse files
authored
Merge branch 'master' into docs-refactor
2 parents c5232a8 + 547eb26 commit d3ba772

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

docs/conf.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
"sphinx_panels",
3131
"sphinxext.rediraffe",
3232
"sphinxcontrib.mermaid",
33+
"sphinxext.opengraph",
3334
]
3435

3536
# Add any paths that contain templates here, relative to this directory.
@@ -57,6 +58,10 @@
5758
"repository_branch": "master",
5859
"path_to_docs": "docs",
5960
}
61+
# OpenGraph metadata
62+
ogp_site_url = "https://myst-parser.readthedocs.io/en/latest"
63+
# This is the image that GitHub stores for our social media previews
64+
ogp_image = "https://repository-images.githubusercontent.com/240151150/316bc480-cc23-11eb-96fc-4ab2f981a65d" # noqa: E501
6065

6166
# Add any paths that contain custom static files (such as style sheets) here,
6267
# relative to this directory. They are copied after the builtin static files,

setup.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ rtd =
6565
sphinxcontrib-bibtex~=2.1
6666
sphinxext-rediraffe~=0.2
6767
sphinxcontrib.mermaid~=0.6.3
68+
sphinxext-opengraph~=0.4.2
6869
# left in for back-compatability
6970
sphinx =
7071
testing =

0 commit comments

Comments
 (0)