Closed winny- closed 9 years ago
Hm, should we use “pair” for methods perhaps? See 14cd9baa6abf615c4b5ac2b25611b838ae2a0d4e
"pair" will make index entries with hierarchy "method" -> "user.somemethod", and "user.somemethod" -> "method".
I think we want:
.. index::
single: method; user.somemethod
single: user.somemethod
Oh. :-) Python 3's genindex does the same thing: https://docs.python.org/3/genindex-all.html
I'm going to push your commit to my pull request.
Oh. :-) Python 3's genindex does the same thing: https://docs.python.org/3/genindex-all.html Yeah, this seems to be the intended usage of
pair
. Merged.
I'm trying to make the documentation searchable in Dash, no luck so far, even so, this
genindex.html
is rather handy.I also introduced two newlines between subsections in the document, this way it's easier to tell where one method's documentation starts and the other ends.