mirror of
https://codeberg.org/openpgp/notes.git
synced 2025-09-09 11:19:41 +02:00
Set site description
This commit is contained in:
parent
b474753e90
commit
2ecea9515b
1 changed files with 15 additions and 0 deletions
|
@ -20,6 +20,7 @@ version = "0.1"
|
|||
suppress_warnings = [
|
||||
'epub.unknown_project_files',
|
||||
]
|
||||
description = 'The essential OpenPGP guide for application developers. Learn the OpenPGP standard for cryptographic operations and how to implement it in your projects. Gain insights into digital signatures, key management, certificates, and more. Version agnostic.'
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
|
||||
|
@ -54,11 +55,19 @@ myst_enable_extensions = [
|
|||
"deflist",
|
||||
]
|
||||
|
||||
# https://myst-parser.readthedocs.io/en/latest/configuration.html#setting-html-metadata
|
||||
myst_html_meta = {
|
||||
"description lang=en": description,
|
||||
"keywords": "openpgp, cryptographic operations, data encryption, digital signatures, key management, identity verification, secure communication, pgp, cryptographic protocols, public key encryption, openpgp v4, openpgp v6, openpgp implementation",
|
||||
"property=og:locale": "en_US"
|
||||
}
|
||||
|
||||
# -- Options for EPUB output -------------------------------------------------
|
||||
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-epub-output
|
||||
|
||||
epub_copyright = f'{date.today().year}, {author} ({upstream_url}), CC-BY-SA-4.0'
|
||||
epub_cover = ('_static/epub/img/cover.png', 'cover.j2')
|
||||
epub_description = description
|
||||
epub_css_files = [
|
||||
'epub/css/custom.css'
|
||||
]
|
||||
|
@ -93,3 +102,9 @@ html_theme_options = {
|
|||
# https://github.com/wpilibsuite/sphinxext-opengraph#simple-config
|
||||
ogp_site_url = 'https://openpgp.dev/book/'
|
||||
ogp_image = '_static/html/img/logo.png'
|
||||
ogp_type = 'book'
|
||||
|
||||
ogp_custom_meta_tags = [
|
||||
f'<meta property="og:description" content="{description}" />',
|
||||
]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue