diff --git a/docs/conf.py b/docs/conf.py index 96248c9f..1ba1ef2f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,6 +48,31 @@ html_theme = "furo" html_static_path = ["_static"] html_css_files = ["css/table.css"] +# Embedded SVG as recommended in Furo template. +GITHUB_ICON_SVG = """\ + + + +""" +html_theme_options = { + "source_repository": "https://github.com/theochem/iodata", + "source_branch": "main", + "source_directory": "docs/", + "footer_icons": [ + { + "name": "GitHub", + "url": "https://github.com/theochem/iodata", + "html": GITHUB_ICON_SVG, + "class": "", + }, + ], +} # -- Configuration for autodoc extensions ---------------------------------