From 6c190aa8a427ba692a6559fa9fe8f640107b590a Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Thu, 1 Oct 2015 10:17:07 -0400 Subject: [PATCH] updated ansible-doc to ignore more stuff that has been added to the module repos --- lib/ansible/cli/doc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/cli/doc.py b/lib/ansible/cli/doc.py index 5864b73b50..0c0b49936f 100644 --- a/lib/ansible/cli/doc.py +++ b/lib/ansible/cli/doc.py @@ -35,8 +35,8 @@ from ansible.utils import module_docs class DocCLI(CLI): """ Vault command line class """ - BLACKLIST_EXTS = ('.pyc', '.swp', '.bak', '~', '.rpm') - IGNORE_FILES = [ "COPYING", "CONTRIBUTING", "LICENSE", "README", "VERSION"] + BLACKLIST_EXTS = ('.pyc', '.swp', '.bak', '~', '.rpm', '.md', '.txt') + IGNORE_FILES = [ "COPYING", "CONTRIBUTING", "LICENSE", "README", "VERSION", "GUIDELINES", "test-docs.sh"] def __init__(self, args, display=None):