mirror of
https://github.com/QubesOS/qubes-doc.git
synced 2025-10-14 03:20:52 -04:00
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:
parent
c9ee35aa07
commit
c40c0ac302
5 changed files with 12 additions and 9 deletions
8
conf.py
8
conf.py
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue