From a8fefad33148883d54c26ea341beae4d6d79ad5c Mon Sep 17 00:00:00 2001 From: Justin Mayer Date: Fri, 13 Oct 2023 08:01:29 +0200 Subject: [PATCH] Add OpenGraph metadata to docs via Sphinx extension --- docs/conf.py | 9 ++++++--- requirements/docs.pip | 1 + 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index 8f80ba630..f00ed3c2d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -8,9 +8,12 @@ # -- General configuration ---------------------------------------------------- templates_path = ['_templates'] -extensions = ['sphinx.ext.autodoc', - 'sphinx.ext.ifconfig', - 'sphinx.ext.extlinks'] +extensions = [ + "sphinx.ext.autodoc", + "sphinx.ext.ifconfig", + "sphinx.ext.extlinks", + "sphinxext.opengraph", +] source_suffix = '.rst' master_doc = 'index' project = 'Pelican' diff --git a/requirements/docs.pip b/requirements/docs.pip index dda53a564..6db7c6c8f 100644 --- a/requirements/docs.pip +++ b/requirements/docs.pip @@ -1,3 +1,4 @@ sphinx<6.0 +sphinxext-opengraph furo livereload