mirror of
https://github.com/getpelican/pelican.git
synced 2025-10-15 20:28:56 +02:00
Add OpenGraph metadata to docs via Sphinx extension
This commit is contained in:
parent
82e2571754
commit
a8fefad331
2 changed files with 7 additions and 3 deletions
|
|
@ -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'
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
sphinx<6.0
|
sphinx<6.0
|
||||||
|
sphinxext-opengraph
|
||||||
furo
|
furo
|
||||||
livereload
|
livereload
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue