mirror of
https://codeberg.org/openpgp/notes.git
synced 2025-09-10 11:49:40 +02:00
Add OpenGraph metadata
This commit is contained in:
parent
a17a3a30f2
commit
edaf62f833
5 changed files with 8 additions and 3 deletions
BIN
book/source/_static/html/img/logo.png
Normal file
BIN
book/source/_static/html/img/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.4 KiB |
|
@ -26,6 +26,7 @@ suppress_warnings = [
|
|||
|
||||
extensions = [
|
||||
'myst_parser',
|
||||
'sphinxext.opengraph',
|
||||
]
|
||||
source_suffix = ['.md', '.rst']
|
||||
|
||||
|
@ -88,3 +89,7 @@ html_theme_options = {
|
|||
'show_relbars': 'yes',
|
||||
'show_powered_by': False,
|
||||
}
|
||||
|
||||
# https://github.com/wpilibsuite/sphinxext-opengraph#simple-config
|
||||
ogp_site_url = 'https://openpgp.dev/book/'
|
||||
ogp_image = '_static/logo.png'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue