Skip to content
Snippets Groups Projects
Commit bd23ee30 authored by paul.tresson_ird.fr's avatar paul.tresson_ird.fr
Browse files

update rtd config to have github link and logo on the top

parent 55fe6f22
No related branches found
No related tags found
No related merge requests found
...@@ -40,9 +40,6 @@ release = version ...@@ -40,9 +40,6 @@ release = version
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = [ extensions = [
"sphinx.ext.autodoc", "sphinx.ext.autodoc",
"sphinx.ext.autosummary", "sphinx.ext.autosummary",
...@@ -65,3 +62,24 @@ source_suffix = { ...@@ -65,3 +62,24 @@ source_suffix = {
html_theme = "pydata_sphinx_theme" html_theme = "pydata_sphinx_theme"
html_static_path = ["_static"] html_static_path = ["_static"]
html_favicon = "./../../icons/favicon.svg" html_favicon = "./../../icons/favicon.svg"
html_logo = "./../../icons/favicon.svg"
html_theme_options = {
"header_links_before_dropdown": 6,
"sidebarwidth": 200,
"icon_links": [
{
"name": "GitHub",
"url": "https://github.com/umr-amap/iamap",
"icon": "fa-brands fa-github",
},
],
"show_version_warning_banner": True,
"footer_start": ["copyright"],
"footer_center": ["sphinx-version"],
"secondary_sidebar_items": {
"**/*": ["page-toc", "edit-this-page", "sourcelink"],
"examples/no-sidebar": [],
},
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment