diff options
author | Michael DeHaan <michael@ansibleworks.com> | 2013-12-25 11:45:27 -0500 |
---|---|---|
committer | Michael DeHaan <michael@ansibleworks.com> | 2013-12-25 13:24:29 -0500 |
commit | 31d0060de825d80424099ae05b128d6abfc22f05 (patch) | |
tree | f0a2ca863af8cdf43a900ce65f9fd53cc8d50ed3 /hacking | |
parent | 10009b0d3fb4321df105b7a10b0a46e465e230fe (diff) | |
download | ansible-31d0060de825d80424099ae05b128d6abfc22f05.tar.gz |
Standardized on yml suffix, so fix this example content filename.
Diffstat (limited to 'hacking')
-rwxr-xr-x | hacking/module_formatter.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/hacking/module_formatter.py b/hacking/module_formatter.py index 7066589236..24dc3bdce1 100755 --- a/hacking/module_formatter.py +++ b/hacking/module_formatter.py @@ -41,10 +41,12 @@ TO_OLD_TO_BE_NOTABLE = 1.0 # Get parent directory of the directory this script lives in MODULEDIR=os.path.abspath(os.path.join( os.path.dirname(os.path.realpath(__file__)), os.pardir, 'library' - )) +)) + +# The name of the DOCUMENTATION template EXAMPLE_YAML=os.path.abspath(os.path.join( - os.path.dirname(os.path.realpath(__file__)), os.pardir, 'examples', 'DOCUMENTATION.yaml' - )) + os.path.dirname(os.path.realpath(__file__)), os.pardir, 'examples', 'DOCUMENTATION.yml' +)) # There is a better way of doing this! # TODO: somebody add U(text, http://foo.bar/) as described by Tim in #991 |