Approach for resolving unknown references with pure docutils

Tony N <[email protected]>
Newsgroups gmane.text.docutils.user
Message-ID <CAC8GGzN8RkjNqTKkjFqQBX127OBmjxpo27dMWmYN5vMnSXLNJA@mail.gmail.com>
Docutils Users,

Currently, sphinx has an infrastructure geared toward resolving unknown
references. I have not been able to find an approach for a custom reference
resolver mentioned before on the list.

What would the best approach be for wiring in a callback to resolve missing
references with pure docutils? If it’s a transformer, when and where would
would it be added/applied? (It appears the other reference resolvers in
docutils are in the Reader).

Tony

P.S.  An aside, parsers/rst/states.py has an
unused UnknownInterpretedRoleError exception.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.