Add OpenGraph metadata to docs via Sphinx extension

This commit is contained in:
Justin Mayer 2023-10-13 08:01:29 +02:00
commit a8fefad331
2 changed files with 7 additions and 3 deletions

View file

@ -8,9 +8,12 @@ sys.path.append(os.path.abspath(os.pardir))
# -- 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'