diff --git a/RELEASE_NOTES.rst b/RELEASE_NOTES.rst index bc27c58e..521499fc 100644 --- a/RELEASE_NOTES.rst +++ b/RELEASE_NOTES.rst @@ -9,8 +9,9 @@ Release notes * ``autohelp.py``: Improve sanitizer, better support for i18n in projects, allow setting of title name for tables. * ``autohelp-wrapper``: Smarter handling of the manuals repo and environment - setup, add support for the ``create`` subcommand, add support for - offline/fast operation. + setup, add support for the ``create`` subcommand. +* ``autohelp-wrapper``: Add support for offline/fast operation. +* ``autohelp-wrapper``: Add a module blacklisting mechanism. * ``diff_branches.py``: Updated output format. 0.18.1 diff --git a/autogenerate_config_docs/autohelp.py b/autogenerate_config_docs/autohelp.py index 4a5ccea6..1f85ea58 100755 --- a/autogenerate_config_docs/autohelp.py +++ b/autogenerate_config_docs/autohelp.py @@ -37,6 +37,11 @@ from hooks import HOOKS # noqa EXTENSIONS = ['oslo.messaging', 'oslo.db'] +IGNORE = ['trove.guestagent.datastore.postgresql.manager', + 'trove.guestagent.datastore.postgresql.service.root', + 'trove.guestagent.datastore.postgresql.service.users', + 'trove.guestagent.datastore.postgresql.service.database'] + BASE_XML = ''' @@ -127,6 +132,8 @@ def import_modules(repo_location, package_name, verbose=0): modname = '.'.join(modname) if modname.endswith('.__init__'): modname = modname[:modname.rfind(".")] + if modname in IGNORE: + continue try: module = importlib.import_module(modname) if verbose >= 1: