-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am 24.08.2010 15:53, schrieb Kevin Dunn: > Hi, > > I'm developing a Sphinx extension and Django application that I hope > to publicly release soon. The extension allows for commenting on each > node in the documentation. > > Docutils makes the starting line number available for each node in the > RST file. However, the node's line number is not always propagated for > some of the custom Sphinx nodes. > > It would helpful if the following small patches can be made to: > > * sphinx/directives/code.py > * sphinx/directives/other.py > * sphinx/ext/mathbase.py > > as given by the attached Mercurial diff output against the latest tip. > > These changes simply ensure that the line number, provided by Docutils > via ``self.lineno``, are available in the node object when the various > ``visit_ ....`` methods are called later on. The line numbers for > most nodes are already available, but these few were not.
This is now committed to 1.0 and trunk. Thanks, Georg -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) iEYEARECAAYFAk0m6C4ACgkQN9GcIYhpnLCrOwCglZ1D4vWTHxQLbV6TbDCE+GtU fQIAoK1l6ufNiRtlQGdbo8VGnYh1Ddkd =T91O -----END PGP SIGNATURE----- -- You received this message because you are subscribed to the Google Groups "sphinx-dev" group. To post to this group, send email to sphinx-...@googlegroups.com. To unsubscribe from this group, send email to sphinx-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sphinx-dev?hl=en.