SF.net SVN: docutils:[10167 ] trunk/docutils

milde--- via Docutils-checkins <[email protected]> Mon, 16 Jun 2025 09:46:32 +0000
Newsgroups gmane.text.docutils.cvs
Message-ID <[email protected]>
Revision: 10167
          http://sourceforge.net/p/docutils/code/10167
Author:   milde
Date:     2025-06-16 09:46:32 +0000 (Mon, 16 Jun 2025)
Log Message:
-----------
Announce removal of `nodes.Targetable.indirect_reference_name`.

Modified Paths:
--------------
    trunk/docutils/RELEASE-NOTES.rst
    trunk/docutils/docutils/nodes.py

Modified: trunk/docutils/RELEASE-NOTES.rst
===================================================================
--- trunk/docutils/RELEASE-NOTES.rst	2025-06-16 09:45:10 UTC (rev 10166)
+++ trunk/docutils/RELEASE-NOTES.rst	2025-06-16 09:46:32 UTC (rev 10167)
@@ -173,6 +173,9 @@
   in Docutils 1.0.  Use a transform_,
   see `transforms.references.CitationReferences` for an example.
 
+* Remove the internal attribute `nodes.Targetable.indirect_reference_name`
+  in Docutils 1.0. (Was required for MoinMoin <= 1.9.)
+
 * Don't call `transforms.references.DanglingReferences` and
   `transforms.references.DanglingReferencesVisitor` in Docutils 1.0;
   remove them in Docutils 2.0. [rationale__]

Modified: trunk/docutils/docutils/nodes.py
===================================================================
--- trunk/docutils/docutils/nodes.py	2025-06-16 09:45:10 UTC (rev 10166)
+++ trunk/docutils/docutils/nodes.py	2025-06-16 09:46:32 UTC (rev 10167)
@@ -1475,9 +1475,10 @@
 
     indirect_reference_name: str | None = None
     """Holds the whitespace_normalized_name (contains mixed case) of a target.
-    Required for MoinMoin/reST compatibility.
 
-    Provisional.
+    This was required for MoinMoin <= 1.9 compatibility.
+
+    Deprecated, will be removed in Docutils 1.0.
     """
 
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



_______________________________________________
Docutils-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/docutils-checkins