Skip to content

One page per function / class in HTML docs for skimage2 #8148

Closed

Description

@lagru

This was initially discussed in this Zulip thread:

I'd like to propose that for skimage2 we switch how the API documentation is organized. Instead of having a long page per module, I'd like to propose giving each function (or class, etc) its own page. We may have touched on this in past discussions but I think there would be some advantage:

  • Website analytics suddenly allow the usage statistics per API endpoint, and not only per module. It would be very nice to know which functions get the most visits.
  • Subjectively, it improves UX and readability of our docs. Pages like skimage.measure.html are very large. It's easy to loose my scroll position, especially when resizing the window (not sure why that's happening?!). It's also extra work to notice the boundaries between functions. All that goes away with my proposal.
  • It may also impact performance positively. Largest contentful paint takes 2.2 s on lighthouse report for skimage.morphology.html compared to 1.2 s for a smaller getting_started.html. The largest factor is probably still the quite "chunky" sphinx theme.

Our introduction of skimage2 would be a good time to implement this because we are introducing new URLs anyway (api/... vs api2/...).

Since this proposal received positive feedback I'm recording this as an issue so we don't forget. But I'd say we don't immediately need this. But we should certainly use it before the skimage2 docs hit an official release, so that links can stay stable after that.

Activity

  1. added
    📄 type: Documentation
    🤖 type: Infrastructure
    🥾 Path to skimage2
    on May 8, 2026
  2. changed the title [-]One page per funtion / class in HTML docs for skimage2[/-] [+]One page per function / class in HTML docs for skimage2[/+] on May 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    🥾 Path to skimage2📄 type: Documentation🤖 type: Infrastructure

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions