Skip to content

Commit bf4d78c

Browse files
committed
fix typos in comments
1 parent c633d92 commit bf4d78c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dev/gendoc.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def get_json(url):
6464
except HTTPError as e:
6565
if "X-RateLimit-Remaining" in e.headers and e.headers["X-RateLimit-Remaining"] == '0':
6666
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 " +
6868
"GitHub requests.", sys.stderr)
6969
else:
7070
print("Unable to fetch URL, exiting: %s" % url, sys.stderr)
@@ -88,7 +88,7 @@ def list_releases_to_document(cur_version):
8888
def gen_release_notes(path):
8989
"""
9090
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.
9292
The contents are from Github release notes.
9393
"""
9494
whatsnew_dir = "%s/whatsnew" % path

docs/source/conf.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020

2121
def gendoc():
22-
"""Load and generate reStructuredText files for release notes."""
22+
"""Get releases from Github and generate reStructuredText files for release notes."""
2323
dev_dir = "%s/../../dev" % os.path.dirname(os.path.abspath(__file__))
2424
spec = importlib.util.spec_from_file_location("gendoc", "%s/gendoc.py" % dev_dir)
2525
gendoc = importlib.util.module_from_spec(spec)

0 commit comments

Comments
 (0)