Author jonash
Recipients benjamin.peterson, docs@python, eric.araujo, ezio.melotti, georg.brandl, jonash, r.david.murray
Date 2011-05-30.14:38:40
SpamBayes Score 2.58529e-08
Marked as misclassified No
Message-id <1306766321.5.0.223828807458.issue11975@psf.upfronthosting.co.za>
In-reply-to
Content
> when you mark up something with a mod, func, class or meth role, Sphinx will find the target without paying attention to its type.  So changing :func: to :class: does not bring anything.

From a quick test this seems to hold true for links within one project but not for Sphinx' intersphinx extension, which actually cares about types.

So the question is whether we keep CPython implementation details (many builtins being both a class and a function) out of the documentation or we get the Sphinx developers to change intersphinx behaviour.  I guess you'd suggest the latter, right? :-)
History
Date User Action Args
2011-05-30 14:38:41jonashsetrecipients: + jonash, georg.brandl, benjamin.peterson, ezio.melotti, eric.araujo, r.david.murray, docs@python
2011-05-30 14:38:41jonashsetmessageid: <1306766321.5.0.223828807458.issue11975@psf.upfronthosting.co.za>
2011-05-30 14:38:40jonashlinkissue11975 messages
2011-05-30 14:38:40jonashcreate