Closed owenjonesuob closed 11 months ago
Thanks for the PR! I’ve got to say that I was briefly excited that such a short solution would exist.
But unfortunately this approach won’t work. 😞 … the srcref
attribute isn’t available for all objects, only for functions; but users can export other objects as well. ‘box’ will have to keep track of the origin of the object itself, as I originally thought.
Ah, that's a very good point!!
Interested to see how this one eventually turns out - I'll close this PR but will keep an eye on #330 😇
If we ask for help about an object exported by a module
A
, we can:A
A
to build docsB
- proceed instead with the namespace of moduleB
This is a solution to #330, but perhaps not optimal compared to the solution proposed by @klmr within in that issue.