Skip to content

Commit 6e40ffe

Browse files
committed
Fix README missing message and docstring typos
1 parent 13be3c9 commit 6e40ffe

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

libraries/constants.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@
348348

349349
# This constant is for library-versions missing a README
350350
README_MISSING = (
351-
"⚠️ This library has no README.md or library-details.adoc; "
351+
"⚠️ This library has no README file or library-detail.adoc; "
352352
"consider contributing one."
353353
)
354354

libraries/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,9 @@ def save(self, *args, **kwargs):
335335
def get_description(self, client, tag="develop"):
336336
"""Get description from the appropriate file on GitHub.
337337
338-
For more recent versions, that will be `/doc/library-details.adoc`.
338+
For more recent versions, that will be `/doc/library-detail.adoc`.
339339
For older versions, or libraries that have not adopted the adoc file,
340-
that will be `/README.md`.
340+
that will be `/README.md` or `/README.adoc`.
341341
"""
342342
content = None
343343
# File paths/names where description data might be stored.

0 commit comments

Comments
 (0)