Windows: Fix documentation strings to be raw strings (#20301)

* Windows: Fix documentation strings to be raw strings

Especially when using Windows paths they easily get confused as escaped
sequences or unicode characters. So by default use raw strings

This fixes #20295

* Fixed as hinted by @abadger

And some trailing whitespace fixes.
This commit is contained in:
Dag Wieers 2017-01-19 02:57:33 +01:00 committed by Matt Davis
commit 5b9eb92722
40 changed files with 161 additions and 161 deletions

View file

@ -25,7 +25,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
'supported_by': 'community',
'version': '1.0'}
DOCUMENTATION = """
DOCUMENTATION = r'''
---
module: win_uri
version_added: "2.1"
@ -73,9 +73,9 @@ options:
- False
default: True
author: Corwin Brown (@blakfeld)
"""
'''
EXAMPLES = """
EXAMPLES = r'''
- name: Perform a GET and Store Output
win_uri:
url: http://example.com/endpoint
@ -99,9 +99,9 @@ EXAMPLES = """
url: http://www.somesite.com
method: POST
body: "{ 'some': 'json' }"
"""
'''
RETURN = """
RETURN = r'''
url:
description: The Target URL
returned: always
@ -153,4 +153,4 @@ raw_content_length:
returned: success
type: int
sample: 54447
"""
'''