removing examples prototype
MODIFY
docs/source/conf.py
docs/source/conf.py
@@ -187,32 +187,3 @@ epub_copyright = copyright
# A list of files that should not be packed into the epub file.
epub_exclude_files = ['search.html']
-
-# Update the example_repos text file
-# import requests
-#
-# config_files = ['start', 'postBuild', 'apt.txt', 'runtime.txt',
-# 'environment.yml', 'requirements.txt', 'setup.py',
-# 'REQUIRE', 'install.R', 'Dockerfile']
-# config_dict = {ii: [] for ii in config_files}
-# repos = requests.get('https://api.github.com/orgs/jupyterhub/repos').json()
-# repo_names = [ii['full_name'].split('/')[-1] for ii in repos]
-# repo_descriptions = {name: repo['description'] for repo, name in zip(repos, repo_names)}
-#
-# files = {}
-# for repo_name in repo_names:
-# this_files = requests.get('https://api.github.com/repos/binder-examples/{}/contents'.format(repo_name)).json()
-# for ifile in this_files:
-# if ifile['name'] in config_dict:
-# config_dict[ifile['name']].append(repo_name)
-#
-# s = ''
-# for file_name, repos in config_dict.items():
-# header_chars = '=' * len(file_name)
-# s = '{}\n{}\n\n'.format(file_name, header_chars)
-# for repo_name in repos:
-# this_url = "https://github.com/binder-examples/{}".format(repo_name)
-# this_desc = repo_descriptions['repo_name']
-# s += '`{} <{}>`_\n'.format(this_desc, this_url)
-# with open('example_repos.txt', 'w') as ff:
-# ff.write(s)

DELETE
docs/source/examples.rst
-.. _examples:
-
-======================================
-Example repositories using repo2docker
-======================================
-
-This page contains links to example repositories for each of the repo2docker
-configuration files.

MODIFY
docs/source/index.rst
docs/source/index.rst
@@ -27,7 +27,6 @@ Please report `Bugs <https://github.com/jupyter/repo2docker/issues>`_,
:caption: Configuration files and examples
config_files
- examples
.. toctree::
:maxdepth: 1

removing examples prototype