diff --git a/doc/_static/canaille-c.webp b/doc/_static/canaille-c-black.webp similarity index 100% rename from doc/_static/canaille-c.webp rename to doc/_static/canaille-c-black.webp diff --git a/doc/_static/canaille-c-white.webp b/doc/_static/canaille-c-white.webp new file mode 100644 index 00000000..3197490e Binary files /dev/null and b/doc/_static/canaille-c-white.webp differ diff --git a/doc/_static/canaille-full.webp b/doc/_static/canaille-full-black.webp similarity index 100% rename from doc/_static/canaille-full.webp rename to doc/_static/canaille-full-black.webp diff --git a/doc/_static/canaille-full-white.webp b/doc/_static/canaille-full-white.webp new file mode 100644 index 00000000..d26f4e14 Binary files /dev/null and b/doc/_static/canaille-full-white.webp differ diff --git a/doc/_static/canaille-head.webp b/doc/_static/canaille-head-black.webp similarity index 100% rename from doc/_static/canaille-head.webp rename to doc/_static/canaille-head-black.webp diff --git a/doc/_static/canaille-head-white.webp b/doc/_static/canaille-head-white.webp new file mode 100644 index 00000000..b674774a Binary files /dev/null and b/doc/_static/canaille-head-white.webp differ diff --git a/doc/_static/canaille-label.webp b/doc/_static/canaille-label-black.webp similarity index 100% rename from doc/_static/canaille-label.webp rename to doc/_static/canaille-label-black.webp diff --git a/doc/_static/canaille-label-white.webp b/doc/_static/canaille-label-white.webp new file mode 100644 index 00000000..5579435c Binary files /dev/null and b/doc/_static/canaille-label-white.webp differ diff --git a/doc/_static/logo.webp b/doc/_static/logo.webp deleted file mode 100644 index 0ff6934a..00000000 Binary files a/doc/_static/logo.webp and /dev/null differ diff --git a/doc/conf.py b/doc/conf.py index acb20f62..7fd5e372 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -66,10 +66,12 @@ issues_commit_uri = "https://gitlab.com/yaal/canaille/-/commit/{commit}" # -- Options for HTML output ---------------------------------------------- html_theme = "shibuya" -html_static_path = [] +html_static_path = ["_static"] html_baseurl = "https://canaille.readthedocs.io/" html_theme_options = { "accent_color": "yellow", + "light_logo": "_static/canaille-label-black.webp", + "dark_logo": "_static/canaille-label-white.webp", "gitlab_url": "https://gitlab.com/yaal/canaille", "mastodon_url": "https://toot.aquilenet.fr/@yaal", "nav_links": [ @@ -85,7 +87,6 @@ html_theme_options = { # -- Options for HTMLHelp output ------------------------------------------ htmlhelp_basename = "canailledoc" -html_logo = "_static/logo.webp" # -- Options for LaTeX output --------------------------------------------- diff --git a/doc/index.rst b/doc/index.rst index 3c63a717..e4ae3d60 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -1,5 +1,12 @@ -Canaille -======== +.. figure:: _static/canaille-full-black.webp + :width: 400 + :figclass: light-only + :align: center + +.. figure:: _static/canaille-full-white.webp + :width: 400 + :figclass: dark-only + :align: center **Canaille** is a French word meaning *rascal*. It is roughly pronounced **Can I?**, as in *Can I access your data?* Canaille is a lightweight identity and authorization management software.