This repository was archived by the owner on Aug 19, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 731
Fix Sphinx docs issues with extlinks #1743
Merged
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
a40a25b
WIP: debug import failure for dagcircuits.exceptions
Eric-Arellano 7636981
Merge branch 'master' of https://github.com/Qiskit/qiskit-metapackage…
Eric-Arellano fd8c1b1
Revert "WIP: debug import failure for dagcircuits.exceptions"
Eric-Arellano 7440da8
Try double backticks
Eric-Arellano a4a72c2
Fix issue with extlink
Eric-Arellano 8819060
Merge branch 'master' of https://github.com/Qiskit/qiskit-metapackage…
Eric-Arellano 3415c0e
Fix loading of versionutils
Eric-Arellano e13a773
Merge branch 'master' of https://github.com/Qiskit/qiskit-metapackage…
Eric-Arellano 46d00c1
Revert maintainers guide change for now
Eric-Arellano 38c4687
Merge branch 'master' of https://github.com/Qiskit/qiskit-metapackage…
Eric-Arellano bd655bd
Add Terra back
Eric-Arellano 22a181b
Merge branch 'master' into fix-exceptions-import
1ucian0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -128,9 +128,12 @@ | |
| # -- Configuration for extlinks extension ------------------------------------ | ||
| # Refer to https://www.sphinx-doc.org/en/master/usage/extensions/extlinks.html | ||
| extlinks = { | ||
| "pull_terra": ("https://github.com/Qiskit/qiskit-terra/pull/%s", "#"), | ||
| "pull_aer": ("https://github.com/Qiskit/qiskit-aer/pull/%s", "#"), | ||
| "pull_ibmq-provider": ("https://github.com/Qiskit/qiskit-ibmq-provider/pull/%s", "#"), | ||
| "pull_terra": ("https://github.com/Qiskit/qiskit-terra/pull/%s", "qiskit-terra #%s"), | ||
| "pull_aer": ("https://github.com/Qiskit/qiskit-aer/pull/%s", "qiskit-aer #%s"), | ||
| "pull_ibmq-provider": ( | ||
| "https://github.com/Qiskit/qiskit-ibmq-provider/pull/%s", | ||
| "qiskit-ibmq-provider #%s", | ||
| ), | ||
|
Comment on lines
+132
to
+136
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. These are used in release_notes.py, like this: This changes the text that we will render. Before,
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I didn't know this extension exist. It's quite handy. We should use it more. |
||
| } | ||
|
|
||
| # -- Options for HTML output ------------------------------------------------- | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found many release notes refer to terra issues but the links are normal links. See https://qiskit.org/documentation/release_notes.html#bug-fixes
For example
#9798 <https://github.com/Qiskit/qiskit-terra/issues/9798>in:https://github.com/Qiskit/qiskit-terra/blob/main/releasenotes/notes/0.24/fix-9798-30c0eb0e5181b691.yaml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we keep others, I think we should keep
pull_terraand advertise the usage of this plugin. If not, perhaps we can change wherepull_aerandpull_ibmq-providerare used to normal links and get rid of the extlinks altogether.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, added back.