On Sunday, January 21, 2018 at 6:22:03 AM UTC-5, Komiya Takeshi wrote: > > Basically, I'd not like to add new notation for Sphinx. I believe it > brings complexity to Sphinx. > We already have extension points like roles and directives. So we > should consider to use them first.
I agree in principle. The problem is that this particular feature is dependent on Sphinx's XRef resolution. Implementing it as an extension would require basically duplicating the entire XRef resolution stack, which is much, much more complicated than doing a direct implementation. On the other hand, now that I think about it, perhaps *that* is the problem, and a better solution would be to allow users to directly hook into XRef resolution. This could eventually allow some of the XRef roles to themselves be transitioned to extensions, or at least less tightly coupled to sphinx-core. Thoughts? -- Matthew -- 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 https://groups.google.com/group/sphinx-users. For more options, visit https://groups.google.com/d/optout.
