Hi there,

I'm trying to use intersphinx together with a hand-written 'missing-reference'
callback at the same time. I'm using the following setup:

extensions = ['sphinx.ext.intersphinx']

intersphinx_mapping = {'http://docs.python.org/':
    os.path.abspath(os.path.join(SAGE_DOC, 'common/python-inv.txt'))}

and finally

def setup(app):
    app.connect('missing-reference', find_sage_dangling_links)

where the function find_sage_dangling_links is raising a warning when the link
is not resolved. The problem is that intersphinx try to resolve the link only
*after* find_sage_dangling_links raise the warning. So a warning is raised
where it shouldn't ! Is there a way to connect find_sage_dangling_links after
intersphinx in the pile or queue of connected callback. Should I unconnect
intersphinx's 'missing-reference' and reconnect it after mine ?

Note: I'm on Sphinx v0.6.3 so that this problem may have been solved in more
updated version. We are looking forward to having sphinx 1.0 ! We will then
upgrade. Thanks for the good work !

Cheers,

Florent

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-dev" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sphinx-dev?hl=en.

Reply via email to