diff --git a/docs/_templates/autosummary/class.rst b/docs/_templates/autosummary/class.rst index e4d661a008..6f917320aa 100644 --- a/docs/_templates/autosummary/class.rst +++ b/docs/_templates/autosummary/class.rst @@ -17,11 +17,9 @@ .. rubric:: Attributes - .. autosummary:: - :toctree: ../stubs/ {% for item in all_attributes %} {%- if not item.startswith('_') %} - {{ name }}.{{ item }} + .. autoattribute:: {{ name }}.{{ item }} {%- endif -%} {%- endfor %} {% endif %} @@ -32,16 +30,14 @@ .. rubric:: Methods - .. autosummary:: - :toctree: ../stubs/ {% for item in all_methods %} {%- if not item.startswith('_') or item in ['__call__', '__mul__', '__getitem__', '__len__'] %} - {{ name }}.{{ item }} + .. automethod:: {{ name }}.{{ item }} {%- endif -%} {%- endfor %} {% for item in inherited_members %} {%- if item in ['__call__', '__mul__', '__getitem__', '__len__'] %} - {{ name }}.{{ item }} + .. automethod:: {{ name }}.{{ item }} {%- endif -%} {%- endfor %} diff --git a/qiskit_ibm_runtime/ibm_backend.py b/qiskit_ibm_runtime/ibm_backend.py index 7d97ebb49d..a3da57099d 100644 --- a/qiskit_ibm_runtime/ibm_backend.py +++ b/qiskit_ibm_runtime/ibm_backend.py @@ -340,7 +340,7 @@ def properties( properties of the backend. The schema for backend properties can be found in - `Qiskit/ibm-quantum-schemas + `Qiskit/ibm-quantum-schemas/backend_properties `_. Args: @@ -410,7 +410,7 @@ def defaults(self, refresh: bool = False) -> Optional[PulseDefaults]: """Return the pulse defaults for the backend. The schema for default pulse configuration can be found in - `Qiskit/ibm-quantum-schemas + `Qiskit/ibm-quantum-schemas/default_pulse_configuration `_. Args: @@ -438,7 +438,7 @@ def configuration( as its name, number of qubits, basis gates, coupling map, quantum volume, etc. The schema for backend configuration can be found in - `Qiskit/ibm-quantum-schemas + `Qiskit/ibm-quantum-schemas/backend_configuration `_. Returns: