Use base URL as logo link and include homepage in TOC

This way the navigation in the documentation is unified.
This commit is contained in:
Cédric Krier
2025-02-09 15:19:19 +01:00
parent c2e8d187d1
commit 709bebe701
215 changed files with 1504 additions and 0 deletions
+7
View File
@@ -50,6 +50,13 @@ info = get_info()
html_theme = 'sphinx_book_theme'
html_theme_options = {
'logo': {
'alt_text': "Tryton Documenation",
'image_light': 'https://docs.tryton.org/logo-light.svg',
'image_dark': 'https://docs.tryton.org/logo-dark.svg',
'link': base_url,
},
'home_page_in_toc': True,
'repository_provider': 'gitlab',
'repository_url': 'https://code.tryton.org/tryton',
'repository_branch': info['branch'],