Install intersphinx extension and edit links

Some anchor links are currently lost on:

* developer/system/template-manager.rst
* user/how-to-guides/how-to-enter-fullscreen-mode.rst
This commit is contained in:
parulin 2025-09-13 04:30:59 -04:00
parent c9ee35aa07
commit c40c0ac302
No known key found for this signature in database
GPG key ID: 65099A5B0E31336C
5 changed files with 12 additions and 9 deletions

View file

@ -31,6 +31,7 @@ release = '4.2.4'
extensions = [
'sphinx.ext.autosectionlabel', # Automatically generate section labels
'sphinx.ext.intersphinx', # Reference other doc projects
'sphinxnotes.strike', # Add strike-through text support
'sphinx_reredirects', # Manage redirects in the documentation
'sphinxext.opengraph', # Add Open Graph meta tags for social media sharing
@ -49,7 +50,6 @@ redirects = {
"https://www.qubes-os.org/downloads/",
}
# -- -- Options for highlighting ---------------------------------------------
# Disable syntax highlighting
@ -101,6 +101,12 @@ linkcheck_ignore = [r'^https?://[^/\s]+\.onion']
# Prefix section labels with the document name
autosectionlabel_prefix_document = True
# Allows references to the docs in dev.qubes-os.org
intersphinx_mapping = {
'core-admin': ('https://dev.qubes-os.org/projects/core-admin/en/latest/', None),
'core-admin-client': ('https://dev.qubes-os.org/projects/core-admin-client/en/latest/', None),
}
# Open Graph image for social media sharing
ogp_image = "https://www.qubes-os.org/attachment/icons/qubes-logo-icon-name-slogan-fb.png"
# Disable Open Graph image alt text