-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Use sphinx.ext.linkcode
for more precise source code links
#11851
Use sphinx.ext.linkcode
for more precise source code links
#11851
Commits on Feb 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 099636d - Browse repository at this point
Copy the full SHA 099636dView commit details
Commits on Feb 21, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 00b05e7 - Browse repository at this point
Copy the full SHA 00b05e7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a20ad5c - Browse repository at this point
Copy the full SHA a20ad5cView commit details -
Add section header for source code links
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 2f94288 - Browse repository at this point
Copy the full SHA 2f94288View commit details -
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1d5c34d - Browse repository at this point
Copy the full SHA 1d5c34dView commit details -
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1849ce1 - Browse repository at this point
Copy the full SHA 1849ce1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cca9b04 - Browse repository at this point
Copy the full SHA cca9b04View commit details -
Merge branch 'mlapson/switch-to-sphinx-ext-linkcode' of https://githu…
…b.com/melechlapson/qiskit into mlapson/switch-to-sphinx-ext-linkcode
Configuration menu - View commit details
-
Copy full SHA for 5bd18cd - Browse repository at this point
Copy the full SHA 5bd18cdView commit details -
Added a method to determine the GitHub branch
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b985ba6 - Browse repository at this point
Copy the full SHA b985ba6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 914d2cd - Browse repository at this point
Copy the full SHA 914d2cdView commit details -
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 1deb939 - Browse repository at this point
Copy the full SHA 1deb939View commit details -
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for b84b399 - Browse repository at this point
Copy the full SHA b84b399View commit details -
Try to fix error for contextlib file
We got this stacktrace: Traceback (most recent call last): File "/home/vsts/work/1/s/.tox/docs/lib/python3.8/site-packages/sphinx/events.py", line 96, in emit results.append(listener.handler(self.app, *args)) File "/home/vsts/work/1/s/.tox/docs/lib/python3.8/site-packages/sphinx/ext/linkcode.py", line 55, in doctree_read uri = resolve_target(domain, info) File "/home/vsts/work/1/s/docs/conf.py", line 216, in linkcode_resolve file_name = PurePath(full_file_name).relative_to(repo_root) File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/pathlib.py", line 908, in relative_to raise ValueError("{!r} does not start with {!r}" ValueError: '/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/contextlib.py' does not start with '/home/vsts/work/1/s' We shouldn't even attempt to generate a link for the file contextlib.py
Configuration menu - View commit details
-
Copy full SHA for 01e4ca6 - Browse repository at this point
Copy the full SHA 01e4ca6View commit details -
Try to fix error for Jenkins run #20240221.52
New build failed with this stacktrace: Traceback (most recent call last): File "/home/vsts/work/1/s/.tox/docs/lib/python3.8/site-packages/sphinx/events.py", line 96, in emit results.append(listener.handler(self.app, *args)) File "/home/vsts/work/1/s/.tox/docs/lib/python3.8/site-packages/sphinx/ext/linkcode.py", line 55, in doctree_read uri = resolve_target(domain, info) File "/home/vsts/work/1/s/docs/conf.py", line 215, in linkcode_resolve full_file_name = inspect.getsourcefile(obj) File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/inspect.py", line 696, in getsourcefile filename = getfile(object) File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/inspect.py", line 665, in getfile raise TypeError('{!r} is a built-in class'.format(object)) TypeError: <class 'builtins.CustomClassical'> is a built-in class So I added a condition that the obj should not be a built-in
Configuration menu - View commit details
-
Copy full SHA for 25ff4df - Browse repository at this point
Copy the full SHA 25ff4dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ace069b - Browse repository at this point
Copy the full SHA ace069bView commit details
Commits on Feb 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5420982 - Browse repository at this point
Copy the full SHA 5420982View commit details -
Configuration menu - View commit details
-
Copy full SHA for d60bbf4 - Browse repository at this point
Copy the full SHA d60bbf4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17881d4 - Browse repository at this point
Copy the full SHA 17881d4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9330e45 - Browse repository at this point
Copy the full SHA 9330e45View commit details -
Configuration menu - View commit details
-
Copy full SHA for ab8dad0 - Browse repository at this point
Copy the full SHA ab8dad0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6ef1f68 - Browse repository at this point
Copy the full SHA 6ef1f68View commit details -
Configuration menu - View commit details
-
Copy full SHA for b45113b - Browse repository at this point
Copy the full SHA b45113bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a3e5297 - Browse repository at this point
Copy the full SHA a3e5297View commit details -
Merge branch 'mlapson/switch-to-sphinx-ext-linkcode' of https://githu…
…b.com/melechlapson/qiskit into mlapson/switch-to-sphinx-ext-linkcode
Configuration menu - View commit details
-
Copy full SHA for e3382e7 - Browse repository at this point
Copy the full SHA e3382e7View commit details
Commits on Feb 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 825e02a - Browse repository at this point
Copy the full SHA 825e02aView commit details
Commits on Mar 7, 2024
-
Merge branch 'main' of github.com:Qiskit/qiskit-terra into mlapson/sw…
…itch-to-sphinx-ext-linkcode
Configuration menu - View commit details
-
Copy full SHA for 51f4bcb - Browse repository at this point
Copy the full SHA 51f4bcbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ab7f411 - Browse repository at this point
Copy the full SHA ab7f411View commit details -
Merge branch 'mlapson/switch-to-sphinx-ext-linkcode' of github.com:me…
…lechlapson/qiskit into mlapson/switch-to-sphinx-ext-linkcode
Configuration menu - View commit details
-
Copy full SHA for 2a28edb - Browse repository at this point
Copy the full SHA 2a28edbView commit details
Commits on Mar 20, 2024
-
Configuration menu - View commit details
-
Copy full SHA for cde30ef - Browse repository at this point
Copy the full SHA cde30efView commit details
Commits on Mar 21, 2024
-
Apply suggestions from code review
Co-authored-by: Eric Arellano <14852634+Eric-Arellano@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 5545bc8 - Browse repository at this point
Copy the full SHA 5545bc8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c95384 - Browse repository at this point
Copy the full SHA 7c95384View commit details
Commits on Apr 4, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 5b74a03 - Browse repository at this point
Copy the full SHA 5b74a03View commit details -
Merge branch 'main' of github.com:Qiskit/qiskit-terra into mlapson/sw…
…itch-to-sphinx-ext-linkcode
Configuration menu - View commit details
-
Copy full SHA for 8a805da - Browse repository at this point
Copy the full SHA 8a805daView commit details -
Clarify docs_deploy GitHub logic
1. Remove misleading PR conditional. This worfklow doesn't even run in PRs. It was bad copy-pasta from the runtime repo 2. Clarify why we point tag builds to their stable branch name
Configuration menu - View commit details
-
Copy full SHA for abf4871 - Browse repository at this point
Copy the full SHA abf4871View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3386c4c - Browse repository at this point
Copy the full SHA 3386c4cView commit details
Commits on Apr 5, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 614e8f8 - Browse repository at this point
Copy the full SHA 614e8f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 19d052d - Browse repository at this point
Copy the full SHA 19d052dView commit details