diff --git a/docs/_templates/autosummary/class.rst b/docs/_templates/autosummary/class.rst index a2481c8..175b08f 100644 --- a/docs/_templates/autosummary/class.rst +++ b/docs/_templates/autosummary/class.rst @@ -10,6 +10,7 @@ .. autoclass:: {{ objname }} :no-members: :no-inherited-members: + :no-special-members: :show-inheritance: {% block attributes_summary %} diff --git a/docs/_templates/autosummary/function.rst b/docs/_templates/autosummary/function.rst deleted file mode 100644 index e03319b..0000000 --- a/docs/_templates/autosummary/function.rst +++ /dev/null @@ -1,5 +0,0 @@ -{{ objname | escape | underline}} - -.. currentmodule:: {{ module }} - -.. auto{{ objtype }}:: {{ objname }} diff --git a/docs/conf.py b/docs/conf.py index f49c5eb..6106d5d 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -74,16 +74,16 @@ .. |version| replace:: {release} """ -# Options for autodoc. These reflect the values from Terra. +# Options for autodoc. These reflect the values from Qiskit SDK and Runtime. autosummary_generate = True autosummary_generate_overwrite = False autoclass_content = "both" autodoc_typehints = "description" -autodoc_typehints_description_target = "documented_params" -autodoc_member_order = "bysource" autodoc_default_options = { "inherited-members": None, } +napoleon_google_docstring = True +napoleon_numpy_docstring = False # This adds numbers to the captions for figures, tables,