Skip to content

Docs: add logo to menu #5054

@hugovk

Description

@hugovk

We can add the Pillow logo to the docs menu:

html_logo
If given, this must be the name of an image file (path relative to the configuration directory) that is the logo of the docs. It is placed at the top of the sidebar; its width should therefore not exceed 200 pixels. Default: None.

https://www.sphinx-doc.org/en/master/usage/configuration.html

Here's a couple of options: one with the logo, another with logo+text.

Which do you prefer?

https://pillow-hugovk.readthedocs.io/en/docs-logo/ https://pillow-hugovk.readthedocs.io/en/docs-logo-text/
https://github.com/hugovk/Pillow/tree/docs-logo https://github.com/hugovk/Pillow/tree/docs-logo-text
image image
image image
Screenshot_20201121-220557_Chrome Screenshot_20201121-220617_Chrome
Screenshot_20201121-220825_Chrome Screenshot_20201121-220834_Chrome

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions