-
Notifications
You must be signed in to change notification settings - Fork 67
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
Bad GitHub source code link in API docs when decorator used #2060
Comments
Can you assign this to me if its okay? I can resolve this... |
@Shivansh20128: sure, though roughly how are you planning to do that? It seems on the surface to me that the bug will be related to how the public-documentation scraper (in Qiskit/documentation) determines the source code for an object, rather than something in this repository. |
Hi @jakelishman |
Two points:
It's still super worthwhile to get it fixed, and thanks for pointing it out. |
Ohh. In that case, you can remove me from this issue for someone else to do it. I don't think I can make the required changes to the script at this stage. I have just started contributing here. |
Thanks @Shivansh20128 for warning us about this! I'll look into it. |
Note this also affects other pages in visualization, including but not limited to: |
https://docs.quantum.ibm.com/api/qiskit/dev/qiskit.circuit.BreakLoopOp#assemble is also broken, which has a deprecated decorator. The issue seems to be when you use a decorator. |
Environment
What is happening?
The link for the GitHub source code redirects to the wrong file. See here.
The Github link should redirect to the source code got dag_drawer function, but it is taking us to this link instead.
How can we reproduce the issue?
See the API Docs.
What should happen?
The GitHub link in the API docs should take us to the source code of dag_drawer, which is here.
Any suggestions?
Update the link to the source code.
The text was updated successfully, but these errors were encountered: