Use inherited-members: true in autodoc_default_options to ensure documentation of inherited actions

This commit is contained in:
Fabio Manganiello 2021-11-15 01:05:53 +01:00
parent adb9672989
commit ea3b49a17f
Signed by: blacklight
GPG key ID: D90FBA7F76362774
2 changed files with 7 additions and 1 deletions

View file

@ -195,6 +195,10 @@ intersphinx_mapping = {'https://docs.python.org/': None}
# If true, `todo` and `todoList` produce output, else they produce nothing. # If true, `todo` and `todoList` produce output, else they produce nothing.
todo_include_todos = True todo_include_todos = True
autodoc_default_options = {
'inherited-members': True,
}
autodoc_mock_imports = ['googlesamples.assistant.grpc.audio_helpers', autodoc_mock_imports = ['googlesamples.assistant.grpc.audio_helpers',
'google.assistant.embedded', 'google.assistant.embedded',
'google.assistant.library', 'google.assistant.library',

View file

@ -20,7 +20,9 @@ class JSONAble(ABC):
class Message(object): class Message(object):
""" Message generic class """ """
Message generic class
"""
class Encoder(json.JSONEncoder): class Encoder(json.JSONEncoder):
@staticmethod @staticmethod