From 3f8aa8aec5efe36fbecd8205f08139879a2d6c71 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 19 Jun 2013 22:37:09 -0400 Subject: [PATCH] Fix up some module docs formatting errors. --- hacking/module_formatter.py | 2 ++ library/cloud/digital_ocean | 2 +- library/cloud/rds | 7 ++++--- library/system/service | 2 +- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py index e16575676e7..732acbdb0a8 100755 --- a/hacking/module_formatter.py +++ b/hacking/module_formatter.py @@ -63,6 +63,8 @@ def latex_ify(text): def html_ify(text): + # print "DEBUG: text=%s" % text + t = cgi.escape(text) t = _ITALIC.sub("" + r"\1" + "", t) t = _BOLD.sub("" + r"\1" + "", t) diff --git a/library/cloud/digital_ocean b/library/cloud/digital_ocean index abd9b9bd62b..cf803340981 100644 --- a/library/cloud/digital_ocean +++ b/library/cloud/digital_ocean @@ -53,7 +53,7 @@ options: - Numeric, this is the id of the image you would like the droplet created with. region_id: description: - - Numeric, this is the id of the region you would like your server in IE: US/Amsterdam. + - "Numeric, this is the id of the region you would like your server" ssh_key_ids: description: - Optional, comma separated list of ssh_key_ids that you would like to be added to the server diff --git a/library/cloud/rds b/library/cloud/rds index a0c67ed8902..eb600b5e867 100644 --- a/library/cloud/rds +++ b/library/cloud/rds @@ -23,10 +23,11 @@ description: options: command: description: - - Specifies the action to take. Must be one of: create | replicate | delete | facts | modify + - Specifies the action to take. required: true default: null aliases: [] + choices: [ 'create', 'replicate', 'delete', 'facts', 'modify' ] instance_name: description: - Database instance identifier. @@ -142,7 +143,7 @@ options: aliases: [] maint_window: description: - - Maintenance window in format of ddd:hh24:mi-ddd:hh24:mi. (Example: Mon:22:00-Mon:23:15) If not specified then a random maintenance window is assigned. Used only when command=create or command=modify. + - "Maintenance window in format of ddd:hh24:mi-ddd:hh24:mi. (Example: Mon:22:00-Mon:23:15) If not specified then a random maintenance window is assigned. Used only when command=create or command=modify." required: false default: null aliases: [] @@ -154,7 +155,7 @@ options: aliases: [] backup_retention: description: - - Number of days backups are retained. Set to 0 to disable backups. Default is 1 day. Valid range: 0-35. Used only when command=create or command=modify. + - "Number of days backups are retained. Set to 0 to disable backups. Default is 1 day. Valid range: 0-35. Used only when command=create or command=modify." required: false default: null aliases: [] diff --git a/library/system/service b/library/system/service index 179e74bc41b..0a1ac6d7d35 100644 --- a/library/system/service +++ b/library/system/service @@ -58,7 +58,7 @@ options: required: false default: 'default' description: - - For OpenRC init scripts (ex: Gentoo) only. The runlevel that this service belongs to. + - "For OpenRC init scripts (ex: Gentoo) only. The runlevel that this service belongs to." arguments: description: - Additional arguments provided on the command line