docs: fix configuration

This commit is contained in:
Anna “CyberTailor” 2023-11-25 13:31:01 +05:00
parent 9a2b8badb4
commit dc4f35239e
Signed by: CyberTaIlor
GPG Key ID: E7B76EDC50864BB1

View File

@ -18,14 +18,14 @@ release = '1.1.3'
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [ extensions = [
'sphinx-prompt', 'sphinx_prompt',
] ]
try: try:
import notfound.extension import notfound.extension
extensions.append('notfound.extension') extensions.append('notfound.extension')
notfound_no_urls_prefix = True notfound_urls_prefix = None
except ModuleNotFoundError: except ModuleNotFoundError:
pass pass
@ -47,7 +47,17 @@ manpages_url = 'https://docs.sysrq.in/{path}'
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'insipid' html_theme = 'insipid'
html_permalinks_icon = '#'
html_theme_options = {
'globaltoc_maxdepth': 3,
'right_buttons': [],
}
html_sidebars = {
'**': [
'globaltoc.html',
]
}
html_static_path = ['_static'] html_static_path = ['_static']
html_title = f'{project} {release}' html_title = f'{project} {release}'
html_show_sourcelink = False
html_baseurl = 'https://nimbus.sysrq.in/' html_baseurl = 'https://nimbus.sysrq.in/'