def find_docs():
    'Yields files as per the whitelist.'
    loc = '../doc/source/{}.rst'
    whitelist = ['about', 'installation', 'configuration', 'commands', 'running', 'logging', 'test-anatomy', 'unittests', 'contributing']
    for fname in whitelist:
        fpath = loc.format(fname)
        if os.path.isfile(fpath):
            (yield fpath)
Yields files as per the whitelist.
def find_docs():
    
    loc = '../doc/source/{}.rst'
    whitelist = ['about', 'installation', 'configuration', 'commands', 'running', 'logging', 'test-anatomy', 'unittests', 'contributing']
    for fname in whitelist:
        fpath = loc.format(fname)
        if os.path.isfile(fpath):
            (yield fpath)