-
Notifications
You must be signed in to change notification settings - Fork 163
Test API generation with a Sphinx 9.1.0 artifact #4605
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
base: main
Are you sure you want to change the base?
Conversation
| ### run | ||
|
|
||
| <Function id="qiskit.primitives.BaseEstimatorV2.run" github="https://github.com/Qiskit/qiskit/tree/main/qiskit/primitives/base/base_estimator.py#L78-L93" signature="run(pubs, *, precision=None)" modifiers="abstract"> | ||
| <Function id="qiskit.primitives.BaseEstimatorV2.run" github="https://github.com/Qiskit/qiskit/tree/main/qiskit/primitives/base/base_estimator.py#L78-L93" signature="run(pubs, *, precision=None)" modifiers="abstractmethod"> |
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.
New abstractmethod modifier
| ##### new | ||
|
|
||
| <Function id="qiskit.circuit.classical.expr.Var.new" signature="new(ty)"> | ||
| <Function id="qiskit.circuit.classical.expr.Var.new" signature="new(name, ty)" modifiers="classmethod"> |
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.
New classmethod modifier
| #### ExperimentalFeatures | ||
|
|
||
| <Class id="qiskit.qasm3.ExperimentalFeatures" github="https://github.com/Qiskit/qiskit/tree/main/qiskit/qasm3/experimental.py#L21-L70" signature="qiskit.qasm3.ExperimentalFeatures(value)" modifiers="class"> | ||
| <Class id="qiskit.qasm3.ExperimentalFeatures" github="https://github.com/Qiskit/qiskit/tree/main/qiskit/qasm3/experimental.py#L21-L70" signature="qiskit.qasm3.ExperimentalFeatures(*values)" modifiers="class"> |
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.
The signature arguments are now positional lists in some cases
| ### name | ||
|
|
||
| <Attribute id="qiskit.circuit.library.GRZ.name" attributeTypeHint="str"> | ||
| <Attribute id="qiskit.circuit.library.GRZ.name"> |
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.
The type hint was missing from the HTML compared to other artifacts. Specifically this part:
<a class="reference external" href="https://docs.python.org/3/library/stdtypes.html#str" title="(in Python v3.14)"><span class="pre">str</span></a>
Builds off #4603
This PR is a test to verify that the API generation script can generate the docs from Sphinx v9 artifacts. See Qiskit/qiskit#15615
The generation can be found in 0742f01