Skip to content

Commit e86dfb2

Browse files
committed
docs: add opengraph tags to website.
1 parent 4fea394 commit e86dfb2

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

website/www/conf.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,10 +43,14 @@
4343

4444
# Add any Sphinx extension module names here, as strings. They can be extensions
4545
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
46-
extensions = ['sphinx_sitemap', 'sphinx_tabs.tabs']
46+
extensions = ["sphinxext.opengraph", 'sphinx_sitemap', 'sphinx_tabs.tabs',]
4747

4848
sphinx_tabs_valid_builders = ['linkcheck']
4949
sphinx_tabs_disable_tab_closing = True
50+
ogp_site_url = "https://www.roundup-tracker.org"
51+
ogp_image = "_images/index_logged_out.png"
52+
ogp_image_alt = "The front page of a tracker showing a table of issues and their properties."
53+
# ogp_description_length = 200
5054

5155
# for sitemap default: "{lang}{version}subdir/{link}"
5256
sitemap_url_scheme = "{link}"

website/www/requirements.pip

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1+
sphinxext-opengraph
12
sphinx-sitemap
23
sphinx-tabs

0 commit comments

Comments
 (0)