Commits

Brett Cannon committed 254340e

List in the generated README where built documentation exists.

Comments (0)

Files changed (1)

     url = 'https://brettsky@bitbucket.org/ned/coveragepy'
     directory = 'coveragepy'
     size = 133  # Includes the coverage report
+    docs = os.path.join('coverage_report', 'index.html')
 
     def build(self):
         """Run coverage over CPython."""
     url = 'http://svn.python.org/projects/peps/trunk/'
     directory = 'peps'
     size = 20
+    docs = os.path.join(directory, 'pep-0000.html')
 
     def build(self):
         """Build the PEPs."""
 
     url = 'http://hg.python.org/devguide'
     directory = 'devguide'
+    docs = os.path.join(directory, '_build', 'html', 'index.html')
 
     def build(self):
         """Build the devguide using Sphinx from CPython's docs."""
     url = 'http://hg.python.org/cpython'
     directory = 'cpython'
     size = 330  # Only docs are built
+    docs = os.path.join(directory, 'Doc', 'build', 'html', 'index.html')
 
     def create(self):
         """Clone CPython and get the necessary tools to build the
     if response not in ('Y', 'y'):
         sys.exit(0)
     else:
+        print()
         for provider in desired_providers:
             ins = provider()
             print('Fetching {} ...'.format(provider.__name__))
     with open('README', 'w') as file:
         header = 'Python-Dev In a Box: created on {}\n'
         file.write(header.format(datetime.date.today()))
+        file.write('\n')
+        file.write('Documentation indices can be found at:\n')
+        for provider in desired_providers:
+            if hasattr(provider, 'docs'):
+                file.write('  {}\n'.format(provider.docs))
     sys.exit(0)