<div dir="ltr">This feature (?) solves the problem, if two documentations has the same reference. for example<div><br></div><div><br></div><div><table class="inbox-inbox-highlighttable" style="border-collapse:collapse;background:rgb(187,187,187);border:0px;width:547px;color:rgb(34,34,34);font-family:Georgia,Garamond,serif;font-size:16px"><tbody><tr><td class="inbox-inbox-linenos" style="padding:0px"><div class="inbox-inbox-linenodiv" style="padding:0.5em"><pre style="overflow:auto;font-family:"Bitstream Vera Sans Mono","Courier New",Monaco,monospace;font-size:14.4px"><a href="http://dpaste.com/0QE8N3D#line-1" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none">1</a>
<a href="http://dpaste.com/0QE8N3D#line-2" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none"> 2</a>
<a href="http://dpaste.com/0QE8N3D#line-3" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none"> 3</a>
<a href="http://dpaste.com/0QE8N3D#line-4" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none"> 4</a>
<a href="http://dpaste.com/0QE8N3D#line-5" class="inbox-inbox-special" style="background-color:transparent;border-bottom:none;color:rgb(119,119,119);text-decoration-line:none;font-weight:700"> 5</a>
<a href="http://dpaste.com/0QE8N3D#line-6" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none"> 6</a>
<a href="http://dpaste.com/0QE8N3D#line-7" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none"> 7</a>
<a href="http://dpaste.com/0QE8N3D#line-8" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none"> 8</a>
<a href="http://dpaste.com/0QE8N3D#line-9" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none"> 9</a>
<a href="http://dpaste.com/0QE8N3D#line-10" class="inbox-inbox-special" style="background-color:transparent;border-bottom:none;color:rgb(119,119,119);text-decoration-line:none;font-weight:700">10</a>
<a href="http://dpaste.com/0QE8N3D#line-11" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none">11</a>
<a href="http://dpaste.com/0QE8N3D#line-12" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none">12</a>
<a href="http://dpaste.com/0QE8N3D#line-13" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none">13</a>
<a href="http://dpaste.com/0QE8N3D#line-14" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none">14</a>
<a href="http://dpaste.com/0QE8N3D#line-15" class="inbox-inbox-special" style="background-color:transparent;border-bottom:none;color:rgb(119,119,119);text-decoration-line:none;font-weight:700">15</a>
<a href="http://dpaste.com/0QE8N3D#line-16" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none">16</a>
<a href="http://dpaste.com/0QE8N3D#line-17" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none">17</a>
<a href="http://dpaste.com/0QE8N3D#line-18" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none">18</a>
<a href="http://dpaste.com/0QE8N3D#line-19" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none">19</a>
<a href="http://dpaste.com/0QE8N3D#line-20" class="inbox-inbox-special" style="background-color:transparent;border-bottom:none;color:rgb(119,119,119);text-decoration-line:none;font-weight:700">20</a>
<a href="http://dpaste.com/0QE8N3D#line-21" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none">21</a>
<a href="http://dpaste.com/0QE8N3D#line-22" style="background-color:transparent;border-bottom:none;color:rgb(153,153,153);text-decoration-line:none">22</a></pre></div></td><td class="inbox-inbox-code" style="padding:0.5em;background:rgb(255,255,255);white-space:nowrap"><div class="inbox-inbox-highlight" style="background-image:initial;background-position:initial;background-size:initial;background-repeat:initial;background-origin:initial;background-clip:initial;padding:0px"><pre style="overflow:auto;font-family:"Bitstream Vera Sans Mono","Courier New",Monaco,monospace;font-size:14.4px"><a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-k" style="color:rgb(0,128,0);font-weight:bold">def</span> <span class="inbox-inbox-nf" style="color:rgb(0,0,255)">foo</span><span class="inbox-inbox-p">():</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a>   <span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">"""foo the faa[something2018]</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   </span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   References</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   ----------</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   </span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   .. [something2018] foo the faa the thing in spam</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   </span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   """</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a>   <span class="inbox-inbox-k" style="color:rgb(0,128,0);font-weight:bold">pass</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a>   
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a>   
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-k" style="color:rgb(0,128,0);font-weight:bold">def</span> <span class="inbox-inbox-nf" style="color:rgb(0,0,255)">foo2</span><span class="inbox-inbox-p">():</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a>   <span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">"""foo2 the faa[something2018]</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   </span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   References</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   ----------</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   </span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   .. [something2018] foo the faa the thing in spam</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   </span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a><span class="inbox-inbox-sd" style="color:rgb(186,33,33);font-style:italic">   """</span>
<a style="background-color:transparent;border-bottom:1px dotted rgb(102,102,102);color:rgb(51,51,51)"></a>   <span class="inbox-inbox-k" style="color:rgb(0,128,0);font-weight:bold">pass</span></pre></div></td></tr></tbody></table></div><div>   </div><div>The two function has the same reference name but sphinx link to they own reference</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 26 Apr 2018 at 14:57 Thomas Robitaille <<a href="mailto:thomas.robitaille@gmail.com">thomas.robitaille@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Leo,<br>
<br>
I think this *may* be an issue that would be resolved with the latest<br>
version of numpydoc.<br>
<br>
I need to update the package-template to use the new sphinx-astropy<br>
infrastructure which allows you to use the latest version of numpydoc.<br>
<br>
Cheers,<br>
Tom<br>
<br>
<br>
On 26 April 2018 at 17:25, Singer, Leo P. (GSFC-6610)<br>
<<a href="mailto:leo.p.singer@nasa.gov" target="_blank">leo.p.singer@nasa.gov</a>> wrote:<br>
> Hi,<br>
><br>
> In the Sphinx documentation for my Astropy-affiliated package, I am finding that numbers for references are getting mangle into something that looks like a git hash (e.g. "[R23d00ce4ef89-1]"). Here is an example:<br>
><br>
> <a href="https://leo-singer.docs.ligo.org/ligo.skymap/ligo/skymap/bayestar.html" rel="noreferrer" target="_blank">https://leo-singer.docs.ligo.org/ligo.skymap/ligo/skymap/bayestar.html</a><br>
><br>
> How do I prevent sphinx from mangling my reference numbers?<br>
><br>
> Thanks,<br>
> Leo<br>
><br>
><br>
> ----<br>
> Dr. Leo P. Singer<br>
> NASA Goddard Space Flight Center<br>
> Astroparticle Physics Laboratory<br>
> Code 661, 8800 Greenbelt Rd.<br>
> Greenbelt, MD 20771, U.S.A.<br>
><br>
><br>
><br>
><br>
> _______________________________________________<br>
> AstroPy mailing list<br>
> <a href="mailto:AstroPy@python.org" target="_blank">AstroPy@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/astropy" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/astropy</a><br>
_______________________________________________<br>
AstroPy mailing list<br>
<a href="mailto:AstroPy@python.org" target="_blank">AstroPy@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/astropy" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/astropy</a><br>
</blockquote></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><p dir="ltr">Juan BC (from phone)</p>
</div>