abstract property should no be part of the header name. We instead should call it only the attribute name, and then set something like Modifiers: abstract. Probably leave off property, but confirm what we do when it's just a property for an inline class set up with .. autoclass:: rather than one generated with .. autosummary::.
This Sphinx was generated from this code:
@property
@abstractmethod
def evolved_time(self) -> float:
"""Returns the current evolution time."""
@property
@abstractmethod
def conjugate(self) -> bool:
"""Returns whether this time-evolver instance acts on the right-hand side."""
The docs in https://github.com/Qiskit/documentation/pull/2328 have an abstract property. In Sphinx, it renders like this:
In our repo, it renders like this:
abstract property
should no be part of the header name. We instead should call it only the attribute name, and then set something likeModifiers: abstract
. Probably leave off property, but confirm what we do when it's just a property for an inline class set up with.. autoclass::
rather than one generated with.. autosummary::
.This Sphinx was generated from this code: