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
Links work, but "Could not match transformation" warning is shown #96
Comments
Oh that might just be the double call on line 5! Haven't probably taken into account that it's perfectly valid as well. So now we're trying to link the empty string between the calls. |
Yep, that's it, and the second call target doesn't even have to be valid type hint wise. As to your other errors: I suspect updating the Python version of your RTD build will fix them, because the AST module provides better line number ranges for multiline statements from 3.8+ But let me know if the issues persist! |
Thanks for fixing this so quickly!
Indeed! RTD was using Python 3.7, but I just found out that there is a new way to specify the Python version on RTD: https://docs.readthedocs.io/en/stable/config-file/v2.html#build-tools-python With this I can use Python 3.10 and the additional warnings are gone! BTW, the warnings refer to nonsensical files, see #99. |
When enabling the
sphinx_codeautolink
extension at AudioSceneDescriptionFormat/splines#6, I'm getting this warning (see log: https://github.com/AudioSceneDescriptionFormat/splines/runs/4820248267):I'm getting the same warning locally, on Github Actions and on RTD (https://readthedocs.org/projects/splines/builds/15774840/), however, the generated HTML page seems to contain the correct links: https://splines--6.org.readthedocs.build/en/6/euclidean/piecewise-monotone.html#More-Examples
On RTD, I'm getting additional warnings (which I don't get locally nor on Github Actions):
Again, the links seem to be working fine:
https://splines--6.org.readthedocs.build/en/6/euclidean/catmull-rom-uniform.html#Basis-Polynomials
https://splines--6.org.readthedocs.build/en/6/rotation/end-conditions-natural.html#Examples
If the example is too complicated to reproduce, I can try to come up with a more minimal example.
The text was updated successfully, but these errors were encountered: