diff --git a/docs/source/_static/favicon.png b/docs/source/_static/favicon.png new file mode 100644 index 0000000..fc01e28 Binary files /dev/null and b/docs/source/_static/favicon.png differ diff --git a/docs/source/conf.py b/docs/source/conf.py index 561f705..8d33d89 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -84,6 +84,7 @@ def parse_attributes_section(self: GoogleDocstring, section: str) -> list[str]: # -- Options for HTML output -- html_theme = "sphinx_book_theme" html_title = "Direct Data-Driven MPC" +html_favicon = "_static/favicon.png" html_last_updated_fmt = "" html_static_path = ["_static"] html_css_files = ["styles.css"] @@ -95,6 +96,7 @@ def parse_attributes_section(self: GoogleDocstring, section: str) -> list[str]: html_theme_options = { "repository_url": "https://github.com/pavelacamposp/direct-data-driven-mpc", + "path_to_docs": "docs/source/", "use_repository_button": True, "use_edit_page_button": True, "use_issues_button": True,