Re: [sphinx-users] numref for container

2020-02-06 Thread Myne
That works for me. Thank you for your help. On Thursday, February 6, 2020 at 7:48:52 AM UTC-8, Komiya Takeshi wrote: > > Sorry, my last comment was incorrect. > > >2. To enable the name of hyperlink target, you need to call > >`self.state.document.note_implicit_target(container_node)`. > > Pl

Re: [sphinx-users] numref for container

2020-02-06 Thread Komiya Takeshi
Sorry, my last comment was incorrect. >2. To enable the name of hyperlink target, you need to call >`self.state.document.note_implicit_target(container_node)`. Please use `note_explicit_target()` instead. You can see the difference between implicit and explicit targets here: https://docutils.sour