code: def write_temp_mkdocs_config(inconf):
    
    ignored_keys = ('gens_dir', 'pages', 'headers', 'generate', 'loader',
                    'preprocessor', 'additional_search_paths')
  
    config = {key: value for key, value in inconf.items() if key not in ignored_keys}
    config['docs_dir'] = inconf['gens_dir']
    if 'pages' in inconf:
        config['nav'] = inconf['pages']
  
    with open('mkdocs.yml', 'w') as fp:
      yaml.dump(config, fp)
  
    atexit.register(lambda: os.remove('mkdocs.yml'))
docs: Generates a configuration for MkDocs on-the-fly from the pydoc-markdown
    configuration and makes sure it gets removed when this program exists.