[docutils:feature-requests] #66 allow more characters when transforming "names" to "ids".
Günter Milde via Docutils-develop <[email protected]> Sun, 03 Aug 2025 20:41:08 -0000
| Newsgroups | gmane.text.docutils.devel |
|---|---|
| Message-ID | </p/docutils/feature-requests/66/3c2b708d51a9f3769e1a11e6ee30ed5d45873a79.feature-requests@docutils.p.sourceforge.net> |
This is a multi-part message in MIME format.
--===============4060341086969157147==
Content-Type: multipart/related; boundary="===============8852957734061455352=="
This is a multi-part message in MIME format.
--===============8852957734061455352==
Content-Type: multipart/alternative; boundary="===============5440659007261702385=="
MIME-Version: 1.0
--===============5440659007261702385==
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
See also the discussion in [Sphinx issue #8709](https://github.com/sphinx-doc/sphinx/issues/8709).
---
**[feature-requests:#66] allow more characters when transforming "names" to "ids".**
**Status:** pending
**Group:** Default
**Created:** Mon Sep 30, 2019 05:30 PM UTC by Roland Puntaier
**Last Updated:** Tue Apr 29, 2025 07:07 PM UTC
**Owner:** nobody
`` encloses a role. There is a default role, else :<role>:`text`
_ in front, is the special target role. For one word the backtick can be dropped.
_`__init__` should produce a target named "__init__".
But instead the produced target is "init".
The backtick avoids ambiguity. There is no need for this behavior.
---
Sent from sourceforge.net because [email protected] is subscribed to https://sourceforge.net/p/docutils/feature-requests/
To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/docutils/admin/feature-requests/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.
--===============5440659007261702385==
MIME-Version: 1.0
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: 7bit
<div class="markdown_content"><p>See also the discussion in <a class="" href="https://github.com/sphinx-doc/sphinx/issues/8709" rel="nofollow">Sphinx issue #8709</a>.</p>
<hr/>
<p><strong><span><span>[feature-requests:#66]</span></span> allow more characters when transforming "names" to "ids".</strong></p>
<p><strong>Status:</strong> pending<br/>
<strong>Group:</strong> Default<br/>
<strong>Created:</strong> Mon Sep 30, 2019 05:30 PM UTC by Roland Puntaier<br/>
<strong>Last Updated:</strong> Tue Apr 29, 2025 07:07 PM UTC<br/>
<strong>Owner:</strong> nobody</p>
<div class="codehilite"><pre><span></span><code><span class="n n-Quoted">``</span><span class="w"> </span><span class="n">encloses</span><span class="w"> </span><span class="n">a</span><span class="w"> </span><span class="k">role</span><span class="p">.</span><span class="w"> </span><span class="n">There</span><span class="w"> </span><span class="k">is</span><span class="w"> </span><span class="n">a</span><span class="w"> </span><span class="k">default</span><span class="w"> </span><span class="k">role</span><span class="p">,</span><span class="w"> </span><span class="k">else</span><span class="w"> </span><span class="o">:<</span><span class="k">role</span><span class="o">>:</span><span class="n n-Quoted">`text`</span>
<span class="n">_</span><span class="w"> </span><span class="k">in</span><span class="w"> </span><span class="n">front</span><span class="p">,</span><span class="w"> </span><span class="k">is</span><span class="w"> </span><span class="n">the</span><span class="w"> </span><span class="n">special</span><span class="w"> </span><span class="n">target</span><span class="w"> </span><span class="k">role</span><span class="p">.</span><span class="w"> </span><span class="k">For</span><span class="w"> </span><span class="k">one</span><span class="w"> </span><span class="n">word</span><span class="w"> </span><span class="n">the</span><span class="w"> </span><span class="n">backtick</span><span class="w"> </span><span class="n">can</span><span class="w"> </span><span class="n">be</span><span class="w"
> </span><span class="n">dropped</span><span class="p">.</span>
<span class="n">_</span><span class="n n-Quoted">`__init__`</span><span class="w"> </span><span class="n">should</span><span class="w"> </span><span class="n">produce</span><span class="w"> </span><span class="n">a</span><span class="w"> </span><span class="n">target</span><span class="w"> </span><span class="n">named</span><span class="w"> </span><span class="s2">"__init__"</span><span class="p">.</span>
</code></pre></div>
<p>But instead the produced target is "init".<br/>
The backtick avoids ambiguity. There is no need for this behavior.</p>
<hr/>
<p>Sent from sourceforge.net because [email protected] is subscribed to <a href="https://sourceforge.net/p/docutils/feature-requests/">https://sourceforge.net/p/docutils/feature-requests/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/docutils/admin/feature-requests/options.">https://sourceforge.net/p/docutils/admin/feature-requests/options.</a> Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>
--===============5440659007261702385==--
--===============8852957734061455352==--
--===============4060341086969157147==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
--===============4060341086969157147==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline