diff --git a/images/favicon.png b/doc/source/_static/favicon.png similarity index 100% rename from images/favicon.png rename to doc/source/_static/favicon.png diff --git a/doc/source/conf.py b/doc/source/conf.py index 1e484427d..b0c1fa261 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -45,6 +45,7 @@ "sphinx.ext.githubpages", "sphinx_rtd_theme", "myst_parser", + "sphinx-favicon", ] # Add any paths that contain templates here, relative to this directory. @@ -67,7 +68,10 @@ # html_theme = "furo" +html_title = f"{project} {release}" +favicons = ["favicon.png"] + # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -# html_static_path = ['_static'] +html_static_path = ["_static"] diff --git a/requirements_doc.txt b/requirements_doc.txt index 26dfdeab1..b5e7b6200 100644 --- a/requirements_doc.txt +++ b/requirements_doc.txt @@ -2,3 +2,4 @@ sphinx>=2.0 sphinx-rtd-theme myst-parser furo +sphinx-favicon