diff --git a/README.rst b/README.rst index 338adbcae24..7ee16ecb365 100644 --- a/README.rst +++ b/README.rst @@ -2,7 +2,7 @@ Async http client/server framework ================================== -.. image:: https://raw.githubusercontent.com/aio-libs/aiohttp/master/docs/_static/aiohttp-icon-128x128.png +.. image:: https://raw.githubusercontent.com/aio-libs/aiohttp/master/docs/aiohttp-plain.svg :height: 64px :width: 64px :alt: aiohttp logo diff --git a/docs/_static/aiohttp-icon-128x128.png b/docs/_static/aiohttp-icon-128x128.png deleted file mode 100644 index e486a04e36e..00000000000 Binary files a/docs/_static/aiohttp-icon-128x128.png and /dev/null differ diff --git a/docs/_static/css/logo-adjustments.css b/docs/_static/css/logo-adjustments.css new file mode 100644 index 00000000000..b93746f65fb --- /dev/null +++ b/docs/_static/css/logo-adjustments.css @@ -0,0 +1,7 @@ +.sphinxsidebarwrapper>h1.logo { + display: none; +} + +.sphinxsidebarwrapper>p.logo>a>img.logo { + width: 65%; +} diff --git a/docs/conf.py b/docs/conf.py index 3bd19d3d0d5..b025f30eddc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -146,7 +146,6 @@ # further. For a list of options available for each theme, see the # documentation. html_theme_options = { - "logo": "aiohttp-icon-128x128.png", "description": "Async HTTP client/server for asyncio and Python", "canonical_url": "http://docs.aiohttp.org/en/stable/", "github_user": "aio-libs", @@ -188,6 +187,10 @@ ], } +html_css_files = [ + "css/logo-adjustments.css", +] + # Add any paths that contain custom themes here, relative to this directory. # html_theme_path = [alabaster.get_path()] @@ -200,7 +203,7 @@ # The name of an image file (relative to this directory) to place at the top # of the sidebar. -# html_logo = 'aiohttp-icon.svg' +html_logo = "aiohttp-plain.svg" # The name of an image file (within the static path) to use as favicon of the # docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32