diff --git a/example_docs/api_example/electron.py b/example_docs/api_example/electron.py index eb1360fc..99013717 100644 --- a/example_docs/api_example/electron.py +++ b/example_docs/api_example/electron.py @@ -14,6 +14,11 @@ class Electron: from api_example import Electron ELECTRON = Electron(size="2GB", name="QuantumComputing") + + Attributes: + + size (str): How big the Electron is. + name: What the Electron is called. """ # Regression test for https://github.com/Qiskit/qiskit_sphinx_theme/issues/50. diff --git a/tests/js/tests.js-snapshots/api-docs-class-page-1-linux.png b/tests/js/tests.js-snapshots/api-docs-class-page-1-linux.png index 98f73250..e7030099 100644 Binary files a/tests/js/tests.js-snapshots/api-docs-class-page-1-linux.png and b/tests/js/tests.js-snapshots/api-docs-class-page-1-linux.png differ