From 0e5bb0d654f023964c664974f8517e09c00e341d Mon Sep 17 00:00:00 2001 From: Corentin Mercier Date: Sun, 7 Apr 2024 22:54:20 +0700 Subject: [PATCH 1/2] Use Shibuya theme https://shibuya.lepture.com --- docs/requirements.txt | 2 +- docs/src/conf.py | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 08cb8a8..04ba9e8 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ Sphinx==5.2.2 -furo==2022.9.15 +shibuya==2024.4.4 myst-parser==0.18.1 sphinx-copybutton==0.5.0 diff --git a/docs/src/conf.py b/docs/src/conf.py index 6336244..19fe1a5 100644 --- a/docs/src/conf.py +++ b/docs/src/conf.py @@ -7,7 +7,7 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information project = "Cloud AUD" -copyright = "2022, Cloudfloat" +copyright = "2024, Cloudfloat" author = "Cloudfloat" @@ -23,5 +23,14 @@ # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output -html_theme = "furo" +html_theme = "shibuya" html_static_path = ["_static"] + + +html_theme_options = { + "nav_links": [ + {"title": "Wallet", "url": "https://caud.io"}, + ] +} + +html_theme_options = {"github_url": "https://github.com/CloudfloatAU/cloud-aud"} From 92edaaf2e0cfd9b61269eec015d44375448f7c04 Mon Sep 17 00:00:00 2001 From: Corentin Mercier Date: Mon, 15 Apr 2024 12:31:29 +0700 Subject: [PATCH 2/2] Upgrade shibuya version --- docs/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/requirements.txt b/docs/requirements.txt index 04ba9e8..03dfb9f 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,4 +1,4 @@ Sphinx==5.2.2 -shibuya==2024.4.4 +shibuya==2024.4.8 myst-parser==0.18.1 sphinx-copybutton==0.5.0