diff website/www/conf.py @ 8035:b516483f68a3

docs: add opengraph tags to website.
author John Rouillard <rouilj@ieee.org>
date Wed, 12 Jun 2024 17:37:16 -0400
parents a377590eba34
children 6d4b5005abf2
line wrap: on
line diff
--- a/website/www/conf.py	Tue Jun 11 16:41:47 2024 -0400
+++ b/website/www/conf.py	Wed Jun 12 17:37:16 2024 -0400
@@ -43,10 +43,14 @@
 
 # Add any Sphinx extension module names here, as strings. They can be extensions
 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
-extensions = ['sphinx_sitemap', 'sphinx_tabs.tabs']
+extensions = ["sphinxext.opengraph", 'sphinx_sitemap', 'sphinx_tabs.tabs',]
 
 sphinx_tabs_valid_builders = ['linkcheck']
 sphinx_tabs_disable_tab_closing = True
+ogp_site_url = "https://www.roundup-tracker.org"
+ogp_image = "_images/index_logged_out.png"
+ogp_image_alt = "The front page of a tracker showing a table of issues and their properties."
+# ogp_description_length = 200
 
 # for sitemap default: "{lang}{version}subdir/{link}"
 sitemap_url_scheme = "{link}"

Roundup Issue Tracker: http://roundup-tracker.org/