Hi Carl,

I think extlinks official extension will help you.
http://sphinx-doc.org/ext/extlinks.html

The code is simple and short enough.
https://bitbucket.org/birkenfeld/sphinx/src/379cbebe/sphinx/ext/extlinks.py

Best regards,
--
Takayuki SHIMIZUKAWA
http://about.me/shimizukawa


2013/7/24 Carl Cerecke <[email protected]>:
> I have a custom role which inserts nodes created by
> docutils.nodes.reference(...), but in the generated HTML the text is
> inside <cite> tags and the refuri is nowhere to be seen. The code does
> generate links correctly using plain docutils (I'm in the process of
> migrating to sphinx from docutils), and is not different in principle
> from the code on
> http://doughellmann.com/2010/05/defining-custom-roles-in-sphinx.html
>
> I'm not sure where to start looking to find the cause of this problem.
> Any ideas?
>
> Cheers,
> Carl.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/sphinx-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to