From 31d0060de825d80424099ae05b128d6abfc22f05 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Wed, 25 Dec 2013 11:45:27 -0500 Subject: [PATCH] Standardized on yml suffix, so fix this example content filename. --- examples/{DOCUMENTATION.yaml => DOCUMENTATION.yml} | 0 hacking/module_formatter.py | 8 +++++--- 2 files changed, 5 insertions(+), 3 deletions(-) rename examples/{DOCUMENTATION.yaml => DOCUMENTATION.yml} (100%) diff --git a/examples/DOCUMENTATION.yaml b/examples/DOCUMENTATION.yml similarity index 100% rename from examples/DOCUMENTATION.yaml rename to examples/DOCUMENTATION.yml 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