This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author tbeadle
Recipients BreamoreBoy, chris.jerdonek, docs@python, rhettinger, tbeadle, terry.reedy
Date 2016-06-02.23:37:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464910621.71.0.64423620554.issue15476@psf.upfronthosting.co.za>
In-reply-to
Content
The attached patch makes it so that 'code object' is its own 'top-level' entry in the index instead of being 'code' with an 'object' sub-item.  It also makes the links from the index go to the location in the documents just before the header instead of having the header be off-screen when the user navigates to it.

One thing about the ordering of the generated links, though, is that sphinx appears to generate them based on the alphabetical ordering of the path to the files that they're in:

c-api/code.rst
library/marshal.rst
library/stdtypes.rst
reference/datamodel.rst

If the order is that important, I believe it would require us to create sub-items that could look like this:

code object
    C API
    built-in type
    type reference
    marshaling

It didn't seem like other indexed entries follow this breakout pattern, but if that's what's desired for this case, just let me know and I'll submit a different patch.
History
Date User Action Args
2016-06-02 23:37:01tbeadlesetrecipients: + tbeadle, rhettinger, terry.reedy, chris.jerdonek, docs@python, BreamoreBoy
2016-06-02 23:37:01tbeadlesetmessageid: <1464910621.71.0.64423620554.issue15476@psf.upfronthosting.co.za>
2016-06-02 23:37:01tbeadlelinkissue15476 messages
2016-06-02 23:37:01tbeadlecreate