Skip to content
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

Reactive the viewcode extension for docs (Cherry-pick of #1312) #1315

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

Eric-Arellano
Copy link
Collaborator

We got source links working in API docs on docs.quantum.ibm.com! See Qiskit/documentation#620. To do this, we need to active sphinx.ext.viewcode.

Note that we still plan to improve this implementation in the future to have more precise links by using sphinx.ext.linkcode, tracked by Qiskit/documentation#517. This PR is to unblock the first iteration of this source links mechanism.

We got source links working in API docs on docs.quantum.ibm.com! See Qiskit/documentation#620. To do this, we need to active `sphinx.ext.viewcode`.

Note that we still plan to improve this implementation in the future to have more precise links by using `sphinx.ext.linkcode`, tracked by Qiskit/documentation#517. This PR is to unblock the first iteration of this source links mechanism.
@Eric-Arellano Eric-Arellano requested a review from kt474 January 12, 2024 15:18
@Eric-Arellano Eric-Arellano merged commit 2910ab0 into Qiskit:stable/0.17 Jan 12, 2024
16 of 17 checks passed
@Eric-Arellano Eric-Arellano deleted the cp-viewcode branch January 12, 2024 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants