diff options
author | Dag Wieers <dag@wieers.com> | 2018-09-27 20:25:38 +0200 |
---|---|---|
committer | Alicia Cozine <879121+acozine@users.noreply.github.com> | 2018-09-27 13:25:38 -0500 |
commit | 771a3983d26139261bfcd092f5b5f031bafafc77 (patch) | |
tree | ebf3cfc02cb0fb1eadb8f69c5901443aea95b40a /docs/bin | |
parent | aedcf9fed7a1d335bf4c4fe5db81238647062e2d (diff) | |
download | ansible-771a3983d26139261bfcd092f5b5f031bafafc77.tar.gz |
Docs: Keep the module index clean (#46155)
A lot of modules have a short_description with a trailing dot even
though we don't want trailing dots in the index. This change removes
it when creating the document index.
Diffstat (limited to 'docs/bin')
-rwxr-xr-x | docs/bin/plugin_formatter.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/bin/plugin_formatter.py b/docs/bin/plugin_formatter.py index 3f627bcf83..ef92ed7280 100755 --- a/docs/bin/plugin_formatter.py +++ b/docs/bin/plugin_formatter.py @@ -689,7 +689,7 @@ def main(): display.vv(key) display.vvvvv(pp.pformat(('record', record))) if record.get('doc', None): - short_desc = record['doc']['short_description'] + short_desc = record['doc']['short_description'].rstrip('.') if short_desc is None: display.warning('short_description for %s is None' % key) short_desc = '' |