docs: fix configuration

This commit is contained in:
Anna “CyberTailor” 2024-01-04 09:25:36 +05:00
parent 6ba0cd4580
commit 00dd58287f
Signed by: CyberTaIlor
GPG Key ID: E7B76EDC50864BB1
1 changed files with 3 additions and 9 deletions

View File

@ -11,8 +11,8 @@
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'gentle'
copyright = '2022-2023, Anna <cyber@sysrq.in>'
author = 'Anna <cyber@sysrq.in>'
copyright = f'2022-2024, {author}'
release = '0.4.0'
# -- General configuration ---------------------------------------------------
@ -21,14 +21,14 @@ release = '0.4.0'
extensions = [
'sphinx.ext.autosummary',
'sphinx.ext.autodoc',
'sphinx-prompt',
'sphinx_prompt',
]
try:
import notfound.extension
extensions.append('notfound.extension')
notfound_no_urls_prefix = True
notfound_urls_prefix = None
except ModuleNotFoundError:
pass
@ -61,16 +61,10 @@ html_theme_options = {
'globaltoc_maxdepth': 3,
'right_buttons': ['git-button.html'],
}
html_sidebars = {
'**': [
'globaltoc.html',
]
}
html_context = {
'git_repo_url': 'https://git.sysrq.in/gentle/about/',
}
html_static_path = ['_static']
html_title = f'{project} {release}'
html_show_sourcelink = False
html_baseurl = 'https://gentle.sysrq.in/'