diff --git a/docs/source/conf.py b/docs/source/conf.py index fe0a077..8c28e2c 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -57,9 +57,40 @@ exclude_patterns = [] # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output html_theme = "furo" +html_favicon = "favicon.ico" + +# custom title +html_title = "QiboTN ยท v" + release + html_static_path = ["_static"] html_show_sourcelink = False +html_theme_options = { + "top_of_page_button": "edit", + "source_repository": "https://github.com/qiboteam/qibolab/", + "source_branch": "main", + "source_directory": "doc/source/", + "light_logo": "qibo_logo_dark.svg", + "dark_logo": "qibo_logo_light.svg", + "light_css_variables": { + "color-brand-primary": "#6400FF", + "color-brand-secondary": "#6400FF", + "color-brand-content": "#6400FF", + }, + "footer_icons": [ + { + "name": "GitHub", + "url": "https://github.com/qiboteam/qibolab", + "html": """ + + + + """, + "class": "", + }, + ], +} + # Adapted this from # https://github.com/readthedocs/recommonmark/blob/ddd56e7717e9745f11300059e4268e204138a6b1/docs/conf.py # app setup hook