From a1c563f166e2bcb2d135ba8ff8ba2d0a8216b48d Mon Sep 17 00:00:00 2001 From: Alessandro Candido Date: Fri, 1 Mar 2024 22:13:30 +0100 Subject: [PATCH] docs: Import static content --- docs/source/_static/css/style.css | 7 ++ docs/source/_static/qibo_logo_dark.svg | 121 ++++++++++++++++++++++++ docs/source/_static/qibo_logo_light.svg | 80 ++++++++++++++++ docs/source/conf.py | 4 +- 4 files changed, 209 insertions(+), 3 deletions(-) create mode 100644 docs/source/_static/css/style.css create mode 100644 docs/source/_static/qibo_logo_dark.svg create mode 100644 docs/source/_static/qibo_logo_light.svg diff --git a/docs/source/_static/css/style.css b/docs/source/_static/css/style.css new file mode 100644 index 0000000..46c934c --- /dev/null +++ b/docs/source/_static/css/style.css @@ -0,0 +1,7 @@ +.wy-side-nav-search { + background-color: #6400FF; +} + +.wy-nav-top { + background-color: #6400FF; +} diff --git a/docs/source/_static/qibo_logo_dark.svg b/docs/source/_static/qibo_logo_dark.svg new file mode 100644 index 0000000..3b7dc40 --- /dev/null +++ b/docs/source/_static/qibo_logo_dark.svg @@ -0,0 +1,121 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + diff --git a/docs/source/_static/qibo_logo_light.svg b/docs/source/_static/qibo_logo_light.svg new file mode 100644 index 0000000..bb907e7 --- /dev/null +++ b/docs/source/_static/qibo_logo_light.svg @@ -0,0 +1,80 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/docs/source/conf.py b/docs/source/conf.py index d1742fd..fe0a077 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -58,6 +58,7 @@ exclude_patterns = [] html_theme = "furo" html_static_path = ["_static"] +html_show_sourcelink = False # Adapted this from # https://github.com/readthedocs/recommonmark/blob/ddd56e7717e9745f11300059e4268e204138a6b1/docs/conf.py @@ -78,6 +79,3 @@ def setup(app): app.add_css_file("css/style.css") app.connect("builder-inited", run_apidoc) - - -html_show_sourcelink = False