File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def get_json(url):
64
64
except HTTPError as e :
65
65
if "X-RateLimit-Remaining" in e .headers and e .headers ["X-RateLimit-Remaining" ] == '0' :
66
66
print ("Exceeded the GitHub API rate limit; see the instructions in " +
67
- "dev/merge_spark_pr .py to configure an OAuth token for making authenticated " +
67
+ "dev/gendoc .py to configure an OAuth token for making authenticated " +
68
68
"GitHub requests." , sys .stderr )
69
69
else :
70
70
print ("Unable to fetch URL, exiting: %s" % url , sys .stderr )
@@ -88,7 +88,7 @@ def list_releases_to_document(cur_version):
88
88
def gen_release_notes (path ):
89
89
"""
90
90
Generate reStructuredText files for "Release Notes". It generates 'index.rst' file and
91
- each rst file for each version's release note. under 'whatsnew' directory.
91
+ each rst file for each version's release note under 'whatsnew' directory.
92
92
The contents are from Github release notes.
93
93
"""
94
94
whatsnew_dir = "%s/whatsnew" % path
Original file line number Diff line number Diff line change 19
19
20
20
21
21
def gendoc ():
22
- """Load and generate reStructuredText files for release notes."""
22
+ """Get releases from Github and generate reStructuredText files for release notes."""
23
23
dev_dir = "%s/../../dev" % os .path .dirname (os .path .abspath (__file__ ))
24
24
spec = importlib .util .spec_from_file_location ("gendoc" , "%s/gendoc.py" % dev_dir )
25
25
gendoc = importlib .util .module_from_spec (spec )
You can’t perform that action at this time.
0 commit comments