python-docs-theme icon indicating copy to clipboard operation
python-docs-theme copied to clipboard

Docs Python.org button

Open StanFromIreland opened this issue 11 months ago • 4 comments

Documentation

Below 1024 pixels width there is no button that returns you to the docs home.

Image


For screen widths > 1023 you can click the "3.13.1 Documentation »" button to return to the docs index.

Image

Proposal

When using the docs on a small screen there is no easy way to return to the index as you can see in the below page:

Image

I propose for usability the Python logo returns you to the index, this is generally the web standard.

StanFromIreland avatar Feb 01 '25 17:02 StanFromIreland

I've noticed this on mobile, it's a pain not to have a link back to the docs homepage, and we should add one.

I think changing the logo to link to https://docs.python.org/ instead of https://www.python.org probably makes sense.

Image

One concern, in the full-width display we have:

Image

The logo links nowhere, "Python" links to www.python.org and "3.13.1 Documentation" links to docs.python.org. Should this logo also link to docs.python.org for consistency? Or would it be confusing to have a somewhat change in hierarchy?

hugovk avatar Feb 02 '25 15:02 hugovk

@hugovk I agree with both linking to the homepage.

StanFromIreland avatar Feb 02 '25 16:02 StanFromIreland

Would it be worth to move the link to Python home to the sidebar or footer, if we remove the existing one?

m-aciek avatar Feb 04 '25 17:02 m-aciek

Yes, or under "Project information:", see https://github.com/python/python-docs-theme/pull/220#issuecomment-2635088229.

hugovk avatar Feb 04 '25 21:02 hugovk