diff --git a/conf.py b/conf.py index 02806ffa..30fb642f 100644 --- a/conf.py +++ b/conf.py @@ -32,6 +32,7 @@ extensions = [ 'sphinx.ext.autosectionlabel', 'sphinxnotes.strike', 'sphinx_reredirects', + 'sphinxext.opengraph', 'youtube_frame', ] @@ -97,6 +98,8 @@ linkcheck_ignore = [r'^https?://[^/\s]+\.onion'] autosectionlabel_prefix_document = True +ogp_image = "https://www.qubes-os.org/attachment/icons/qubes-logo-icon-name-slogan-fb.png" +ogp_image_alt = False # -- HTML configuration ------------------------------------------------------ diff --git a/introduction/intro.rst b/introduction/intro.rst index 02c58b60..d6736aff 100644 --- a/introduction/intro.rst +++ b/introduction/intro.rst @@ -1,3 +1,8 @@ +:og:image: https://doc.qubes-os.org/en/latest/_images/qubes-trust-level-architecture.png +:og:image:alt: An overview of the security features of Qubes OS, including strong isolation, templating system,... +:og:image:width: 778 +:og:image:height: 591 + ============ Introduction ============ diff --git a/requirements.txt b/requirements.txt index bf0592f6..3e6ade68 100644 --- a/requirements.txt +++ b/requirements.txt @@ -29,6 +29,7 @@ sphinxcontrib-jquery==4.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==2.0.0 sphinxcontrib-serializinghtml==2.0.0 +sphinxext-opengraph==0.12.0 sphinxnotes-any==2.5 sphinxnotes-comboroles==1.0 sphinxnotes-strike==1.2.1