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.
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
Fix Sphinx-execution & other minor circuit updates #5269
Fix Sphinx-execution & other minor circuit updates #5269
Changes from 3 commits
e398b75
352113e
61f0e2e
3bef876
05ec100
ecfc77c
8864c06
f507103
9509a0a
5eaa6c6
af746a6
257c16b
bf06c39
acf56d1
3500941
713b4d1
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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 don't actually think this is a valid docs link right now. I'm not able to find this path in the documentation https://qiskit.org/documentation/apidoc/visualization.html it probably means we need to add this to the docs first.
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.
That just means adding it in the
__init__
docstring or do I also need to create a new apidocs file?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 referenced the module for now, and added the module to the
__init__
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.
Yeah, you just need it in the
qiskit.visualization
__init__
module. There's no need to add a new apidocs.rst unless you want to create a new top page in the docs tree. (which for qcstyle I don't think makes sense, at least not yet until we improve the interface around it).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 think we might need to add some additional setup or docstrings to make this work. Looking at the rendered output from sphinx of this it doesn't contain any real details: