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 ---------------------------------------------------- # -- General configuration ----------------------------------------------------
templates_path = ['_templates'] templates_path = ['_templates']
extensions = ['sphinx.ext.autodoc', extensions = [
'sphinx.ext.ifconfig', "sphinx.ext.autodoc",
'sphinx.ext.extlinks'] "sphinx.ext.ifconfig",
"sphinx.ext.extlinks",
"sphinxext.opengraph",
]
source_suffix = '.rst' source_suffix = '.rst'
master_doc = 'index' master_doc = 'index'
project = 'Pelican' project = 'Pelican'

View file

@ -1,3 +1,4 @@
sphinx<6.0 sphinx<6.0
sphinxext-opengraph
furo furo
livereload livereload