-
-
Notifications
You must be signed in to change notification settings - Fork 167
Prefix added to reference keys in class docstrings #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hmm... these hashes were added to avoid identifier conflicts... But they should be removed by Line 224 in b4c5fd1
I initially wondered if these links have been escaped twice, but looking at the URL linked to in https://tslearn.readthedocs.io/en/stable/gen_modules/datasets/tslearn.datasets.UCR_UEA_datasets.html, I suspect not. |
So my question is: why is relabel_references not processing this node? we'd probably need to do some tracing to work it out. |
I'd love to help if I can. Do not hesitate to indicate the kind of test I could run on my side. |
I'd probably start with adding some logging in relabel_references, then
rebuilding the tslearn docs...
|
OK, it seems in my (and reathedocs') version of |
No worries! |
Likely fixed in #259. |
Unfortunately not yet released. |
It works! Thanks for your help! |
This is related to tslearn-team/tslearn#238 .
We use
numpydoc
for our documentation at tslearn and we love it! Thanks for the great tool!When we build our documentation, it seems that instances of bibliographic references in class docstrings are attached some random prefix.
Corresponding docstring is:
hence we would expect the generated key to be
[1]
not[R23f7...-1]
This does not happen when using the exact same formatting for the docstring in another place (e.g. in method docstrings). Is it expected behaviour? Is there a known fix for this?
The text was updated successfully, but these errors were encountered: