I too missed PHP’s one-function-per-page documentation when I first learned Python, though PHP has/had the “advantage” of a single massive top-level namespace of functions, which makes such an approach more viable.
I wonder if it’s possible to add a new Sphinx HTML target that generates a page per defined python ref that includes just the docs from the .. func:: / .. class:: / whatever, with a prominent banner at the top saying
This is a snippet of
object.__new__documentation. Click here to see the snippet in context
It might help with SEO? Certain official Python method documentation is almost ungoogleable at the moment, __init__ being the most recent example I have to hand.
For the record I am not volunteering to do this work ![]()