diff --git a/docs/conf.py b/docs/conf.py index c2e7693..a70fc08 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -63,6 +63,20 @@ "light_logo": "sphinx-codelinks-logo_light.svg", "dark_logo": "sphinx-codelinks-logo_dark.svg", } +templates_path = ["source/_static/_templates/furo"] +html_sidebars = { + "**": [ + "sidebar/brand.html", + "sidebar/search.html", + "sidebar/scroll-start.html", + "sidebar/navigation.html", + "sidebar/ethical-ads.html", + "sidebar/scroll-end.html", + "side-github.html", + "sidebar/variant-selector.html", + ] +} +html_context = {"repository": "useblocks/sphinx-codelinks"} html_css_files = ["furo.css"] src_trace_config_from_toml = "./src_trace.toml" diff --git a/docs/source/_static/_templates/furo/side-github.html b/docs/source/_static/_templates/furo/side-github.html new file mode 100644 index 0000000..abdbca7 --- /dev/null +++ b/docs/source/_static/_templates/furo/side-github.html @@ -0,0 +1,37 @@ + + + + + + {{ repository }} + + + + + {{ version }} + + +