mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Add source comment to explain why is the second argument (msgnode) not needed. Refs #1300, 8d51df20d4
This commit is contained in:
parent
f99e077dd4
commit
45cfb42864
@ -243,6 +243,12 @@ class Locale(Transform):
|
||||
self.document.ids.pop(_id, None)
|
||||
|
||||
# re-entry with new named section node.
|
||||
#
|
||||
# Note: msgnode that is a second parameter of the
|
||||
# `note_implicit_target` is not necessary here because
|
||||
# section_node has been noted previously on rst parsing by
|
||||
# `docutils.parsers.rst.states.RSTState.new_subsection()`
|
||||
# and already has `system_message` if needed.
|
||||
self.document.note_implicit_target(section_node)
|
||||
|
||||
# replace target's refname to new target name
|
||||
|
Loading…
Reference in New Issue
Block a user