-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"interface" role and object type is not implemented properly #9
Comments
Hmm, the Pyramid docs themselves show that it works. e.g.: class IContextFound(Interface):
""" An event type that is emitted after :app:`Pyramid` finds a
:term:`context` object but before it calls any view code. See the
documentation attached to :class:`pyramid.events.ContextFound`
for more information.
.. note::
For backwards compatibility with versions of
:app:`Pyramid` before 1.0, this event interface can also be
imported as :class:`pyramid.interfaces.IAfterTraversal`.
""" which renders as expected. What are you expecting to see that isn't there? |
Well local references could be different as intersphinx is not involved probably. |
I tried to copy some interface to my code, and locally it doesn't work also.
The module is installed, but looks like doesn't work for some reason. |
Local copy works, but not fully - 1. .. autointerface:: localinterface
2. :class:`localinterface` The end result: 2 is a link pointing to 1 |
If you run the following:
you will notice that interfaces are exported as |
So there are 2 issues here actually:
|
Sphinx API is a total mess. Why is there |
I've fixed this...will create pull request a bit later, need to sleep now ;) |
On RTD, which is apparently using Sphinx 1.5.3 I'm not having any trouble using intersphinx references to interfaces. E.g., this class in zope.app.apidoc references You can see the source uses the @implementer(ILocation)
class APIDocumentation(ReadContainerBase):
"""
The collection of all API documentation.
This documentation is implemented using a simply
:class:`~zope.container.interfaces.IReadContainer`. The items of
the container are all registered utilities for
:class:`~zope.app.apidoc.interfaces.IDocumentationModule`.
""" The only (minor) problem I'm having there is that the fuzzy-matching doesn't work for intersphinx references. That is, using However, locally, where I'm using sphinx 1.6.1, the link doesn't work. If I downgrade to Sphinx 1.5.6, the link works. So this is an issue introduced with Sphinx 1.6. |
Looks like it could be a bug in this package - correct me if I'm wrong.
This one fails:
This one fails also:
Any ideas ?
The text was updated successfully, but these errors were encountered: